08-17-2011 09:57 AM
Hello !
I want to do in my program something like this:
I create the next subVI:
I create a variable called Numeric Synchronous display which actualice it every 500msec, it is shown in front panel, and at the same time create an array.
Then I create a mainVI as follow:
How can I see the Synchronous values in mainVI???? Can I visualize it???
08-17-2011 10:05 AM
Dataflow says that every node waits for all of its inputs until it executes.
So your "How to have a numeric synchonous display here" indicator waits until the SubVI finished it's execution.
The simplest way would be to create a global variable or a property node reading the value of the indicator in the SubVI.
Hope this helps,
Christian
08-17-2011 10:09 AM
@Christian_M wrote:
Dataflow says that every node waits for all of its inputs until it executes.
So your "How to have a numeric synchonous display here" indicator waits until the SubVI finished it's execution.
The simplest way would be to create a global variable or a property node reading the value of the indicator in the SubVI.
Hope this helps,
Christian
This would be the simplest solution but generally not the recommended one. Passing data to a UI task to update the display is generally accomplished using queues, notifiers or user events. Global variables and property nodes couples the code too much and can make maintenace difficult as the application grows and becomes more complex.