LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Index array between limits

Solved!
Go to solution

Hi All,

 

I have a byte array which i want to extract some information.

 

I need to extract 60 cells from the array, so using the index function to form a sub array is not pretty (wiring in 60 constants). Is there another way to do this ? i.e. inex between limits ?

 

Thanks,

 

 

Richard.

0 Kudos
Message 1 of 6
(3,867 Views)

Do you want to extract any intermediate values or values from index 2 to 10 ?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 6
(3,863 Views)

Hi,

 

I have 74 bytes in my array, and i wish to extract bytes 11 through to 71. Hope what I am asking makes sense,

 

Thanks,

 

RIchard

0 Kudos
Message 3 of 6
(3,857 Views)

Hello!

 

This is extremely easy using Array Subset function 🙂

 

Marcin

              

Think Dataflow - blog.mtapp.tech
Message 4 of 6
(3,848 Views)
Solution
Accepted by topic author lvrichard

You can use array subset, where you need to feed starting index and Length you needArray subset.png

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
Message 5 of 6
(3,843 Views)

Thankyou PalanivelT and Twardak,

 

Just what i needed!

 

Thanks again,

 

Richard

0 Kudos
Message 6 of 6
(3,829 Views)