GpSrq

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

 

 

image\head10.gif Operation             Sends SRQ (Service Request).

 

image\head10.gif Format                 

(VB.NET)

Dim Eoi, Ret As Integer

Ret = GpSrq(Eoi)

 

(C)

DWORD Eoi, Ret;

Ret = GpSrq(Eoi);

 

(C#)

uint Eoi, Ret;

Ret = gpib.Srq(Eoi);

 

(Python)

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

Ret.value = GpibPy.GpSrq(Eoi)

 

image\head10.gif Mode                    Slave mode only

 

image\head10.gif Parameters           Eoi            :   EOI specification (if transmitting status bytes)

0   :  Without EOI

1   :  With EOI

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                    in GpStb, be sure to add status bytes at 40H.