Advantech PCI-1671UP Startup Manual page 53

High-performance gpib pci interface card; high-performance gpib usb interface module
Hide thumbs Also See for PCI-1671UP:
Table of Contents

Advertisement

Chapter 3
GPIB 488.1 Library Reference
P2
0
0
0
0
For example, if the PPE byte 01101011 (hex 6B) is sent, the device will drive DIO4 true if its
IST bit = 1, or false if its IST bit = 0.
If
is 0 or represents a PPD (Parallel Poll Disable) message, the current PPE
command
(Parallel Poll Enable) configuration is cancelled. Valid PPD messages range from 70 to 7F
hex. The PPD is of a similar format to the PPE byte, for example:
7
6
0
1
Returns
will contain a 16-bit status word as described in Appendix B, IBSTA.
Ibsta
will contain an error code, if an error occurred. Contains the previous value of
Iberr
if no error occurs.
command
Usage Notes
If
boarddev
(LPE) message to
If
boarddev
addresses itself as a Talker, unlistens all devices (sends a UNL), addresses the specified device
as a Listener, and sends the PPC command followed by a PPE or PPD command.
Example
This example configures a device at PAD 2 to send DIO4 true if its IST bit = 1.
C
Programming Reference Manual
Table 3-5. Values for P2–P0 (Continued)
P1
1
1
0
0
5
4
1
0
specifies a GPIB interface board, this routine sets the board's Local Poll Enable
.
command
specifies a device, the GPIB Interface Board associated with the device
int dev2;
dev2 = ibdev (0,2,0,13,1,0);
ibppc (dev2, 0x6B);
P0
1
0
1
0
3
2
SENSE
P2
3-36
GPIB Data Line
DIO4
DIO3
DIO2
DIO1
1
0
P1
P0
GPIB-488

Advertisement

Table of Contents
loading

This manual is also suitable for:

Usb-4671

Table of Contents