NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Callback prior to "Preloading Modules"

I am using a modified version of the Simple TestStand Interface. I would like to disable the entry point buttons when a user clicks the entry point button, so that addition executions don't get queued up.

 

I found the example for using the ExecutionStart and ExecutionEnd event callbacks to disable the button, and have that working fine.

 

(https://forums.ni.com/t5/Example-Code/Disabling-Entry-Point-Buttons-When-Executions-are-Active-in-a/...)

 

The trouble I have is that "Preloading Modules" begins when the entry point button is pressed. The ExecutionStart event hasn't yet fired, so the button doesn't get enabled until the sequence actually begins to execute.

 

Is there another event (I tried testing the UI Message Event but didn't find anything appropriate), or another strategy that I can use to disable the UI button during the module preloading?

 

Forgot to mention I'm using TS 2016 32-bit.

 

Thanks,

-- Matt

0 Kudos
Message 1 of 1
(1,123 Views)