LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Addding dats and create trend graph

Solved!
Go to solution

hello everyone, 

I'm trynig to get the random datas using 10 random numbers and get those datas with loop along with time stamp and save them in excel file and create a trend graph along with time. i had collecetd the datas and stored in the excel file but i couldnt able to add the time stamp for all the datas continuosly, also i couldnt able to build the trend graph {trying to compare all the 10 channels datas in one XY graph along with time using different colors}. it sounds simple but As im still in learning stage and help would be appreciated.

thanks in advance  

0 Kudos
Message 1 of 3
(214 Views)

You (and most "new" LabVIEW users) are running LabVIEW 2025.  I (and most experienced LabVIEW users) can easily run LabVIEW 2019 or 2021, but many of us do not have the latest version installed.

 

     Please open your VI, go to "File", "Save for Previous Version" and choose 2019 or 2021 to allow us to look at your code and suggest how to "improve" it.

 

Bob Schor

0 Kudos
Message 2 of 3
(178 Views)
Solution
Accepted by topic author dtharun

See if this can give you some ideas....

 

  • You should only write the column header once to the file. If you want to change the file during the run, you need more code.
  • You can easily implement the start and reset modes if you expand it into a simple state machine.
  • There is no need for express VIs
  • You don't need an xy graph because the points are spaced equally in time. I recommend a chart, else you'll run out of memory eventually.

 

For those who cannot open your VI, here's the original 2025 diagram:

 

altenbach_0-1749832425225.png

Message 3 of 3
(161 Views)