GpTimeout

image\BLTLRGSQ.gifBoards that Support the Function image\SETUP.gif image\SANBTN.gif

 

 

image\head10.gif Operation            Sets time for timeout checks.

 

image\head10.gif Format                 

(VB.NET)

Dim Timeout, Ret As Integer

Ret = GpTimeout(Timeout)

 

(C)

DWORD Timeout, Ret;

Ret = GpTimeout(Timeout);

 

(C#)

uint Timeout, Ret;

Ret = gpib.Timeout(Timeout);

 

(Python)

Timeout, Ret = ctypes.c_ulong(), ctypes.c_ulong()

Ret.value = GpibPy.GpTimeout(Timeout)

 

image\head10.gif Mode                   Master mode/Slave mode

 

image\head10.gif Parameters          Timeout     :  Time setting

Specified value (0 - FFFFH) x 1[msec]

Timer checks are not performed if 0 is specified. This means that timeout does not occur.

Ret           :  Return value

0     :  Normal completion

80    :  GpIni() hasn't execute

140  :  Asynchronous function is executing now

255  :  Parameter error

(See "Return Values" for details.)

 

image\head10.gif Notes                  An initial value of Timeout is 10000(ten seconds).