LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying system time on chart each time I acquire data

Hi Ben, I am sending the attachment of my vi. It has been a while since, I had posted this question and I could not send reply once, I recieved a response. I have included the property node. I know that it just displays the system time when it is in the loop. I am resending my question which I had posted previously. I would like the system time and the data at that period of time on the chart from the time I start running the application till the time I terminate the application. I hope my question is clear. Thankyou.
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 char
t. 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 3
(2,936 Views)
I am not Ben, but if you are using LabVIEW *Real-Time* you should consider doing your user interface niceties on code running on the Windows PC, not on the RT target. In this case, the question would be better posted to the LabVIEW General group, as it would get a much larger audience there.
Message 2 of 3
(2,936 Views)
As Jeff said, the general list willget a larger audience.

The "XScale.Offset" property should be written to match the time of the first sample.

The "Zscale.multiplier" property should be set to match the time of each sample.

You may want to experiment with using a Waveformgraph where youcould use cursors and display the value.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 3
(2,936 Views)