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: 

swap element in array

I am trying to control a screw elevator with labview.  I have an array which holds the values for current lift position.  Once the lift is at a new position I need to overwrite the old position of the lift with the new value in the array.  I went through all the array commands and dont think anyone is going to work.  I am using labview 7.0
0 Kudos
Message 1 of 3
(3,668 Views)
Replace Array Subset should work. You can use it for single elements - one element is a subset of the array. Just feed it the index of the element you want to overwrite and the new value. You may also need to put the array into a shift register.

Lynn
0 Kudos
Message 2 of 3
(3,667 Views)
Thanks Honey that was a great help. Appreciate that.
0 Kudos
Message 3 of 3
(3,637 Views)