LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multithreading labview

Hi, where can i find a library on Multithreading as in CVI but for Labview , because i would like use data from a thread for an another thread in a same time.
 
i ' m going to try to explain precisely :
i have a first thread which computes datas
In a second Thread, i want to taste this data.
my two threads are in While loops.
 
 
TheGame 
 
0 Kudos
Message 1 of 2
(2,141 Views)

There are several ways to transfer data between loops, the simplest being using local or global variables, which should be used with care, because they can easily introduce race conditions.

Other options, which also work between different VIs, are LV2 globals (also called functional globals) and the VIs in the Advanced >>Synchronization palette.

This is really pretty basic stuff in LV. To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,135 Views)