05-11-2012 01:40 PM
I have a customized OI that's running well. However, the user can still hit the "Single Pass" button multiple times while things are running.
What is the best way to prevent this?
This old post says you can disable the button after it's clicked (from LV) but I am finding that setting button properties from LV is not the best way to go- they get overridden by the TS engine.
05-14-2012 06:50 AM
You have the reference to the "Single Pass" button control. You will find an "Enable" property for this.
Set this property in the "StartExecution" to "False" and in "EndExecution" back to "True". Both are callbacks you have to define. They are message events from the ApplicationManager.
hope this helps,