LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

thread pipe

hello,
'
i would like to developp an application with a controller and ten  threads  which are in a listening state of datas.
To realize this,  each thread must control the presence of datas in it own pipe.
So i would like to know if there are controls which enable to write and read in pipes
 
 
TheGame
0 Kudos
Message 1 of 3
(2,837 Views)

I use the labVIEW queues to implement an architecture that sounds somewhat like this. In mine the data in the queues is in the form of arrays, with the first element being an ID relating to the sub-vi ("thread") that is to receive it. In each sub-vi I have a "Preview queue element" that looks to see whether the data at the top of the queue is addressed to that sub-vi, ignoring it if it isn't. The sub-vi's receive and return data on the common queue, and in my implementation are able to communicate with each other rather than with a master "controller" but possibly this concept can be modified to fit your needs.

 

P.M.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



Message 2 of 3
(2,825 Views)

is it possible  that you send me an example of  your program ,because your application seems to be the same as mine

If you don't , thanks for your explanations

 

TheGame

0 Kudos
Message 3 of 3
(2,814 Views)