12-01-2018 05:00 AM
In this example, I want to control 6 LEDs, I want to get their last state shown at controllers and indicators when i open the VI again
For Example
Start > all off > i turned on first 3 of them > I closed the program > when i open again i want to find that 3 of them are on and 3 are off and able to change their state using the controller
12-01-2018 05:04 AM
12-01-2018 05:35 AM
I don't want to do it Manually, Is there any way to do it automatically every time using the spreadsheet ?
12-01-2018 06:17 AM
Hi @El-Awny,
Maybe you can try this, save the last state using write to binary file.
While u run the program, read that file again to init the last condition..
Day@
12-01-2018 08:53 AM
@hidayatmaulud wrote:
Hi @El-Awny,
Maybe you can try this, save the last state using write to binary file.
While u run the program, read that file again to init the last condition..
Day@
The problem with that VI is that every 10 msec, you are opening a new file reference to write data to, and never closing those references other than the very last one when the VI ends. You'll slowly leak memory.
12-01-2018 10:31 AM
@El-Awny wrote:
I don't want to do it Manually, Is there any way to do it automatically every time using the spreadsheet ?
They didn't mean by hand.
12-01-2018 10:35 AM