LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Empty 2D array

Hi everyone....

May I know how can I empty / clear the data of 2D array? Give me example of vi if you could.. THANKS!!


0 Kudos
Message 1 of 6
(4,299 Views)
Just wire a constant without any values to it.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 6
(4,295 Views)

Just wire a constant without any values to it. You can easily do this by right-clicking the variable/terminal you want to write and select "create constant". Check if it contains value - if so, right click the constant and select Data operations >> empty array.

Hope this helps.

Thomas

Message Edited by becktho on 02-17-2006 11:35 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 3 of 6
(4,299 Views)
The empty constant is only for 1 data...
My problem is, I want to delete the content of the 2D array (which contain data), so that I can re-use it for inserting data from index 0 again. Any idea or example? Thanks
0 Kudos
Message 4 of 6
(4,294 Views)
Move the cursor over the index-display. If you are on the bottom of it, the curser changes to a vertical resize-cursor. Drag to add as many dimensions as you want. This is the same procedure as you have to do on front panel terminals to add dimensions.
 
According to the recent questions I saw from you, I strongly suggest you to have a look at the LV-manual.

Message Edited by becktho on 02-17-2006 11:45 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 6
(4,294 Views)
THANK YOU so much!! The data operation-->empty array helps me...!!! Smiley Happy
0 Kudos
Message 6 of 6
(4,286 Views)