06-13-2025 07:22 AM
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
Solved! Go to Solution.
06-13-2025 10:08 AM
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
06-13-2025 11:32 AM - edited 06-13-2025 11:35 AM
See if this can give you some ideas....
For those who cannot open your VI, here's the original 2025 diagram:
04-01-2026 05:10 AM
so here it is what i am working with, i have 4 variables Digital input 1 &2 and Digital ouput 1 &2 , so i need 4 graphs for each in which is Y-T graph, y is data and x is time, time in the sense current time. so if i give input only in the digital input ,the graph should turn on and in terms of digital output if i give any value digital only that corresponding graph should start, and each variable has each corresponding graph. and only when i give print the datas should be written to the excel.so im acquring data in real time i could do this same process in chart but not in xy graph.
04-01-2026 05:41 AM
Hi dtharun,
again you failed in downconverting your VI. (I prefer LV2019.)
What is your question? You only write about your requirements…
04-01-2026 06:08 AM
i apologise for what i did, so the problem is i can able to acquire my data but im unable to store in terms of array to view in the xy graph in real time, my only the first data is read, but when im writing them into excel i could able to see multiple datas, so this is my problem also i had a problem of acquiring real time in xy graph but now i succeeded it.
thanks in advance and i gave downconereted it
04-01-2026 06:38 AM - edited 04-01-2026 06:41 AM
HI dtharun,
@dtharun wrote:
the problem is i can able to acquire my data but im unable to store in terms of array to view in the xy graph in real time, my only the first data is read,
You already know how to use shift register to build arrays, so I don't understand your problem:

What is your problem to build your arrays?
On your code: