Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ibwait rqs

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

 

0 Kudos
Message 1 of 8
(3,924 Views)

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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 8
(3,922 Views)

No, there is only the board/controller and one device (an HP3478A DMM, if memory serves).

 

eric

 

0 Kudos
Message 3 of 8
(3,919 Views)

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

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 8
(3,912 Views)

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

 

0 Kudos
Message 5 of 8
(3,910 Views)

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 

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 6 of 8
(3,895 Views)

First thing I did.  I'll give it another shot though.

0 Kudos
Message 7 of 8
(3,890 Views)

Eric, 

 

Let me know if you hear back from them. Im curious as to whats going on. 

 

Regards,
Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 8 of 8
(3,884 Views)