> i tried the for loop with an array of of values, but but the step
> increment is nonadjustable. i need to step the voltages
> 2,.4,.6,.8,1.0,1.2,1.4,1.6,1.8,2.0,2.2,2.4,2.6,2.8,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,
> somewhat like that. how would you do something like that.
If you are trying to create a linear ramp, there are a couple easy ways
to do it. In the analysis palette under signal generation there will be
a ramp generation VI. You pass in the parameters and it will return an
array of values.
Or you can use a For loop. As you mention, i always counts by one as an
integer, but you can multiple it by your step size and add to the first
point and you have your ramp. Even better, once you are happy with it,
Select it and make a
subVI using Edit>>Create SubVI and it will shrink
to just an icon that you can use wherever you need this.
Greg McKaskle