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.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Measuring-High-Pressure-and-Linear-Position-Transducer

I'm looking to plot a pressure versus position measurement in LabVIEW using a 9229 module for voltage output and 9203 for current. The pressure transducer is a Honeywell 0 - 1500psig with a 0 - 10V output. The position transducer outputs 4 - 20mA and is coming from a PLC system. I'm new to LabVIEW and looking for some tips.

 

I have the VI automatically creating a tdms excel file with the data and I was wondering if its possible to have it automatically create a graph to view the trend. Additionally, there is a column called "Time*" that doesn't look like real time but increments by 0.0062. The "Time*" parameter is the one I used to manually create the plot. The real time steps don't increment uniformly and some data points are occurring at the same time. Is this due to aliasing? I'm taking n = 2 samples at 10Hz. 

0 Kudos
Message 1 of 2
(1,650 Views)

Hello RJohnlDoe,


You could add a XY graph to your block diagram and export its state using an invoke node.

On XY graphs:

https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/graphing_xy_data/

Exporting graphs to image files:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019SPLSA2&l=en-US

I would highly advise to you, if you don't do it already, to convert the voltage/current measurements into PSI/m units for better data interpretation.

What data type are you using for the output of the data acquisition? Double or Waveform? The waveform data type is probably your best bet to keep a consistent timestamp.

0 Kudos
Message 2 of 2
(1,602 Views)