LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running the same code multiple times with different paramters automatically

Hi guys,

I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only

X_Intial, X_Final, X-StepSize
Y_Intial, Y_Final, Y-StepSize

   Thanks,
Dushyant
0 Kudos
Message 1 of 3
(2,644 Views)

All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.

Message Edited by Dennis Knutson on 07-13-2006 07:50 AM

Message 2 of 3
(2,636 Views)
Thanks Dennis
0 Kudos
Message 3 of 3
(2,615 Views)