From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

find if in sequence editor API call

Solved!
Go to solution

I swear I found this somewhere once but can't find it now.  What is the API call (or other mechanism) to determine if I'm running from the sequence editor versus a UI?

 

What I want to do is if running from sequence editor, make one call, but if running from UI, make another.

 

Thanks.

0 Kudos
Message 1 of 3
(2,771 Views)
Solution
Accepted by topic author Sir_Mutt

RunState.IsEditor

 

Thanks,

PH

0 Kudos
Message 2 of 3
(2,762 Views)

Thanks!

0 Kudos
Message 3 of 3
(2,758 Views)