National Instruments GPIB-MAC User Manual page 52

Table of Contents

Advertisement

November 1985
Examples:
PRINT #l,"rd 10 5"
LINE INPUT #l,COUNT$
PRINT
2. PRINT #l,"EOS X,13"
PRINT #l,"wrt #lO 5"
PRINT #1,"012345678"+CHR$(13)
3. PRINT #l,"eos"
response: X,13cCRxLF>
41
SECTION FOUR - FUNCTIONS
'Terminate read when <LF> is
'detected; compare all 8 bits; do
'not send EOI with <LF>.
'Read 10 bytes from device 5 into
'serial port buffer.
'Input 10 bytes from serial port
'buffer.
'Input string that indicates number
'of bytes actually read from GPIB
'of bytes that were read from the
'GPIB.
'Tell GPIB-MAC on wrt, send
'terminate when <CR> is
'detected; compare 7 bits.
'GPIB-MAC sends EOI with
'listeners that this is the last byte
'of data.
'What are the current EOS
'settings?

Advertisement

Table of Contents
loading

Table of Contents