07-23-2019 04:21 AM
So I have a DAQ graph inside a SubVI which is in a loop.
So unless the loop is executed, the Main VI does not get the value of the graph. Hence an approach I used is to use a reference which is working.
In Main VI and associated graphs:
But the question is, how do I update 2 graphs which should have the same value on the Main VI? I tried several ways but the second graph is not updating.
Any ideas? Thank you!!
07-23-2019 04:24 AM - edited 07-23-2019 04:24 AM
Hi rajiv,
Hence an approach I used is to use a reference which is working.
Use one more reference for that other graph!
I would not use that approach by reference, your UI might become slow due to shuffling larger (?) datasets into graphs by reference. There surely is a better way, like subpanels…
07-24-2019 03:27 AM
Gerd, I could not quite see how to implement the idea of subpanels, although I get the idea. Am trying to implement the most effective methods.
I just tried to use an FGV in the SubVI which is buffering the data ( remember you told me about it: using a shift register), well I implemented that.
Now the idea would be simply to read the buffer on the main panel. Would that be the best way? Or the subpanel is still the best way? Thank you a lot for a response!!!
07-24-2019 03:34 AM
07-24-2019 03:50 AM
Best for me is what an expert in LabVIEW would consider as the best approach for that purpose.
So am doing data acquisition. However it is done within a SubVI as the whole structure is too large for the main VI. However the data needs to be seen on several graphs on the main VI.
So far the FGV is working. So I buffer the data in the SubVI in the FGV and read it on the main panel and use it over for each graph I want to visualise the same result or permutations.
07-24-2019 08:15 AM
Hello Gerd,
I confirm that using a reference from a SubVI to display a graph via reference to the Main VI slows down the Data acquisition of the subvi considerably.
Thanks for pointing that out!