Measurement Computing GPIB-488.2 User Manual
Page 45
Advertising

GPIB 488.2 Porting Guide
986992
IOtech to Associated MCC APIs
3-27
Send is used to send data to one GPIB device. When this routine is executed, the specified
GPIB board is addressed as a Talker, the designated GPIB device is addressed as a Listener and
the number of bytes (specified by count) in data is sent.
Values for eotmode are as follows. The constants are defined in the header file.
o NLend — Send NL (Line Feed) with EOI after last data byte.
o DABend — Send EOI with the last data byte in the string.
o NULLend — Do not mark the end of the transfer.
In the example, GPIB board 0 sends an identification query to the GPIB device at address 3.
End of data is signalled by an EOI.
Example:
Send (0, 3, "*IDN?", DABend)
Advertising