02-24-2015 12:06 AM
Hello,
I seems to be an easy question, but i don't know how to do it. I want to save the first value from my acquisition board (BUT NOT IN A FILE), in Labview "memory" and keep it for a later use. Like a variable stored in programming. With shift register it's continuing updating, and when i stop the shift register loop, it gave me 0 value. How to do it ? Thanks in advance!
02-24-2015 12:16 AM
02-24-2015 12:40 AM
Simple:
02-24-2015 12:52 AM
Thanks all for help! I will try both advices!
02-24-2015 07:35 AM
It sounds like they want the value to live through closing the VI and opening it for another time. If you're just wanting to maintain the value through the single run, shift registers will carry the value. If you don't initialize the value (wire something into the left register), they will maintain the value as long as you don't close LabVIEW and kill the memory allocation.
If you want to keep the value until the next run, you'll need to use Invoke Node to make that value default. That way, it will open up next time with the value saved.