Function
Sets wait time for every handshake. (To low speed)
Format
Ret = GpibSetSlowMode ( Id, SlowTime )
Parameter
Id [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Specifies DevID or EqpID.
Whichever it specifies, operation does not change.
SlowTime [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Sets wait time.
1 to 32767(7FFFH) |
Wait time (Value * [mSec]) |
0 |
Return to regular speed |
Return Value
Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
0 |
Normality completion |
10001 |
Invalid ID was specified |
10002 |
Driver can not be called |
11702 |
The value of SlowTime is outside the designated range |
Initial Value
SlowTime |
0 |
No wait |
Remarks
When performing this function again with [SlowTime = 0] in low speed, it returns to early communication speed.
Example
Sets wait time to 1 mSec.
C |
short SlowTime; SlowTime= 1; Ret = GpibSetSlowMode ( Id, SlowTime ); |
See Also
GpibSendData | GpibRecData | GpibGetSlowMode