Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface Labview and Agilent 34970A for Temperature measurements

Hi LabView expert members!! 
I'm new with this software and I'm trying to make and interface between Labview and Agilent 34970A for measure 5 different temperatues of my heat exchanger in real time. Could you suggest me some tutorials or tips about this?? I made my program but I don't know how to control the time scan interval, how to write and save my data and obtain graphics in real time, currently I can get the measurements but I cannot control the interval scan time and the real time is not the same like the time in my computer, also the file shows different time line and one column data. I attach my program, I'm using Labview 2010. Thank you in advance

0 Kudos
Message 1 of 2
(4,695 Views)

The interval scan is the 3 seconds you have wired to the Wait (ms) function. The wiring of the current time in seconds to the chart is incorrect. You need to write the wait time to the chart's Multiplier property. The start time would be wired to it's Offset property. Look at the example called Real Time Chart.

 

In order to save all of the data when the loop finishes, you would need to enable autoindexing of the array. Might be better to place the write inside the loop. You might want to get the current date/time as a string and convert the numerics to strings and use the string type of the Write to Spreadsheet File.

 

p.s. Move your Initialize and Close functions to outside the loop. You do not want to do either with every iteration of the loop.

Message 2 of 2
(4,694 Views)