From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Loop Problem !

Dear Friends,

I need to do a loop which increaments the Voltage part of my string ( please check the picture for it ! ) I want my power supply to increment its output with its commands.

But since the string is not a value i just can`t manage to do this loop...

help...

With Best Regards




Message Edited by Support on 11-13-2007 12:59 PM
0 Kudos
Message 1 of 2
(2,876 Views)
What you need is a shift register with a numeric and then convert that to a string. With a while loop, increment the number each iteration and terminate the while loop when your max value is reached. I've attached a picture of an example. Please also note that I've attached a jpeg file. Bmp files take too long to download. MS Paint gives you the ability to save bmp files as jpg.
0 Kudos
Message 2 of 2
(2,866 Views)