07-11-2005 11:53 AM
Solved! Go to Solution.
07-11-2005 03:01 PM
Tambur,
Please use NI-488.2 v2.2 if this issue affects you. The bug was discovered after the release of NI-488.2 v2.3. It will be addressed in the next version of NI-488.2.
Scott B.
07-11-2005 06:48 PM
07-12-2005 09:10 AM
07-12-2005 11:27 AM
As I said before we are evaluating 2.2. We are going to proceed very cautiously and do a lot more testing of any new version of this driver. If something so fundamental as the execution time of the command ibrsp can change so dramatically in a minor release, who knows what else could be wrong. When we first started testing the NI PCI-GPIB card we used the 1.7 version of the driver. We changed to your most recent offering, 2.3, just in the last few months. We changed to aleveate a couple of problems...
1. The SRQ line drops after reading all available data but sometimes the bit in the status byte doesn't. We thought that 2.3 fixed this but not in all cases. We have a workaround in where we issue another ibrd command that fails, but clears the bit.
2. Sometimes the RQS interrupt is not sourced even though the SRQ line does go high. We have a workaround for this also. We normally wait on an event that is set by the interrupt service routine (IRS) established in the ibnotify command. When we timeout waiting for this event, we check the SRQ bit in the status byte, if it is set we manually execute the ISR else we alarm/error out.
Version 2.3 doesn't completely fix these problems. It only makes them occur less often.
FYI
One other problem that you may not be aware of is that the ReadStatusByte command fails in 2.2 and 2.3 where as in 1.7 it succeeds using the same VB program with all versions, 1.7, 2.2, and 2.3. This problem does not concern me in that we do not use ReadStatusByte in our production software, only in a test program that is being obsoleted.
07-12-2005 04:04 PM
07-12-2005 05:51 PM
ScottieB,
Thank you for the information and your support. At this time we are not prepared to invest the time to nail down the problems we are having with our software interacting with NI PCI-GPIB card and its driver. When our current workarounds seem to be insufficient, we will start a new post. Jessica Kinnevan, NI, is going to notify us when a new version is ready with the fix of the ibrsp timing problem. Until then, we will be using one of the previous version, 1.7 or 2.2. We are running throughput tests on 2.2 now and should be able to decide on which one soon. In preliminary testing, 2.2 is very close to 1.7 in the timing tests we are doing. In 1.7 ibrsp takes 0.24 ms, in 2.2 0.35 ms. Even though 2.2 is about 1.5 times slower than 1.7, we are only talking about 110 us.
09-27-2005 10:26 AM
I wanted to follow this thread up with a notification that NI-488.2 v2.4 has released. Click here to see all current driver versions.
Thanks
Scott B.
GPIB Software
National Instruments
09-27-2005 11:38 AM
09-28-2005 09:30 AM