06-09-2011 03:51 PM
I have a tnt based pci gpib card and I'm trying to get 'ibwait( dev, rqs )' to work. The actually call is "ibwait( dev, TIMO | RQS ) and it alway returns because the call times out. The device generates service requests and the board version, "ibwait( board, TIMO | SRQI )", works fine. When I inspect ibsta I can never find any indication that the RQS bit is ever set.
So my question is, what am I doing wrong; what am I not doing right? I precede the ibwait with "ibconfig( board, IbcAUTOPOLL, 1 )". So what else am I missing? BTW, I'm actually using linux-gpib rather than NI488.2 (can't get the NI thing to build on opensuse 11.4).
TIA,
eric
06-09-2011 04:29 PM
is there another instrument on the bus with a lower address that has asserted RQS? Polling is sequential and was originally intended to give higher priority to lower address values.
06-09-2011 07:24 PM
No, there is only the board/controller and one device (an HP3478A DMM, if memory serves).
eric
06-10-2011 09:57 AM
Eric,
Is it only the ibwait function that isn't working, or is it a communcation issue in general?
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments
06-10-2011 10:19 AM
To the extent that I've looked, it's only the specific case of ibwait on rqs (i.e. ibwait( device, RQS ) ). Ibwait works with TIMO and SRQI flags; ibrsp, ibrd, ibwrt all work. Just to be clear, my problem is with the linux-gpib software.
eric
06-13-2011 05:32 PM
Eric,
If its an issue with linux-gpib software, you may want to shoot their mailing list a problem to see if they can also help you here: http://sourceforge.net/mail/?group_id=42378
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments
06-13-2011 06:09 PM
First thing I did. I'll give it another shot though.
06-14-2011 11:27 AM
Eric,
Let me know if you hear back from them. Im curious as to whats going on.
Regards,
Kyle Mozdzyn
Applications Engineering
National Instruments