National Instruments GPIB-MAC User Manual page 93

Table of Contents

Advertisement

November 1985
The timesp time limit is in effect only for the rsp
function. If a polled device fails to respond within the
amount of time indicated by timesp, the GPIB-MAC
returns an error flag.
Refer to the rsp programming message.
If you want to change only the timeout value for serial
polls, a comma must precede the serial poll timeout
value.
If you call tmo without an argument, the GPIB-MAC
returns a numeric string representing the cuxmnt timeout
settings. It records the EARG error if you specify a time
value outside the range .OOOOl to 3600.
The assignment made by this function remains in effect
until you call tmo again, call onl, or turn off the GPIB-
MAC.
Examples:
1. PRINT #l,"tmo 30"
response:
3. PRINT #l,"tmo ,l"
SECTION FOUR - FUNCTIONS
82
'Set timeout for If0 operations to 30
'seconds; leave serial poll timeout
'unchanged.
'Print current timeout settings.
'Set serial poll timeout for one second;
'leave If0 timeout unchanged.

Advertisement

Table of Contents
loading

Table of Contents