06-09-2018 06:09 PM
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.. ?
06-09-2018 06:15 PM
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.
06-09-2018 06:22 PM
Last change with adding local variable as read to save the old values ..... thanks for every one ..
06-09-2018 06:29 PM
waww i didn't thought this block will work like this,... thanks..
06-09-2018 08:38 PM
@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.