LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

view graphs

Solved!
Go to solution

Hallo All,

 

        I have 5 rakes each having 5 probes, so in total 25 measurements.

 

Rake 1: PVE_1C1, PVE_1C2, PVE_1C3, PVE_1C4, PVE_1C5

Rake 2: PVE_1J1, PVE_1J2, PVE_1J3, PVE_1J4, PVE_1J5

Rake 3: PVE_1S1, PVE_1S2, PVE_1S3, PVE_1S4, PVE_1S5

Rake 4: PVE_1U1, PVE_1U2, PVE_1U3, PVE_1U4, PVE_1U5

Rake 5: PVE_1X1, PVE_1X2, PVE_1X3, PVE_1X4, PVE_1X5

 

Through DAQ system the vaues of these measurement names are recieved along with a time stamp. I have plotted the XY graph with x axis as time and y axis as values for each rake. I have control for which rake has to be plotted. When i Change the rake number the graph starts freshly. I wanted the graphs to plot continously and i can switch the view to which ever rake graph i want to see. Please find the images for reference. Thanks in advance. 

 

Regards

Hari krishna

Download All
0 Kudos
Message 1 of 11
(3,118 Views)

Hi Hari,

 

all we can say from your BD image: You need to change your data buffering and display…

Best regards,
GerdW


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

Hallo Mr.GerdW,

 

        Thanks for the reply. I am very beginner. I would be glad if you can provide an example or screenshot of how to change the buffer and display. Sorry If Iam taking lot of your time. I highly appreciate your help.

 

Best Regards

Hari krishna

0 Kudos
Message 3 of 11
(3,085 Views)
Solution
Accepted by topic author harisskriss85_85

Hi Hari,

 

right now it seems you create a new buffer each time you switch the case.

 

You need to change it so you store all measurement values in your buffer. The user than just selects, which signals should be displayed in the graph - the signals will be get from the "whole" buffer…

Best regards,
GerdW


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

Hallo Mr.GerdW,

 

       Thanks for the solution

0 Kudos
Message 5 of 11
(3,059 Views)

Why not use the build-in plot visisibility property

LV2012 has a bug in the legend , the first plot can not be disabled by a checkbox ....    so another way is shown (that could be improved however it works .....

View Listbox is set to 1 or more Items .....

 

select.png

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 6 of 11
(3,040 Views)

Hallo Mr.Henrik,

 

Thanks for the solution. I think your suggestion was about plots in a graph. My problem was, I had a case structure controlled by an Enum. When I change the case by Enum, the graph starts freshly for the new case. 

0 Kudos
Message 7 of 11
(2,988 Views)

Hallo Mr.GerdW,

 

      Suppose i have mutliple graphs (for example 10 XY multi plot graphs). I dont want to see all the graphs at the same time. How can I control viewing of a praticular graph which I want? Thanks for your time

0 Kudos
Message 8 of 11
(2,985 Views)

Hi hariss,

 

you can use

- use the visibility property of the graphs

- put the graphs on different tabs of a tab container and switch between those tabs

- put the graphs in subpanel VIs in a subpanal container

- use only one graph and change the data that is visible in the graph…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 11
(2,980 Views)
Solution
Accepted by topic author harisskriss85_85

Hallo Mr. GerdW,

 

  Thanks for the instant reply. 2nd option suits me best. 

0 Kudos
Message 10 of 11
(2,975 Views)