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: 

clear array

Hello,

 

I feed a global variable which have an array, and I want to clear the data in this array before restarting my loop..

 

 

Any idea ?

Peter.

Labview 2010
0 Kudos
Message 1 of 4
(3,257 Views)

Umm... wire an empty array to it?

 

Of course, this begs the question, and the suspicion that you're probably doing something in an incorrect manner. Especially when I see the words "global variable". Care to post your code?

0 Kudos
Message 2 of 4
(3,253 Views)

Let me explain want I want to do :

 

I want to store values in an array in a global variable, and when I restart the loop I want the clear the last value before fill the array again..
 

I've enclose the begining of my program, that should give you an overview of what I want to do.

Peter.

Labview 2010
Download All
0 Kudos
Message 3 of 4
(3,246 Views)

I have no idea what that VI is supposed to show, as it makes no sense. You also did not include another global variable. I think you need to start at the real beginning to explain what it is that you are trying to do.

0 Kudos
Message 4 of 4
(3,240 Views)