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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i save rms value and use it to plot a graph on labview

Hai guys,

currently i'm doing a vi to minitor a vibrating motor. each experiment consist of few position and each position will have its own RMS value. before this, i just read and take the rms value to plot the trending graph using excel.

the question is how can i store this RMS value and use it to show/create a graph to show the trending of the RMS vibration motion using LABVIEW.

 

here i attached my block diagram ad an exmaple of trending which i did using excel. thank you

Download All
0 Kudos
Message 1 of 3
(2,788 Views)

I think you've to write your custom format.

I attached an example screenshot where you can modify for your own work.

It'll record rpm on the first column and next colums are rms.

 

0 Kudos
Message 2 of 3
(2,755 Views)

Hi Hafizzuddin

 

LabVIEW provies APIs to write a vector of data to spreadsheet. There are two APIs corresponding to this. These are under File IO palette.

 

Write to Spreadsheet File.vi

Read from Spreadsheet File.vi

 

You can use these VIs to create and write the data to a spread sheet. 

 

Also, if you use the report generation toolkit, you can get a lot of Excel handling APIs using which you can add record, plot graph from the existing data and many more.  :smileyhappy:

 

Bharath

0 Kudos
Message 3 of 3
(2,740 Views)