Agilent Technologies FS2010 Guía de usuario Pagina 137

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 160
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 136
Programming via LAN 5
Agilent VISA User’s Guide 137
Addressing a Session Using the TCPIP Interface Type
This sample shows one way to open a device session with a
GPIB device at primary address 23 on a remote PC that is
running a LAN server. The hostname of the remote PC is
myMachine. See Chapter 3, “Programming with VISA”, for
more information on addressing device sessions.
ViSession defaultRM, vi;.
.
viOpenDefaultRM(&defaultRM);
viOpen(defaultRM,
"TCPIP0::myMachine::gpib0,23::INSTR", VI_NULL,
VI_NULL, &vi);
.
.
viClose(vi);
viClose(defaultRM);
Using a Remote Interface for LAN Access
Agilent VISA provides three types of VISA LAN Client
interfaces, implemented in Agilent IO Libraries Suite as
remote interfaces:
Remote serial interface (ASRL VISA LAN Client)
Remote GPIB interface (GPIB VISA LAN Client)
Remote USB interface (USB VISA LAN Client)
Remote interfaces are configured using Connection Expert;
they provide virtual GPIB, serial, or USB interfaces. They
make it possible to remotely access a LAN- connected device
NOTE
A LAN session to a remote interface provides the same VISA function
support as if the interface were local, except that VXI-specific functions
are not supported over LAN.
Vista de pagina 136
1 2 ... 132 133 134 135 136 137 138 139 140 141 142 ... 159 160

Comentarios a estos manuales

Sin comentarios