A-18
A3
2. Obtain the AB80-3 application note from the ICS website. Study this ap-
plication note, but do understand that it is intended as an overview and is not
detailed. In the summary section you will note several URL references for
detailed RPC information. Skim through them to determine what information
is available should it be needed.
3. Obtain the VXI-11 RPCL from either the last 2-3 pages of the VXI-11 base
specification or from paragraph C in this Appendix. This needs to be copy/pasted
into a text file which will be fed into the rpcgen utility.
4. Use your system's rpcgen tool to process the VXI-11 RPCL definition file
you created in step-3. The result should be a .H and .C pair of files. These files
will be used by your client application to perform VXI-11 functions.
5. Study the VXI-11 functions as defined in the VXI-11 specification. In par-
ticular study the create_link, device_write and device_read. These are the core
instructions required to do simple communication with a VXI-11 device.
6. Create a simple program to execute the following steps. Following the last
step, you should have an IDN reply from the VXI-11 Device. The IDN reply
provides an ASCII string defining the instrument model information.
a) Initialize the RPC layer.
b) Execute a create_link to the 80xx or 90xx.
c) Execute a device_write of “*IDN?” to the 80xx.
d) Execute a device_read from the 80xx or 90xx.
C
VXI-11 RPCL
An ONC RPC protocol is described using RPCL. This section contains the
complete listing of the protocols for the core, abort, and interrupt channels.
RULE C.1:
A network instrument host SHALL implement the following RPCL con-
structs.
C.1
Core and Abort Channel Protocol
/* Types */
typedef long Device_Link;
enum Device_AddrFamily {
/* used by interrupts */
DEVICE_TCP,
DEVICE_UDP
};
Содержание 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 ...