Since many of the instrument drivers posted on the web come from external sources, officially National Instruments does not support the instrument driver code. However, the error you are describing does not sound related to a coding error. The "VISA Read in HP6xxxA Initialize.vi" appears to be the first read function in program. Nine times out of 10, this will be due to a timeout error.
Here are a number of things you should try/verify:
- Are you able to communicate with the instrument through the Measurement and Automation Explorer (MAX)? This involves scanning the GPIB bus for instruments and communicating directly to an instrument. Not sure how to do this? See link below:
http://www.ni.com/support/gpib/max/default.htm
If you are unable to communicat
e with your instrument verify that you performed the correct installation of your GPIB board. See link below:
http://www.ni.com/support/install/
Two main problems cause timeout errors: Incorrect commands, and incorrect termination.
- Is the instrument driver sending a command that the instrument accepts? Refer to manual of instrument.
- Is the instrument driver sending the correct termination character or method at the end of the command? Sometimes instruments can be reconfigured to accept linefeeds, carriage returns or the combination of both.
If you were unable to communicate with the GPIB board through MAX after trying to steps listed above, go to the link below to request phone support from an NI Applications Engineer.
http://www.ni.com/support/
Jonathan Hildyard
Applications Engineer
National Instruments