05-01-2021 04:41 PM
Hi guys,
I'm trying to using Labview 2018 to read DC voltage from a HP 34401a voltage.
The driver was downloaded from here http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=014E7F05D12C6F8BE0440003BA7CCD...
The problem is when I use NI MAX test panel to read the multimeter there is no error,
but when I try to use the example vi. read single measurement, it gives me error like this
If I disable the ID query in initialize.vi, the read single measurement vi will stuck at configure measurement for several minutes. Then it will give the following error message
It looks like the vi is reading 0 voltage, which is correct. But why does it give this error? Could someone help me?
05-02-2021 04:33 AM - edited 05-02-2021 04:34 AM
The MAX display looks wrong too. It may seem to work but the information you see in the read response is wrong!
The IDN?\n command should return an identification string, not a measurement value. And the first read only returns a partial measurement value. Also you can’t just do a read to test it but need to do a query where the command gets written and then the response read. The device seems to be in an auto measurement mode where it keeps spewing data that accumulates in the incoming buffer so you have to study its manual.
05-02-2021 03:41 PM
Feels like the instrument is stuck in some kind of constant measurement mode where it's just spitting out readings. Consult your manual to see how to get it out of that mode.