Good Evening All,
I created an application in visual studio that displays a product count on a digital panel meter. On the hour I am logging this data to a Microsoft Access server to generate a report on hourly throughput.
Occasionally when I check on the software running, I realize that the values on the screen are not changing. Whenever I close out of the application and restart it, the program will re-initialize the connection to the SLC and my values will again begin updating and there is a substantial gap between the number I had before re-initializing.
I am wondering a few things:
1) How can I stop the user form from "freezing" the values
2) What could be causing this to happen? Connection timing out?
3) Is there anything I can introduce into my code to periodically "Refresh" / "Re-Initialize" the connection to the SLC using the driver?
I am using the SerialDF1forSLCMicroCom driver to connect to a DH+ asset. I have no problem connecting and never see any communication errors on my basic labels whenever initially launching the program.
Hoping to find a fix on here so I can quit losing valuable data. Any and all information is greatly appreciated
Thanks in advance