06-14-2012 06:21 AM - edited 06-14-2012 06:27 AM
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
06-14-2012 07:09 AM
For those who can read German: here's already a lengthy thread on this topic...
06-15-2012 04:32 AM
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
06-18-2012 07:49 AM
here are the subvis
06-18-2012 07:50 AM
more subvis
06-18-2012 07:51 AM - edited 06-18-2012 07:56 AM
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".