Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Bolt on May 14, 2021, 02:16:36 AM
-
I am trying to create a bit in a Program that causes something to trigger on the first pass through the program, and then not be triggered again until it EXITs and RUNs again later. I'm striking out on finding such a bit. .FirstRun, .FirstScan, .ScanCounter = 0, all don't quite do what I need. I don't think Delta .RunCounter would do it either. What can I use?
-
I use a positive differential contact with "program_name.running". There are probably other ways but this will work.
-
Doh! I'll blame it on the time of day... I've used that in programs before. Thanks for the reminder.