www.vtiinstruments.com
EX10xxA Function Calls
273
vtex10xxA_set_communication_timeout
F
UNCTION
P
ROTOTYPE
ViStatus _VI_FUNC vtex10xxA_set_communication_timeout (ViSession vi, ViInt32 timeout);
F
UNCTION
P
ARAMETERS
vi = contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
SETS THE TIMEOUT VALUE (IN MILLISECONDS). INDICATING HOW LONG TO WAIT FOR
INSTRUMENT TO RESPOND. IN HIGHER LATENCY NETWORK, IT IS BETTER NOT TO REDUCE
DEFAULT TIMEOUT VALUE. VALID RETURN VALUES: 1000 THROUGH (231-1). DEFAULT VALUE:
25000 (25 SECONDS).
D
ATA
I
TEM
R
ESET
V
ALUE
Reset will not change value of this parameter.
D
ESCRIPTION
This function sets the timeout value when a LAN communication error occurs. It is recommended for advanced
users only.
E
XAMPLE
//sets the LAN communication timeout to 10 seconds, if a LAN communication error occurs
vtex10xxA_set_communication_timeout(vi, 10000);
Summary of Contents for EX1000A
Page 28: ...VTI Instruments Corp 28 EX10xxA Introduction EX1044 DIAGRAM ...
Page 29: ...www vtiinstruments com EX10xxA Introduction 29 FIGURE 1 5 EX1044 TABLE TOP USAGE ...
Page 34: ......
Page 56: ......
Page 74: ......
Page 130: ......
Page 282: ......