LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform chart with RS232

Hello,

 

i tried to plot measured values from 2 devices. I first got a Software from ZES Zimmer for one device and then configured this VI so that i can measure also values from the other device. Now this VI has already a function for plotting from the first device but i already want to plot in the same chart the other values. For this i made a VI but it doesnt really work because see my screenshot. Could someone help me ? I attached the VI also.

 

The waveform chart is in the case cont. measure

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

For those who can read German: here's already a lengthy thread on this topic...

Best regards,
GerdW


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

I didn't open your VI. SubVIs are missed.

 

If you open a VISA Ressource, this ressource is reserved. So you should clear the ressources.

 

I don't know exactly what is the goal of your application, but try to use the advanced VISA Read_Write example.

 

If the two VIs for your instrument are separate you should use Variables like Global Variable to pass Data .

 

Don't use Variables too much because you can risk a race conditions.

 

You can choose also a better Architecture to read and write Serial Data. You can synchronise also Data with Queues.

 

http://expressionflow.com/2007/10/01/labview-queued-state-machine-architecture/

 

https://decibel.ni.com/content/docs/DOC-22047

 

http://sine.ni.com/devzone/cda/epd/p/id/1977

 

http://www.ni.com/white-paper/3022/en

Kais Mekacher
Applications Engineer
Germany - Munich
0 Kudos
Message 3 of 6
(3,560 Views)

here are the subvis

Download All
0 Kudos
Message 4 of 6
(3,540 Views)

more subvis

Download All
0 Kudos
Message 5 of 6
(3,537 Views)

and in this zip the original Demo VI incl. the SubVIs are included

 

Now i can plot the measured values but i have another problem, i want to select the data which i want to plot.

In the Demo VI there is already a function like this but now i want also a function like this for the other device.

Can somebody help me with this ?

In the Demo VI this is solved with a propertynode "objectname".

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