Are you looking tfor a continous adjustment unitl the level is acceptable?
You might want to try passing the data through some case statemenst and
adjusting it there, then continuing on with the program after it has
adjusted from that point.
I amnot quite sure what you mean, but I hope it helps.
"Clara" wrote in message
news:506500000008000000D64F0000-1023576873000@exchange.ni.com...
> Function of program
> A current is first injected into the resistive sample, voltage is
> measured across it. If the measured voltage is not within the range
> (0.5-5V), the program will have to automatically adjust the current
> such that the measured voltage is within the range specified.
> However, existing program will only inject the current after voltage
> is measured,
which does not fulfil our requirement. How do I modify my
> program so that the program sequence will execute in this way? Pls
> help,Thanks!!