LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to plot data from text based on selected Date interval?

Solved!
Go to solution

@H.goodarzi128 wrote:

Yes that's right
Limiting the data file size would be best done.

Assuming that the written code stores the sensor data in a text file, how can it generate a new file every month (or every day) and store continued data in it to prevent the previous file from increasing in size?


Thanks again for your guidance and help


There are lots of way to achieve that. What I like to do is use Seconds To Date/Time and break out the "day of year", put it in a shift register, compare it to the "day of year" at each logging interval to see if it has changed, if so then close the current data file and create a new file.

 

btCapture.PNG

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 11 of 12
(320 Views)

Hello

Thank you for this.

I will definitely try it.

 

Thank you so much for taking the time to guide me. 🙂🙏

If you see dark, think of light
0 Kudos
Message 12 of 12
(305 Views)