LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Number Array VI wont work backwards!

 


@Pazmush wrote:

Anyone got any more Ideas

 

Nothing has really worked yet


As suggested, use the Ramp Pattern VI. It's not that hard.

 

0 Kudos
Message 11 of 22
(1,514 Views)

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

0 Kudos
Message 12 of 22
(1,513 Views)

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

0 Kudos
Message 13 of 22
(1,510 Views)

 


@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.

 

0 Kudos
Message 14 of 22
(1,495 Views)

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?

0 Kudos
Message 15 of 22
(1,482 Views)

with an interval of 2 that is

0 Kudos
Message 16 of 22
(1,481 Views)

Any way.... here is my solution, I hope it helps someone.... please advise me if there is a simpler way around this problem...

0 Kudos
Message 17 of 22
(1,464 Views)

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

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 18 of 22
(1,462 Views)

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.

 

 

0 Kudos
Message 19 of 22
(1,460 Views)

Darrin's is better than mine.... isn't it?????

0 Kudos
Message 20 of 22
(1,457 Views)