Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Write in HP8753 Read

i get this error message sparatically in various places in my program. I am controlling my HP8753 Netowrk analyzer via GPIB with my PCMCIA GPIB card. i am using the trial version of Labview 6. i noticed it happens much more often when i have my PCMCIA network card plugged into my laptop. without the network card in the laptop, sometimes the program will run without problems, and sometimes it wont. the errors always come out of the VIs that came in the driver for the network analyzer. i dont understand why it is so inconsistent.
0 Kudos
Message 1 of 2
(3,306 Views)
Anish,
If the characteristics are changing depending on what cards are installed, it sounds as if there may be some timing issues that are occuring. It is possible with the second card is installed the increased usage of the PCMCIA slots causes slower response of the GPIB bus and instruments. This could cause a problem if the program encounters a timeout while waiting for an event to occur (read,write,srq...). You could try opening your program and manually increasing the timeout settings in your vi to allow more time for a response.
Also, you mentioned that these were device specific drivers, are these from our web page or a third party? You could download the driver for the HP8753 from our webpage at the following address:
http://zone.ni.com/idnet97.nsf/9b2b33e1993d87778
6256436006ec498/99fd4a9bfc561ba7862568ab005fbb48?OpenDocument
You may want to check if your current driver has write and read functions dependent on events such as the instrument raising the SRQ. If so, try replacing these with typical write and read functions.
Another troubleshooting technique is to run execution highlighting (the light bulb on the toolbar). With this on, you can slow down and follow the execution to see exactly where the error is being produced in the program. Once you work down to the specific calls that cause the error, it will be much easier to find a reolution.
Best Regards,
Chris D
0 Kudos
Message 2 of 2
(3,306 Views)