From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

block values from entering array

Start to learn the given material, you can see the links above ("Looking For Free Training"). It will really help.

Here is an example how to use shift register to exclude for example a certain number from an array:

 

Example_VI_BD.png

0 Kudos
Message 11 of 17
(908 Views)

This is going to sound silly but I don't see the links, and I guees I interpret your example as not allowing the second indexed position to be passed right.

0 Kudos
Message 12 of 17
(896 Views)

https://decibel.ni.com/content/docs/DOC-40451

scroll down to the bottom of the website

0 Kudos
Message 13 of 17
(892 Views)

Oh sorry it was in your original post, thanks a lot, case statements have really been frustrating me on here, I wish if a condition wasn't meet the statement would just do nothing lol.

0 Kudos
Message 14 of 17
(887 Views)

That or I wish I had a newer version of lab view so I could conditionally iterate through an array much easier as one of the comentors suggested

0 Kudos
Message 15 of 17
(885 Views)

if you are a student, you can get the newest version of LabVIEW for free:

http://sine.ni.com/nips/cds/view/p/lang/en/nid/210866

 

Actually i have even got a home licence just for a few usd:

https://www.digilentinc.com/Products/Detail.cfm?NavPath=2,66,1457&Prod=LABVIEW-HE

 

Anyway, if you want to learn LV, you must be familiar with all basics: specially case structures and shift registers.

0 Kudos
Message 16 of 17
(862 Views)

Just a small correction:

"and I guees I interpret your example as not allowing the second indexed position to be passed right."

No, it is actually the third element, the first is 0, second 1, third 2. LabVIEW is like C language, using zero indexed arrays. (For example Fortran uses 1 indexed, so it starts at 1.)

0 Kudos
Message 17 of 17
(848 Views)