07-08-2020 06:53 AM
Thanks I found the VIs.
I tested it :
I don't understand the values that I'm getting.
Should I wire the 2 colums containing the data somewhere ?
Like if I enter my 2 dates, how can I get the data (column 1 and 2) between those 2 dates?
07-08-2020 07:33 AM
@GerdW wrote:
Hi Bill,
@billko wrote:
Does this account for daylight saving (if applicable)?
When you want to avoid any DaylightSaving hassles you should store timestamps as UTC data (also when converting to string).
I guess the OP didn't care about that when creating the data text files…
That is exactly what I do. Store timestamps as UTC; save any local formatting for when you extract the data.
07-08-2020 08:46 AM - edited 07-08-2020 08:47 AM
Hi Naxmouk,
@Naxmouk wrote:
I don't understand the values that I'm getting.
Using those Threshold functions you get a row number in the corresponding timestamp array.
@Naxmouk wrote:
Should I wire the 2 colums containing the data somewhere ?
When you want to read data from certain columns of the 2D array then you need to "wire the data somewhere"!
@Naxmouk wrote:
Like if I enter my 2 dates, how can I get the data (column 1 and 2) between those 2 dates?
So you want to get a subarray from your large 2D numeric array?
Hmm, maybe using the ArraySubset function might work - what do you think?
(How much basic LabVIEW training did you do before?)
07-08-2020 09:48 AM
Hello GerdW,
Here is my vi !
I wired the data to an ArraySubset, and it works !!
When I put my dates, I get the data between them !
I just know how the structures work and some basic VI's.
I use LabVIEW for my project where I need to do a UI, the data is coming from an Arduino Uno.
I need to acquire the data, the user has to enter the 2 dates and he get a graph showing the evolution of the data over the period he chose.
Thank you for your patience and for your great help !
07-08-2020 09:50 AM