LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I resize an array directly (without using reshape array)?

Solved!
Go to solution

Hi everyone,

 

I have a porgam in which I am using an array as a command (with specific values that the user enters before running the program). By mistake, at the beginning I created a 4 dimension array (for instance), but I didn't know because I was only showing the first 3 values (not expanding the array to 4 or more). I would now like to change the size of the array from 4 to 3. I don't seem to be able to find an option (right clicking on the array) that enables me to do this directly. I don't want to use the "reshape array" icon, because this is not what I want to do. I hope I am clear enough.

 

Thanks for any help,

 

regards,

 

Marc

 

 

0 Kudos
Message 1 of 4
(2,817 Views)
Solution
Accepted by topic author marc france
  • right-click the extra array element and select "data operations...delete element".
  • Now go to the menu bar and do "edit...make current values default"
  • save the VI.
Message 2 of 4
(2,812 Views)

HI,

          If i have understood your question hope this helps you. If you want to change the size of the array right click on the array element and click Data Operations>Delete Element or if you want to do programmatically delete the particular element.

Message 3 of 4
(2,806 Views)

ooops forgot the check element array options.... thanks a lot to both of you !

 

regards,

 

marc

0 Kudos
Message 4 of 4
(2,797 Views)