LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

splitting mulit-dimensional array into 1-D array

Hi,


I am a new user learning fudamentals in labview....

I have an Numeric Array of 4-columns and many rows,the rows keeps growing...
I need to read the data by column wise and plot it on the xy-graph.

plotting should be like this ..........
        2nd column data in x-axis and(should be used as x-scale) ........to plot the y-axis data with reference to x-axis scale
         3rd column and 4th column data in y-axis..

please give some example vi's to read the array by row-wise...

Regards
Rajasekar
0 Kudos
Message 1 of 4
(2,727 Views)

Dear Rajasekar,

The array functions are all well documented in help given with LabVIEW, do explore the array functions in functions palette and you will be able to learn these by yourself

Just drag drop a function form array functions palette on to teh block diagra, keep the 'show context help' window open and learn what each function does

Also go through Online tutorials found in NI developer zone to understand LabVIEW better

And for the splitting of arrays, THE 'INDEX ARRAY' function in the arrays functions palette will do the job

0 Kudos
Message 2 of 4
(2,714 Views)
use the "array subset" in the programming > array> array subset.

also recommend to try and learn more about labview by showing context help and roll over each block and you will find a smal tip about it. after that if the small tip is not so useful you can click on the detailed help link just below the small help in the context help window.

you can find the context help by clicking > help > show context help

or by just clicking "?" icon on the top right corner below the minimize/restore/close window buttons.
0 Kudos
Message 3 of 4
(2,703 Views)
A nice feature of the Index Array that you might not know as a beginner is that it is expandable.  I think the attached code is basically what you are looking for.
0 Kudos
Message 4 of 4
(2,695 Views)