07-11-2006 07:33 AM
07-11-2006 12:22 PM
Hello Jason
I do not currently have access to a GPIB analyzer card. I can do an NI Spy capture, but it doesn't tell you much, because of the rather strange format of the data sent to the CAMAC device. The difference in loop iterations between the PCI and the ISA cards (when a move completes normally) is only about one loop -- eight or nine for the PCI card, nine or ten for the ISA card. This is for a move of 314 steps, or 1 mm of linear travel in the system. I tried a delay within the loop, starting at a millisecond, then two, then up a bit at a time until I got to about a half second. Nothing helped, and the longer delays actually made things worse.
I can add a simple line of code to reject the return value of the camac_read function if it is greater than 4, but there are still problems with the read_position function call which follows. Delays may help this problem, which is what I'll try next.
Stuart Van Deusen
07-12-2006 10:44 PM
07-13-2006 03:30 PM
Hello Jason
I ordered a card with the analyzer earlier this week; it ought to be here next week. I am currently using the AT-GPIB/TNT card in order to have some sort of functionality with the CAMAC crate. There are still some problems using this card, but mostly things work (better than with the PCI card). In regard to your two suggestions, I changed the timing value and it made no difference. The high speed handshake was already disabled in MAX.
The instrument is a Kinetic Systems GPIB crate controller. It is actually pretty old. The original computer controlling the data acquisition was an HP 9816, and everything worked fine. When we first tried to use a PC with the AT-GPIB/TNT card and the National Instruments drivers ten years ago we had all sorts of problems, and ultimately found a slightly newer version of the crate controller which worked. We are trying to eliminate the CAMAC instrumentation, which at this point consists only of some stepper motor controllers, counters, and a few digital I/O lines, so upgrading the GPIB crate controller isn’t an option. We just need to be able to communicate with the crate until we find solutions to replacing the stepper motor controllers and counters. Had I realized the problems that a new computer and new versions of the National Instruments hardware and software would cause, I would have figured out the stepper motor controller problem first.
Thank you for your suggestions.
Stuart Van Deusen
07-14-2006 06:07 AM
07-14-2006 09:48 AM - edited 07-14-2006 09:48 AM
I actually always operate with the auto serial poll disabled because of considerations with some of the other GPIB instruments I use. I just need to keep the crate controller working a little while longer, and the suggestions I've been getting and some of the other things I've been trying are starting to come together.
I've also discovered that some of my troubles result from the computer upgrade itself, going from a 400 MHz Pentium 2 with whatever bus speed to a 3.4 GHz Pentium 4 with an 800 MHz FSB. There's a lot more speeding up of the system than just the ISA to the PCI.
Thanks for your suggestion.
Stuart Van Deusen
Message Edited by sbvande on 07-14-2006 09:53 AM
07-24-2006 03:21 PM
07-25-2006 09:03 AM