LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot last recorded energy value of each day's TDMS file onto a waveform chart

Hi all as the title suggests i would like to display the weekly daily energy usage into a waveform chart. I have in my VI a daily log file creator ( referenced from this article https://forums.ni.com/t5/LabVIEW/Automatic-save-and-create-new-file-everyday/td-p/3608974) in my "Write While Loop". 

 

My Modbus power meter's energy reading is cumulative but i am just artificially creating values for this vi.

 

In my VI's "Read While Loop" how can i let it automatically read the past seven day's TDMS log files and extract the energy usage of the day("last  energy value of the log" - "first energy value of the log" = energy usage for the day) and plot them into a waveform chart?

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

Which part are you not sure of? Identifying the last seven day's TDMS log files, displaying the waveform, or both?

 

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