ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

plot array

Hi everyone!!

 

I have an array that it has [0000111100001111]. I would like plot two graphs from this array. The first one it should be [00000000] and the second with [11111111]. I mean, in the array each element is repetated 4 times so this is the problem. I need something VI which I can select a bucle or something like that to build a new array each 4 times. Any idea???

 

Thank you!

0 Kudos
Message 1 of 3
(2,765 Views)

Hi kantabra,

 

      Not sure if this will solve your problem. This vi repeats each of the element of your input array(as configured by # of repetition per element).

 

vi.png

 

 

0 Kudos
Message 2 of 3
(2,748 Views)

I don't understand your question. How did you get from [0000111100001111] to  [00000000] and  [11111111] ? Are you taking 4 elements at a time and alternating between 2 arrays? If the source array were [0001 0010 0011 0100] would the two arrays then be  [0001 0011] and  [0010 0100] ? Would they be something else?

0 Kudos
Message 3 of 3
(2,736 Views)