LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Parrallel Tasks

I am developing a LabVIEW application to generate messages to be sent via TCP and/or UDP to another computer. I want the program to read messages from "scenario" files which will be pre-generated. However, i want to be able to select at run-time any number of different files to be runn simultaneusly, and would like to be able to have a task to read each file. Is there any facility similar to spawnTask in real-time OS that would enable me to do this? I am using LabVIEW 6i for windows but will be upgrading to 6.1
0 Kudos
Message 1 of 3
(2,350 Views)
A solution may be to have your VI reentrant and start it several times using VI server without waiting to finish. If you need them all starting execution in the same time, use a synchronization method.
From the TCP/UDP point of view, if you are using the same target port, you need to integrate a key for every packet to be able to differentiate the source of its content.

Hope this helps ... as an idea
0 Kudos
Message 2 of 3
(2,350 Views)
> A solution may be to have your VI reentrant and start it several times
> using VI server without waiting to finish. If you need them all
> starting execution in the same time, use a synchronization method.
> From the TCP/UDP point of view, if you are using the same target port,
> you need to integrate a key for every packet to be able to
> differentiate the source of its content.
>


And if you need panels opened, you should consider using VI templates or
..vit files. Each time they are opened using the VI Server, you get a
cloned panel as well as a VI to run.

Greg McKaskle
0 Kudos
Message 3 of 3
(2,350 Views)