LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

run multiple instances of the same project concurrently

Is it possible to run two versions of the same project concurently? I have tried to duplicate the project, each of the two (parent and clone) projects operate as expected individually but as soon as I try to run them together they conflict with each other with errors such as "Error 1055, LabVIEW: object reference invalid" (error produced by a property node).

0 Kudos
Message 1 of 4
(3,473 Views)
By project do you mean a LabVIEW project in the development environment? If so - the answer is no. You would need to copy all of the project files over to a new directory and then rename the project file (.lvproj), then you should be ok.

If you mean an executable, there is an INI flag you can set which allows multiple instances of a LabVIEW executable to run at the same time.

LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 4
(3,470 Views)

Thank you for the suggestion. It is a LabVIEW project. I have tried renaming the projects but the conflicts still occur between the two. The Error seems to come from the attached segment of code.

0 Kudos
Message 3 of 4
(3,449 Views)

 

Your error is unrelated to copying the project. The TabCtrl (strict) property which returns the pages is not linked to a specific tab control so it expects you to wire a Tab reference to the incoming reference terminal). Create a control from the TabCtl (strict) node and then wire to it from the calling VI.

 

This should show you the difference:

TabProperties.png


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 4
(3,433 Views)