04-02-2009 07:46 AM
Hi
I have a VI which i want to call a number of times defined by the user. so i can simply put the vi in a for loop and call it accordingly
now each time the vi is called, it executes data independently of the previous call. Hence i want to run them in parallel using reenterant property.
However the no of times a vi needs to be called can be determined only during run time..
How do i do this?.. hope i have made my question clear
thanks in advance
04-02-2009 12:21 PM
Hi Ujjval Shah,
it seems to me that you should be able to determine the number of times the launching loop executes by using a for loop and wiring a numeric control to the Loop count terminal:
this way the loop executes the number of times the user has written in the control thus launching your subVI that exact number of times.
In any case, consider that this is the CVI-related board: you may find a more detailed help by reposting this question to the LabVIEW forum.
04-02-2009 12:39 PM
hi roberto,
thanks for your reply. my apologies for posting at the wrong place.
see my problem is that i want to execute all the iterations of calling the vi in parallel and not sequentially. the no of iterations is known only at the time of execution. how do i do it?
ps: is it possible for you to shift this thread to the labview forum ?
thanks
04-02-2009 01:10 PM