LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

need help with multiple plot xy graph

Hello,

 

I need your help with my multiple xy graph.

I have don it like in the examples but it does not work. Instead of two plots, there is only one plot with the two data arrays mixed.

What have I done wrong?

 

Johannes

 

LabVIEW 7.1

Chart_Test_7.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Message Edited by johanneshoer on 10-14-2009 08:07 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 1 of 7
(4,927 Views)

 I think I found out....

 

There needs to be two data arrays and one more bundle...

 

Is it ok like that? I doubt it... although it works

 

Is there a better way??

 

Chart_Test_8.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 2 of 7
(4,919 Views)
this one is really related to that...
Best regards,
GerdW


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

I want to get rid of the two arrays.

 

I simply joined these two arrays into one array and I select an array subset for the xy graph but that does not work.

Now the two data arrays get mixed again in the chart.

 

I can't see what is wrong. I have tried many things like indexing the array before the xy graph, directly wiring the array to the graph etc. nothing worked.

 

Please help.

 

Chart_Test_9.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Message Edited by johanneshoer on 10-14-2009 09:45 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 4 of 7
(4,894 Views)

finaly... after 100000 tries.

 

It's not yet working 100% correcty, but the chart is now behaving like I want it!

 

Chart_Test_10.PNG

Message Edited by johanneshoer on 10-14-2009 10:33 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 5 of 7
(4,888 Views)

finished Smiley Happy

 

Chart_Test_10.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Message Edited by johanneshoer on 10-14-2009 10:53 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 6 of 7
(4,885 Views)

Dear LabVIEW experts,

 

I would like to know your opinion about my last version. Is it ok or are there stil things to improve?

 

I wonder why it is so complicate to display multiple data in a graph (indexing the data array, bundling, building the array again)

 

How much resources (memory & cpu time) does "delete from array" need? I could imagine, that it stresses the CPU, if I have a large array and if I delete the first row.

 

Are you able to open my 7.1-VIs with your LabVIEW versions (8.0, 8.5, 2009, whatever)?  

 

Johannes

 

Message Edited by johanneshoer on 10-15-2009 02:44 AM
Greetings Johannes
Using LabVIEW 7.1 and 2009 recently
0 Kudos
Message 7 of 7
(4,863 Views)