06-22-2005 09:51 AM
06-23-2005 03:22 PM
06-23-2005 04:12 PM
06-23-2005 04:20 PM
06-27-2005 01:22 PM
07-06-2005 11:10 AM
Thanks for the help. I do believe we had a auto-polling issue. Once I issued the ibconfig() command our bus cleared up dramatically. Polling seems to only be happening when I direct it to through my application. I do have a couple more question for you. First, does the ibconfig() command stay active if I shut my application down and then re-start it? That is, if I use the ibconfig command to turn off auto-polling and then shut off the application and restart it is auto-polling still disabled. I ask because once I issued the command the phasing stopped. I was doing some testing and took the command out of my application, re-compiled and re ran the program. I expected the phasing to return, but it never did. Is this to be expected?
Second, my application runs great for about an hour and then the gpib bus seems to stop working. I lose status on all my devices. When I turn on NI Spy I see all the ibread() commands returning with the EADR(3) error and all other gpib commands returning with EABO(6) errors. I have a control panel that I can use to control my threads. GPIB is a dedicated thread. If I stop and start the thread the bus clears and all is good for about another hour or so. Any ideas why this might be happening. If not, what is the best command to issue to clear the bus or to reset the card without losing all the settings?
Thanks for all your help.
07-07-2005 03:47 PM
07-08-2005 03:37 PM
What is the difference between the ibrsv and ibrsp commands? The legacy device I am communicating with uses the ibrsv command. I am wondering if my new NI card is having a tough time interfacing using this command.
Thanks...
07-11-2005 09:21 AM
Jason,
The difference is that ibrsv sets the serial poll response byte and requests service (if bit 6 is set in the byte). The ibrsp() command is called by a controller, and causes the controller to read the serial poll response byte by serial polling the device. The commands are somewhat complementary, almost equivalent to a "write" and a "read". They should work just fine together when used in this way.
Scott B.07-13-2005 01:36 PM