LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

splitting array index further

Hi,
I want to split the array(0) index into further indices.
Means in my applciation i'm getting array(0)= 4897 (for ex)
But i want the output array as array(0)= 4
                                                array(1)=8
                                                array(2)=9
                                                array(3)=7
 
 
0 Kudos
Message 1 of 3
(2,836 Views)

Hi

Do you get an array where the element at index 0 is 4897 (which means a single number)? Or do you have a "horizontal" array?

Maybe you could post your code or a screen shot.

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 3
(2,829 Views)
You can do it using Quotient & Remainder function. I have made the assumption that the number is an integer and not floating point. Its not a good idea to check for equality between floating point numbers
 
 
David

Edit: spelling

Message Edited by David Crawford on 12-05-2006 01:11 PM

Message Edited by David Crawford on 12-05-2006 01:13 PM

Download All
Message 3 of 3
(2,830 Views)