Boards that Support the Function
Operation The setting SRQ is sent with setting of status byte can be performed.It is an escape version of GpSrq function.Please use this place from now on.
Format
(VB.NET)
Dim Stb, SrqFlag, EoiFlag As Integer
Dim Ret As Integer
Ret = GpSrqEx(Stb, SrqFlag, EoiFlag)
(C)
DWORD Stb, SrqFlag, EoiFlag;
DWORD Ret;
Ret = GpSrqEx(Stb, SrqFlag, EoiFlag);
(C#)
uint Stb, SrqFlag, EoiFlag;
uint Ret;
Ret = gpib.SrqEx(Stb, SrqFlag, EoiFlag);
(Python)
Stb, SrqFlag, EoiFlag = ctypes.c_ulong(), ctypes.c_ulong(), ctypes.c_ulong()
Ret = ctypes.c_ulong()
Ret.value = GpibPy.GpSrqEx(Stb, SrqFlag, EoiFlag)
Mode Slave mode
Parameters
Stb : StatusByte
Designation range: 0 - 255
SrqFlag : Setting of SRQ feeding
0 : Without SRQ sending
1 : With SRQ sending
EoiFlag : At the time of SRQ feeding, the designation EOI is added to StatusByte.
0: Without EOI sending
1: With EOI sending
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.)
Notes
SRQ is not sent in this function and StatusByte can be changed.
When it is done polling (GpPoll function)
from a master after this function execute set up StatusByte is output.
Bit which shows 40H can not be used on StatusByte. This Bit is reserved.
The status byte which is output by setting of an argument changes as follows.
In case of SrqFlag = 0 : Bit_6 of StatusByte is done clear (=0).
In case of SrqFlag = 1 : Bit_6 of status byte is Masking (=1).
When status byte does change
* The value which is set up in fact at the time of Stb = 01H, SrqFlag = 1 : 41H
* The value which is set up in fact at the time of Stb = 41H, SrqFlag = 0 : 01H
When status byte does not change
* In case Stb = 01H, SrqFlag = 0
* In case Stb = 41H, SrqFlag = 1