08-03-2010 01:29 PM
@Pazmush wrote:
Anyone got any more Ideas
Nothing has really worked yet
As suggested, use the Ramp Pattern VI. It's not that hard.
08-03-2010 01:31 PM
I'm afraid it isn't working how I would like.... for example, if I choose to go between 20 and -9, it will start from -9 and go to 19, where as my instrument will go from 20 to -8...... can someone explain how I can make my untitled a recursive VI
08-03-2010 01:32 PM
I can't use ramp pattern, it involves needing to know a sample size and if I use one odd number and one even it won't match my instrument... Sorry
08-03-2010 01:43 PM - edited 08-03-2010 01:44 PM
@Pazmush wrote:
I can't use ramp pattern, it involves needing to know a sample size and if I use one odd number and one even it won't match my instrument... Sorry
You're not even trying. It's called basic arithmetic.
08-03-2010 01:59 PM
No.... That doesn't work for my purposes, for example put in -10 to 9 and see what you get out what I want is -10. -8, -6, -4, -2, 0, 2, 4, 6, 8
Get it?
08-03-2010 01:59 PM
with an interval of 2 that is
08-03-2010 02:14 PM
Any way.... here is my solution, I hope it helps someone.... please advise me if there is a simpler way around this problem...
08-03-2010 02:17 PM
1) Did you try exchange the start end so that the start is always smaller than the end AND
2) Pass the final results through a revers 1d array?
Ben
08-03-2010 02:19 PM
LV10 has a new Ramp Pattern VI, until then, here is a range checked recursive version for entertainment purposes. If it works for you, great, I would probably still use a loop.
08-03-2010 02:22 PM
Darrin's is better than mine.... isn't it?????