This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

What to use as a global variable in LogichMachine
#1
Hi,

What is the best practise for global variables for use between scripts?

As I understand the "storage." command is not just stored in the ram, but is also saved to the memory card in the LM after some time - and might lead to a issues with memory card after running for a long time (?)
Not sure how the virtuall group adresses is working, if they also are saved to the memory card or is just stored in the ram.
Perhaps there is other options as well ?


I'm just started looking into scripting on the LM, so any help will be appriciated
Reply
#2
You can safely use storage or virtual groups. Data is stored in RAM and saved to SD card periodically. It does not matter how many times the data is updated between these saves.
Reply


Forum Jump: