GpibGetTimeOut


 

Function

Retrieves TimeOut.

 

Format

Ret = GpibGetTimeOut (  Id, TimeOut)

 

Parameter

Id [ short ]

Specifies DevID or EqpID.

Whichever it specifies, operation does not change.

 

TimeOut [ long * ]

Retrieves 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

11462

Pointer to TimeOut is NULL

 

Initial Value

TimeOut

10000

10 Sec

 

Example

C

long TimeOut;

        Ret = GpibGetTimeOut ( Id, &TimeOut );

 

Remark

 

 

See Also

GpibSendData | GpibRecData | GpibSetTimeOut