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: 

Caller of the Sequence (SequenceEditor or UserInterface)

Solved!
Go to solution

Is there a way to see whether the sequence was started by the Sequence Editor or the UserInterface? If the sequence was started by the SequenceEditor, I would like to show some debug information. However, this should not happen when starting from the UserInterface.
I hope someone has an idea. Thanks in advance...

0 Kudos
Message 1 of 3
(1,288 Views)
Solution
Accepted by topic author T.

The closest I can find is the IsEditor property: https://zone.ni.com/reference/en-XX/help/370052AA-01/tsuiref/reftopics/applicationmgr_iseditor_p/

 

You have to get a handle to the Application Manager though.

 

Here's an old post that also addresses the issue: https://forums.ni.com/t5/NI-TestStand/Differentiating-between-TestStand-user-interfaces-at-run-time/...

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 3
(1,270 Views)

 I will use the .Net Function to read out the current process path. This works fine. 

Thanks a lot...

0 Kudos
Message 3 of 3
(1,232 Views)