Function
Sets TimeOut.
Format
Ret = GpibSetTimeOut ( Id, TimeOut)
Parameter
Id [ short ]
Specifies DevID or EqpID.
Whichever it specifies, operation does not change.
TimeOut [ long ]
Sets TimeOut.
1 to 147483647(7FFFFFFFH) |
TimeOut (Value * [mSec]) |
0 |
No timeout |
Return Value
Ret [ Long ]
0 |
Normality completion |
10001 |
Invalid ID was specified |
10002 |
Driver can not be called |
11402 |
The value of TimeOut is outside the designated range |
Initial Value
TimeOut |
10000 |
10 Sec |
Example
Sets timeout to 1 Sec.
C |
long TimeOut; TimeOut = 1000; Ret = GpibSetTimeOut ( Id, TimeOut ); |
Remark
See Also