LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying system time on chart each time I acquire data.

I am using a chart for displaying the data I acquire from the instrumentation system. I need the system time to be displayed on the x-axis each and every time a data is displayed on the chart. I need the entire set of data to be plotted on the chart or atleast I need the scroll bar, which I can use to see the other data which are not visible in the chart. I have tried using property nodes and scroll bars. I have a while loop and computations inside the while loop. I am unable to display the system time on the x-axis during each time. We run experiments for a long time and seeing the data acquired over a long period of time with respect to the system time is important. Kindly, let me know if any of you know how to
solve this problem. Thankyou. Kirthi
0 Kudos
Message 1 of 5
(3,150 Views)
I have done similar tasks, but I am a little confused on what is not working for you.

Could you please post your code (or a screen shot) showing us what you are trying to do and what is not working.

Trying to help,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(3,150 Views)
I'm attaching an example VI which should be what you're looking for. It plots some generated data against the system time. I hope this helps out.
J.R. Allen
0 Kudos
Message 3 of 5
(3,150 Views)
Hi there,
Thank you for the suggestion. I tried running the vi you had sent. After running for a day, there is a lapse in the actual system time and the time displayed on the X-axis of the graph. I would like the system time to be acquired as and when the data is plotted on the graph. My problem is I can do this, but the time and data that was plotted should remain from the time I start running my application to the time when I terminate the application. I have resend my previous question along with the snap shot of my. Thank you very much. The vi was helpful.
0 Kudos
Message 4 of 5
(3,150 Views)
Hi,
You should use XY graph in your program. Add XY ChartBuffer.vi in Variable-Time ChartXY.vi of Labview example and also consider JRA's example. Select suitable history length (too big will slow your PC)based on the measurement time and record interval.
0 Kudos
Message 5 of 5
(3,150 Views)