GpStb

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

 

 

image\head10.gif Operation             Sets status bytes.

 

image\head10.gif Format                 

(VB.NET)

Dim Stb, Ret As Integer

Ret = GpStb(Stb)

 

(C)

DWORD Stb, Ret;

Ret = GpStb(Stb);

 

(C#)

uint Stb, Ret;

Ret = gpib.Stb(Stb);

 

(Python)

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

Ret.value = GpibPy.GpStb(Stb)

 

image\head10.gif Mode                   Slave mode only

 

image\head10.gif Parameters         Stb             :  Status byte

Range that can be specified : 0 - 255

Ret             : Return value

0      :  Normal completion

80    :  GpIni() hasn't execute

140  :  Asynchronous function is executing now

255  :  Illegal call

(See "Return Values" for details.)

 

image\head10.gif Notes                  Be sure to add status bytes at 40H in the device driver.