03-28-2020 07:17 AM
hi
i want simple example to transfer numbers from one vi to another.
and what to do if i want to change it to transfer for example string or boolean character?
Thank you.
03-28-2020 07:47 AM - edited 03-28-2020 07:51 AM
To pass values into or out of a VI, add controls and indicators to the Connector Pane (top right of front panel window).
Add controls and indicators of the appropriate type for the data you want to pass.
See Building the Connector Pane for more details.
To pass values whilst a VI is running, you'll need to use something like a Queue, Notifier or Channel Wire. These provide a method to pass data into or out of a VI without the VI needing to finish (or after it starts, when passing data in).
03-28-2020 08:46 AM
i found this example using queue function to do it do you have a simple example like this using queue function and transfer numbers from a vi to another?
03-28-2020 08:50 AM
Producer/Consumer, you just need to have controls on the VIs to input the reference into the VI(s). Or, you could store the queue reference in an Action Engine.
03-30-2020 05:59 AM
All NI courses are free at this time. I suggest you start with Core 1: