November 1985
National Instruments
Example:
‘Poll 3 devices.
response:
(device 9 did not respondwithin
the timeout period)
Read
3
responses from serial port
‘buffer.
FOR
to 2
LINE INPUT
,RESP$
‘Store each serial poll response in
‘the
SPR%.
IF
= -1 THEN
1000 ‘1000 is an error
NEXT1
‘routine.
REM Code will now interpret serial poll responses.
67
SECTION
FUNCTIONS