3-28
3
3.7
LAN PROGRAMMING GUIDELINES
This section provides general directions for linking to the 9099 and hints for
writing LAN programs. Refer to ICS's AB80 series Application Notes and the
Appendix for additional information about programming VXI-11 devices.
3.7.1 LAN Programming and Timeouts
The VXI-11 protocol provides a way to send data packets and commands to
an instrument and to receive data back from instruments over your company
network or LAN. As with GPIB Programming, there are a couple things the
user must do before using the 9099.
Windows users should:
1. Install a VXI-11 compliant VISA Library (from NI or Agilent).
2. Define the 9099 as a VISA TCP/IP Resource.
3. Write and test the Application Program
Linux/UNIX users should:
1. Install RPC client-side support.
2. Use the system's rpcgen utility to install VXI-11 RPC.
3. Write and test the program. See AB80-3 for RPC programming
Programs written for a LAN instrument need to be organized in the following
manner:
1. Open a socket and link to the 9099 and to any other instruments.
2. Body of the test program with instrument reads, writes etc.
3. An exit routine that closes all links and sockets.
Leave the instrument links and channels open until the program is finished to
avoid unnecessary program delays and exhausting the devices' resources. Error
testing should be built into the program to verify that the called function worked
as planned. Test your commands with ICS's VXI-11 keyboard program before
adding them to your program. (See Section 3.9 for VXI11_kybd directions).
ICS also provides a Error Log Utility to read back soft errors from the 9099
during program debugging. See Section 3.10 for more information about the
ErrorLog Utility.
Example Visual Basic programs that make VISA calls are supplied on your Sup-
port CD and are available for downloading from ICS's website (www.icselect.
com). Use these programs as a starting point for your program.
Содержание 9099
Страница 20: ...1 16 1 Figure 1 1 9009 Outline Dimensions ...
Страница 24: ...1 20 1 Figure 1 3 9099 Certificate of Compliance ...
Страница 54: ...3 8 3 Figure 3 1 Status Reporting Structure Flash Configuration Reset ...
Страница 94: ...3 48 3 This page left intentionally blank ...
Страница 100: ...4 4 6 This page is left intentionally blank ...
Страница 161: ...A 49 A4 Refer to the ErrorLogger utility for the error value definitions Error Meaning 0 No error ...