From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
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
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.
> 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.