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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is For/While loop Iteration I32?

I like the idea as well.  Just make it similar to the new 'conditional terminal' option.  Right click, and you can then include a 'base' and 'step' terminal, just below the N on the top left. 

Simple and powerfull.   And doesn't sound very hard to implement either...

0 Kudos
Message 11 of 38
(1,289 Views)
Hi everyone,
I thought I might show everyone the product suggestion center on NI.com.  Engineers actually look at these so they don't simply go into a black hole.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 12 of 38
(1,267 Views)
It was already suggested quite articulately. Smiley Happy

___________________
Try to take over the world!
0 Kudos
Message 13 of 38
(1,248 Views)

One problem that would need to be addressed is the current restrictions of array indices to I32. So if you have a U32 loop, you could easily create an autoindexing output that exceeds the currently allowed array size. Still, on a 32 bit OS, it would be hard to exceed that size anyway (at least in memory) so I am not sure why that extra factor of 2 (going from I32 to U32) would ever be useful.

Did you really run into a limitation because if I32? Can you show an example?

(Maybe in a few years we'll have a 64 bit LabVIEW with I64 array indices and I64 FOR loops. ;))

0 Kudos
Message 14 of 38
(1,237 Views)

Eric, is there a way to see what's allready suggested to the 'product suggestion center' ?   

0 Kudos
Message 15 of 38
(1,216 Views)
Hi Anthony,
Unfortunately NI doesn't make that information available to the public.  However, we would like encourage everyone to make a suggestion for every good idea they have, even if it might have been suggested already.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 16 of 38
(1,174 Views)

I am new to LabView.I want to run iteration for negative i as well.Can you pls suggest me a way to do that...??

0 Kudos
Message 17 of 38
(792 Views)

How is that supposed to work? 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 18 of 38
(783 Views)

As of now i am doing it with adding 'i' with a negative number and making some further manipulations to get my work done but it makes it very complex.I think there must be some easy way out to this.As i was searching on forums, i came across use of "arrays and/or clusters" for making configurable for loops but i couldn't comprehend that.In case it can't be done using for loop ..u may suggest some other way.I was wondering if i would make my own counter using some way(as mentioned in this post as one of the replies),will it serve the purpose..??

0 Kudos
Message 19 of 38
(781 Views)

You are trying to iterate through an array backwards?  If that is the case, then just use a Reverse 1D Array function in there and then autoindex on your FOR loop.

 

If I'm misunderstanding, please provide an example of what you are trying to do.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 20 of 38
(779 Views)