Can't get RQS to work

I'm new to gpib programming and the various forum threads on this topic haven't helped me. If I understand correctly, If I have serial autopolling set then I can wait on RQS otherwise I can wait on SRQI. I've written a short test that prints ibsta, iberr, and ibcnt after each gpib command. Regardless of how I set IbaAUTOPOLL, ibsta after ibwait reports TIMO. I'd appreciate any hints on what I don't understand. This was done on very old Solar is 8 OS/Sun hardware using NI SBUS card and drivers; this code correctly reads a resistor from an Agilent dmm.
When enabled I see:
ibsta = 0x4100  < TIMO CMPL >
iberr = 0 EDVR <DOS Error>
ibcnt = 5
When disabled I see:
ibsta = 0x4128  < TIMO CMPL CIC TACS >
iberr = 768 <UNKNOWN>
ibcnt = 15319040
I've included the source of my test case(renamed dotc cause .c wouldnt attach) and both runs as attachements. I'd really appreciate any clue on what's wrong. (so stuck)
TIA
gary
Attachments:
sAUTO_enabled.log ‏3 KB
sAUTO_disabled.log ‏3 KB
solI3e_dotc ‏5 KB

RQS is one of those GPIB features that can bite hard.  So let me dig out a bit of a history lesson.
RQS as designed was a means to notify the controller in charge that an instrument was in need of attention but, more than that HP provided for a "Prioritization" of when to service service requests.  Service requsts a served in ascending address order.  If device at address 2 has an unserviced service request you cannot see a newer RQS on anything other than address 1 (assuming the CIC is address 0).   Many a year ago I learned the hard way when our lab's ovens raised RQS by default upon reaching the stable setpoint.  Our ovens were usually at address 4  blocking service reqests on our TEK scopes with a default address in the teens.  Not fun when your perfectly functioning code "Suddenly quits" from one iteration to the next.
You can usually avoid raising RQS.  It can be rather tricky as soon as more than 1 instrument is on the bus.
Jeff

Similar Messages

Maybe you are looking for

  • Seeburger SFTP with conversion

    Hi all, I need to download simple xml structure form sap proxy to SFTP tab delimited file on SFTP server  <<XXX>> on path <<YYY>>: file structure: <head> <root> <data1> <data2> <root> <root> <data1> <data2> <root> </head> localejbs/Seeburger/solution

  • Enter your PIN number to unlock mac

    i have seen a few images like the one below before, and was just wondering how i can enable this for my mac running Lion 10.7

  • Simple Xcode question

    Apologies if I've posted this in the wrong spot, but I can't find a forum specific to XCode I'm sure this is a really simple thing but for the life of me I can't figure out why with a new project I've created (just downloaded the 3.0 APIs) whenever I

  • Transport Request Deleted

    Hi Experts, I deleted some cubes, DSO's, MP and objects which is not required in Dev. and collected all these in one Transport Request, but Unfortunately some one deleted this TR before releasing into QA. Now i dont have all these cubes, DSO's, MP an

  • I have forgoten my security questions which were made in fifth grade.  I am sending the reset to my email, but I do not see it.

    I have forgoten my questions which were made in fifth grade.  I am sending the reset to my email, but I do not see it.  I have 2 emails, but neither of them have it.  I just want to be able to buy something on my new iphone