LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

split 2d array to dbl double

Hi,

Have some data I am trying to get out of a 2d array of dbl to put in to a single indicator dbl, what function/ functions do I use to do this?

Any help appreciated

Regards

Brett Scott
Snr Mining Engineering Technician
Western Australian School of Mines
Curtin University of Technology,
Locked Bag 22, Kalgoorlie Western Australia 6430
Ph: 08 90886159 Fax: 08 9088 6151 Mobile: 0407441251
Web http://research.wasm.curtin.edu.au/
0 Kudos
Message 1 of 5
(2,769 Views)
The simplest solution is to wire your array to the "index array" function, and to wire the row and column indexes to get a specific element. But I suppose that your problem is slightly more complicated ?

CC
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 5
(2,763 Views)
That is the one I wanted, I wired a index zero to this and I get the time, but how do I get the readings I want from the second row, pressure? changing the index to 1 doesnt change the reading. (still getiing time).

Cheers

Brett
Snr Mining Engineering Technician
Western Australian School of Mines
Curtin University of Technology,
Locked Bag 22, Kalgoorlie Western Australia 6430
Ph: 08 90886159 Fax: 08 9088 6151 Mobile: 0407441251
Web http://research.wasm.curtin.edu.au/
0 Kudos
Message 3 of 5
(2,761 Views)


@Skegsy wrote:
That is the one I wanted, I wired a index zero to this and I get the time, but how do I get the readings I want from the second row, pressure? changing the index to 1 doesnt change the reading. (still getiing time).

Cheers

Brett


there may be some mistake in your diagram. I suppose you didn't confused raw and columns ? If your data are read in a loop, check that the index in inside the loop. Otherwise, post your vi (or a simplified version), someone will arrange that for you.
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 5
(2,758 Views)
Cheers Mate, crystal clear now.

Thanks


Brett
Snr Mining Engineering Technician
Western Australian School of Mines
Curtin University of Technology,
Locked Bag 22, Kalgoorlie Western Australia 6430
Ph: 08 90886159 Fax: 08 9088 6151 Mobile: 0407441251
Web http://research.wasm.curtin.edu.au/
0 Kudos
Message 5 of 5
(2,755 Views)