Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquiring DC Voltage Signal from HP3457

I have a question that I believe to be easy to solve. I am using LabVIEW to acquire DC Voltage from a HP3457A DMM. I can acquire the signal OK, but when I write the data to an lvm file only about every 8th measurement is correct (with the others being way off!!) I am using a modified VI from LabVIEW for the 3457. I have modified it to sample every second, plot the data, and write it to an lvm file. Anyone have any experience with this or any idea what may be going wrong here. Thanks in advance for all of your help.
0 Kudos
Message 1 of 2
(3,781 Views)
Hello,

I checked the VI that you sent and the only thing that I could see is not proper is that the LVM file is open and close every time you write to it but that doesn�t seem to be the problem.
I removed the GPIB part and sent a constant number and it worked ok in the LVM, so I believe the problem is acquiring the data.
I would suggest you to remove right now the LVM part and first make sure that the data acquisition is working ok. Just extend the output of the converter from string to number outside the loop, enable indexing and create an indicator. Stop the vi and make sure that the values that you see are the correct ones.
Hope this troubleshoot helps.

Ricardo S.
National Instruments.
0 Kudos
Message 2 of 2
(3,781 Views)