LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graphs

Hallo,

 

       I have a 2D array with 5 rows and 5 columns. Each element represent a variable. I have a control for the row number. For a given row number each variable seeks a value from the DAQ system and the five elements of the row are plotted over time. When I change the row number, I need the graph to start freshly for the new row number, but instead it continues with the new values. Please find attachment for Reference.Please help. Thanks in advance.

0 Kudos
Message 1 of 6
(3,111 Views)

Hi hariss,

 

when you use a graph: you need to clear some buffers in your VI…

 

when you use a chart instead of graphs: clear the history!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,095 Views)

Hallo Mr.GredW,

 

          Thanks for the reply. I have a time stamp for the variables which are plotted on the X-Axis. Can I still use the chart instead of Graph as you mentioned. I would be glad if you can help in this. Thanks

 

 

0 Kudos
Message 3 of 6
(3,085 Views)

Hallo hariss,

 

it depends on how you provide your data to your chart/graph. Attaching a VI would help to understand your problem…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,079 Views)

Hallo Mr.GerdW,

 

            Please find the attachment. Thanks

0 Kudos
Message 5 of 6
(3,066 Views)

Hallo hariss,

 

the interesting part is the missing "plotdata_2012.01.10" subVI…

 

In any way you are using a XY graph. So all you need to do is clearing internal buffers when switching the rake!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,053 Views)