05-21-2015 07:45 AM
Using an USB RS232 Adapter from ATEN I would like to control the multimeter (HP now Keysight).
I've downloaded the instrument driver but the the example: read Single Measurement.vi doesn't work. (VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.)
I've tried using the MAX and the Visa Interactive Control. They return the same Error.
Any idea what's wrong?
I've checked the settings of the multimeter as well.
The only thing not configured in the VISA Program is the HP - IB ADDR.
Is this necessary?
05-21-2015 08:07 AM
Make sure your serial settings are correct. Make sure the serial port on the meter is enabled.
05-21-2015 08:09 AM
05-21-2015 08:41 AM
How can I verify that the serial port is enabled? I didn' not find any setting for this.
Albert do you recommend me the NI cable? Is there a cheaper solution?
05-21-2015 09:49 AM
05-22-2015 01:35 AM
Now the *IDN? command is working in the VISA Interactive Control. Crossover Cable was the solution thanks.
"serial port enable is a front panel setting of the instrument and is definitely explained in the manual."
I didn't find a front panel setting therefore. With the 34401A it seems to be just the SYSTem : REMote.
Trying to read measurement values produces now errors on the multimeter. =(
05-22-2015 04:09 AM
The VISA Control is working properly. Now it's up to finding the problem with the instrument driver.
05-22-2015 08:09 AM
05-22-2015 08:33 AM
Make sure that all your serial settings on the front panel of the example match the settings on the instrument (baud rate, parity, etc.)
05-22-2015 08:58 AM
Hi
So by now you can send/receive data to the multimeter via the RS 323 Port using VISA?
What kind of errors do you experience on the multimeter?
If you want to analyze what VISA driver calls are being made there is a very useful piece of NI Software called NI I/O Trace:
http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9