Agilent Technologies E4445A Saw User Manual


 
552 Chapter6
Programming Fundamentals
Programming in C Using the VTL
Programming Fundamentals
is usually the interface type followed by a number. The following table
illustrates the format of the rsrcName for the different interface types:
The following describes the parameters used above:
board This optional parameter is used if you have more than
one interface of the same type. The default value for
board is 0.
VSI logical
address This is the logical address of the VXI instrument.
primary
address This is the primary address of the GPIB device.
secondary
address This optional parameter is the secondary address of the
GPIB device. If no secondary address is specified, none
is assumed.
INSTR This is an optional parameter that indicates that you
are communicating with a resource that is of type
INSTR, meaning instrument.
NOTE IfyouwanttobecompatiblewithfuturereleasesofVTLandVISA,you
must include the INSTR parameter in the syntax.
The following are examples of valid symbolic names:
XI0::24::INSTR Device at VXI logical address 24 that is of VISA type
INSTR.
VXI2::128 Device at VXI logical address 128, in the third VXI
system (VXI2).
GPIB-VXI0::24 A VXI device at logical address 24. This VXI device is
connected via a GPIB-VXI command module.
GPIB0::7::0 A GPIB device at primary address 7 and secondary
address 0 on the GPIB interface.
The following is an example of opening a device session with the GPIB
device at primary address23.
ViSession defaultRM, vi;
.
.
Interface Syntax
VXI VXI [board]::VXI logical address[::INSTR]
GPIB-VXI GPIB-VXI [board]::VXI logical address[::INSTR]
GPIB GPIB [board]::primary address[::secondary address][::INSTR]