Agilent Technologies E2094S Guía de usuario Pagina 123

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 146
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 122
Programming via LAN 5
Agilent VISA User’s Guide 123
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);
TCPIP0::myMachine::usb0[2391::1031::SN_00123
::0]::INSTR
A USB device with:
Manufacture ID = 2391
Model Code = 1031
Serial Number = 'SN_00123'
USBTMC Intfc # = 0
connected to a LAN server at hostname myMachine.
This device must use SICL-LAN protocol since USB devices are
not supported by the VXI-11 protocol.
Table 28 Example TCPIP Resource Strings
String Description
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 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 145 146

Comentarios a estos manuales

Sin comentarios