I'm trying to use classes with Labview to be allow using the same code further times simultaneously.
For exemple, I have a vi having an input parameter which is a condition for a case loop that do different actions depending of the input. The problem is that in standard programmation (LV), the program wait that the first instance of the vi finishes before launching the second instance of the same vi.
So, I would like to use the same vi twice at the same time. If the first instance is waiting in a while loop, the second instance would continue working by itself.
I tried to use classes to use OO instances but it didn't seem to work. I created a class in my project containing my code that is called twice in my main program, but it is still waiting in the first instance before launchin the second one.
Auriez-vous un exemple simple d'utilisation des classes avec action parallèles? Do you have any ideas and exemples of how to programming to launch twice the same vi in parallel?