12-27-2016 10:25 PM - edited 12-27-2016 10:39 PM
why gpib/linux can use below option and gpib/windows can't?
IbcSPollBit | 0x16 | If the setting is nonzero then the use of the SPOLL bit in ibsta is enabled. |
my application needs to know when the Controller has read the serial poll response byte, so i have to check that flag.
thank you!! 🙂
12-28-2016 07:09 PM
01-03-2017 06:23 AM
请参考NI-488.2TM Function Reference Manual for DOS/Windows:http://www.ni.com/pdf/manuals/370903a.pdf
• IbcSpollBit 0x0016
IbcSpollBit 0x0016 zero = The SPOLL bit of ibsta is disabled. non-zero = The SPOLL bit of ibsta is enabled. Default: zero. Refer to the NI-488.2 user manual for information about Talker/Listener applications.
SPOLL (brd) Use SPOLL in Talker/Listener applications (applications in which the GPIB interface is not the Controller) to determine when the Controller has serial polled the GPIB board. The SPOLL bit is disabled by default. Use the ibconfig function (option IbcSPollBit) to enable it. When the SPOLL bit is enabled, it is set after the board has been serial polled. SPOLL is cleared on any call immediately after an ibwait call, if the SPOLL bit was set in the wait mask, or immediately following a call to ibrsv.
01-03-2017 08:41 PM
Thanks for your reply!
when trying to
"
Gpib488.ibconfig(_deviceHandler, Gpib488Consts.IbcSPollBit, 1);
base.CheckSta();
"
I got below error: [ERR:CMPL] [ECAP], It means the NI GPIB has no capability to support such function. It is weird!
01-09-2017 04:33 AM
can anyone help me? i just want to know whether my instrument has been serial polled by controller?
01-24-2017 08:48 AM
i'm still waiting for any answer! 🙂