Time out, Trigger – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual
Page 326
![background image](https://www.manualsdir.com/files/797818/content/doc326.png)
III. COMMAND REFERENCES - 15. Command References
15A. Driver488/DRV Commands
Personal488 User’s Manual, Rev. 3.0
III-311
During
OUTPUT
, Driver488 takes the
EOL
terminator it receives from the user’s program, and replaces
it with the bus output terminator before sending it to the I/O adapter device. Conversely, when
Driver488 receives the bus input terminator, it replaces it with the
EOL
input terminator before
returning it to the user’s program. The default terminators for both input and output are normally
CR LF EOI
, which is appropriate for most bus devices.
EOI
has a different meaning when specified for input than when it is specified for output. During input,
EOI
specifies that input is terminated on detection of the
EOI
bus signal, regardless of which characters
have been received. During output,
EOI
specifies that the
EOI
bus signal is to be asserted during the
last byte transferred.
TIME OUT
SYNTAX
TIME OUT [devicename] n[.[n][n][n]]
devicename
is the name of the external device.
n[.[n][n][n]]
, the time out value, is the number of seconds to allow in the
range of
0.000
to
65535.999
. If zero is specified, ignore time outs. A
leading
0
must be used for time out intervals below
1.000
second.
RESPONSE
None
MODE
Any
BUS STATES
None
SEE ALSO
RESET, MAKE DEVICE
EXAMPLES
PRINT#1,"TIME OUT10"
Reset to default (10 seconds).
PRINT#1,"TIME OUT0.5"
Set time out interval to one-half second.
PRINT#1,"TIME OUT3600"
Wait an hour before a time out error.
PRINT#1,"TIME OUT0"
Ignore time outs.
The
TIME OUT
command sets the number of seconds that Driver488 waits for a transfer before
declaring a time out error. Driver488 checks for time out errors on every byte it transfers, except in the
case of
CONTINUE
transfers. While the first byte of a
CONTINUE
transfer is checked for time out errors,
subsequent bytes are not. The user’s program must check for timely completion of a
CONTINUE
transfer.
Time out checking may be suppressed by specifying time out after zero seconds. The default time out
is
10
seconds. The time out interval may be specified to the nearest
0.001
seconds. However, due to
the limitations of the computer, the actual interval is always a multiple of
0.055
seconds (55
milliseconds) and there is an uncertainty of
0.055
seconds in the actual time out interval. Time out
intervals from
0.010
to
0.110
seconds are rounded to
0.110
seconds. Larger intervals are rounded
to the nearest multiple of
0.055
seconds (e.g.,
0.165
,
0.220
,
0.275
seconds, etc.).
TRIGGER
SYNTAX
TRIGGER [addr[,addr...]]
addr
is a device address (primary with optional secondary) or an external device
name to be triggered.
RESPONSE
None
MODE
CA
BUS STATES
ATN
•GET (without addr)
ATN
•UNL, MTA, LAG, GET (with addr)
SEE ALSO
STATUS, SEND, TriggerList (Sub-Chapter 15B)
EXAMPLES
PRINT#1,"TRIGGER"
Trigger all current listeners.
PRINT#1,"TRIGGER02,04,16"
Issue Group Execute Trigger (GET) to
devices 2, 4, and 16.