01-23-2013 01:06 AM
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
Solved! Go to Solution.
01-23-2013 01:23 AM
Hello,
Please go through LabVIEW basics.
Go to Block diagram >> Programming >> Array pallete
Use those VIs.
Regards,
Bijay
CLD
01-23-2013 01:28 AM
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.
01-23-2013 01:41 AM
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
01-23-2013 01:45 AM
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
01-23-2013 01:49 AM
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..
01-23-2013 01:52 AM
What i understood from your previous post i made a VI
Refer this and modify for your requirement.
Regards,
Bijay
01-23-2013 01:54 AM
This VI might help you.
VI Developed using OpenG and in LV12
01-23-2013 02:57 AM
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
01-23-2013 03:06 AM
Hello Bijay,
Could you please send me your vi?
thanks