ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(3,331 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
(3,321 Views)