I making a direct data connection to a lab instrument.
I prompt the user for data information and then connect to the instrument.
My problem: I need to do some shutdown processing after the user shuts the instrument off.
The ICON on the tool bar changes from connected to disconnnected when the instrument is shut down.
What event do I watch ("WHEN" statement) to catch the disconnect action?
I prompt the user for data information and then connect to the instrument.
My problem: I need to do some shutdown processing after the user shuts the instrument off.
The ICON on the tool bar changes from connected to disconnnected when the instrument is shut down.
What event do I watch ("WHEN" statement) to catch the disconnect action?