GpChkstb

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

 

 

image\head10.gif Operation             Checks the status byte currently set.

 

image\head10.gif Format                 

(VB.NET)

Dim Stb, Eoi, Ret As Integer

Ret = GpChkstb(Stb, Eoi)

 

(C)

DWORD Stb, Eoi, Ret;

Ret = GpChkstb(&Stb, &Eoi);

 

(C#)

uint Stb, Eoi, Ret;

Ret = gpib.Chkstb(out Stb, out Eoi);

 

(Python)

Stb, Eoi, Ret = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()

Ret.value = GpibPy.GpChkstb(ctypes.byref(Stb), ctypes.byref(Eoi))

 

image\head10.gif Mode                    Slave mode only

 

image\head10.gif Parameters

Stb       :  Status byte (return value)

 

Eoi       :  EOI specification status (return value)

0 : Not specified (for service requests)

1 : Specified

 

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.)