Sets TimeOut.
Ret = GpibSetTimeOut ( Id, TimeOut)
Id [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Specifies DevID or EqpID.
Whichever it specifies, operation does not change.
TimeOut [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
Sets TimeOut.
1 to 147483647(7FFFFFFFH) |
TimeOut (Value * [mSec]) |
0 |
No timeout |
Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
0 |
Normality completion |
10001 |
Invalid ID was specified |
10002 |
Driver can not be called |
11402 |
The value of TimeOut is outside the designated range |
The others (See also: Details of Error Code)
TimeOut |
10000 |
10 Sec |
Sets timeout to 1 Sec.
C |
long TimeOut; TimeOut = 1000; Ret = GpibSetTimeOut ( Id, TimeOut ); |
GpibSendData | GpibRecData | GpibGetTimeOut