LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview or Labveiw NXG still same limits or ?

Solved!
Go to solution

when you posted this solution i was working with shift register but i couldn't make it done... thank you very much

one problem still exist in the last code that you gave me that its not saving the values . when i put new values to change other columns it removes the old ones.. ?

0 Kudos
Message 11 of 15
(630 Views)

thank you very much for help and hints i made edit to change what i need from rows to columns numbers but i can't retain the value because of the control rechange it again please use the lamp to see how it works correctly .. how to get around this.

0 Kudos
Message 12 of 15
(627 Views)

Last change with adding local variable as read to save the old values ..... thanks for every one ..

0 Kudos
Message 13 of 15
(623 Views)

waww i didn't thought this block will work like this,... thanks..

0 Kudos
Message 14 of 15
(622 Views)

@MAJDGH wrote:

Last change with adding local variable as read to save the old values ..... thanks for every one ..


You have to be careful here, because that only works because the VI is save with the current values as default. If it were saved with an empty array, adding any size array would leave it empty and you'll never get anything out of it. In any case, if the current size is at the default, you don't need the init array and addition at all, right? All it does is potentially truncate the array, for example if you change the default size of the array control and don't also adjust the size here.

 

Also notice the red coercion dot. Make the "ROW" control I32 and that'll disappear.

Message 15 of 15
(614 Views)