Hello,
I am trying to program a variable sweep for an instrument.
There are 20 variables, A,B,C, ...
Each one has a parameter range Low, High, Step.
Each one can be called in a hierarchy:
Loop A:
Loop B:
Loop C:
Measurement
Or
Loop C:
Loop A:
Loop B:
Measurement
Now I have 20 variables, if I were to code out each possibility that's 20!
My current idea is to :
read from a text for the looping sequence,
create a queue of vi references,
call the first vi from the queue, and pass rest of the queue sequence
then the first and each subsequent vi will call take out the first element of the queue and call it, until there is no more to call.
Is there any idea on to program this? Maybe there is better way to do this?