Agilent Technologies FS2010 Guide de l'utilisateur Page 139

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 160
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 138
Programming via LAN 5
Agilent VISA User’s Guide 139
Note that if you have defined a VISA alias for a USB device
on the remote I/O server, you must either define the same
(or another) alias for the remote USB device on the client
PC, or use the full USB resource string. Alias definitions are
not shared between the remote I/O server and the client.
Addressing a Session Using a Remote Interface
In general, the rules to address a remote session are the
same as to address a local session. The only difference for a
remote session is that you use the VISA interface ID
(provided during I/O configuration via Connection Expert)
that relates to the remote interface.
The following sample shows one way to open a device
session with a GPIB device at primary address 23 on a
remote PC that is running Remote IO Server software. A
remote GPIB interface has been configured at GPIB2 to
communicate with that machine. See Chapter 3,
“Programming with VISA”, for more information on
addressing device sessions.
ViSession defaultRM, vi;.
.
viOpenDefaultRM(&defaultRM);
viOpen(defaultRM, "GPIB2::23::INSTR", VI_NULL,
VI_NULL, &vi);
.
.
viClose(vi);
viClose(defaultRM);
Vue de la page 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 159 160

Commentaires sur ces manuels

Pas de commentaire