LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple plots in Express XY graph

Hello,

I'm trying to have several plots in an Express XY graph and use it without clearing data on each call - like a chart.
On the Y Input, I'm inserting an array with 2 values (1 for each plot) and in the convert to dinamic data I choose 1D array of scalars - multiple channels. The problem is that there's only one plot in the graph.

See attached example test.vi

Can anyone help?
Thanks.
0 Kudos
Message 1 of 6
(4,852 Views)
Hi Paulo

You need as many x arrays of values as y arrays of values.

See attached doc

Cheers
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
Message 2 of 6
(4,832 Views)
Hi Alipio,

It worked,

Thanks a lot.
0 Kudos
Message 3 of 6
(4,829 Views)
Hello,

My multiple plots are now working quite fine, but now I have a problem that after some time sending data to it, the load of my processor starts going up a lot.
I can imagine that I cannot send data to the graph forever ('clear data on each call' flag is off), it should have a buffer length, but I cannot find it.

Can anyone help?
Thanks
0 Kudos
Message 4 of 6
(4,819 Views)
Hello

Ok, you will have to convert express vi to standard vi ( Open front panel/ convert).

Then, go to block diagram and limit amount of data using "array subset" function.
If you have toolkit to create express vis, you can get it back to express. If not
use it as a regular vi.

Greetings
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 5 of 6
(4,808 Views)
I was affraid that was the case...
Thanks for the help.
0 Kudos
Message 6 of 6
(4,806 Views)