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
(1,091 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
(1,079 Views)
0 Kudos
Message 13 of 17
(1,075 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
(1,070 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
(1,068 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
(1,045 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
(1,031 Views)