From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use of 6xxxa LabView driver with Agilent 6035A DC power supply

the labview driver 6xxxa does not appear to work: upon attempting to initialize, I get the following: "VISA Read in HP6xxxA Initialize.vi" error
0 Kudos
Message 1 of 4
(3,289 Views)
This should probably be posted in the LabVIEW General section. Datalogging and Supervisory Control does not relate to instrument drivers.
0 Kudos
Message 2 of 4
(3,289 Views)
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
0 Kudos
Message 3 of 4
(3,289 Views)
Jonathan,

thanks - I figured it out. The reason was that visa in the hp 6xxxa driver is the "old" visa which apparently only understands the COMP language mode of the power supply. By default, HP ships the instrument in the TMSL language mode. In any case, I switched to COMP by sending "SYS:LANG COMP" and the driver works.

Thanks
Joachim Hossick Schott
Staff Scientist, Medtronic Inc.
0 Kudos
Message 4 of 4
(3,289 Views)