LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to extract 1 Darray and put them into new array

Solved!
Go to solution

Hi ,

 

Anyone can advise me how to extract from an array and put them into new array . (eg. i have an array with no 1 to 1000 , i would like to extract only 1 , 30 , 60 , 90, ...)  ?

 

Please advise me . 

 

thanks 

regards

0 Kudos
Message 1 of 28
(3,544 Views)

Hello,

 

Please go through LabVIEW basics.

 

Go to Block diagram >> Programming >> Array pallete

 

Use those VIs.

 

Regards,

Bijay

CLD

0 Kudos
Message 2 of 28
(3,535 Views)

I know there is array pallete . I wanna know which array function to use extract from one array and put them into new array . my original array have many data from (0 to 20k plus). i want only index of multiple of 30.

0 Kudos
Message 3 of 28
(3,532 Views)

Hi

 

have you searched the forums for similar questions?

have you checked the NI examples that come with LabVIEW?

 

there was a very recent post on a similar query

 

http://forums.ni.com/t5/LabVIEW/Find-row-in-2d-array/m-p/2285868/highlight/true#M721560

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 4 of 28
(3,523 Views)

Hello , 

 

i already find in the forum but there is only how to delete from array and find from array.

what i wanna do is not find from array , i wanna extract data from every 30 min interval . 

 

thanks

0 Kudos
Message 5 of 28
(3,519 Views)

Hi

 

i would suggest, open Context Help (Ctl+H), place the mouse on each and every function that is in the array palette. you said you know the array palette so thats a good start.

 

read the helpf or Delete Array, Index Array, Array Subset, Build Array

 

also, see the example code which was posted in the link i gave and see how to use That code and get what you want..

 

else, post the code which you have developed and we can show you where you are going wrong..

Regards
Freelance_LV
TestAutomation Consultant
0 Kudos
Message 6 of 28
(3,514 Views)

What i understood from your previous post i made a VI

 

Refer this and modify for your requirement.

 

Index Multiple of 30.png

 

Regards,

Bijay

0 Kudos
Message 7 of 28
(3,511 Views)

This VI might help you.

 

VI Developed using OpenG and in LV12

0 Kudos
Message 8 of 28
(3,507 Views)

Hi ManLD

 

Your attached Vi give my required output but it's also giving zero for unrequired data but i don't want zero output for unrequired data.

Please advise 

0 Kudos
Message 9 of 28
(3,488 Views)

Hello Bijay,

 

Could you please send me your vi?

 

thanks

0 Kudos
Message 10 of 28
(3,486 Views)