LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to seperate an array returned by FPRead into individual elements

i am reading data from a FP_DI_330 module continously i wanted to find a way to break teh array into individual elements. i can use index array and get individual elements but wanted to find a easier way to do the sam in one step.
0 Kudos
Message 1 of 3
(2,723 Views)
Depending on the size of your input array, you can make a sub-vi to do the break-up. Also, have you tried the Decimate 1D Array function? The draw back with this function is that the output are going to be arrays too even if they contain 1 element.
0 Kudos
Message 2 of 3
(2,723 Views)
What version of LabVIEW are you using? In version 6i and higher, Index Array can output any or all elements of the input array. Resize the function icon by dragging from the bottom to expand it.

See http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c455fb342d8bd21786256944007743df?OpenDocument

Tim
0 Kudos
Message 3 of 3
(2,723 Views)