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: 

How do I programmetically determine whether the sequence is running in TS Runtime engine or Development version ?

Hi,

You can check if your are running in the SeqEditor by checking a RunState property.

I think its called RunState.IsEditor, its a boolean. Its True if in the SeqEditor.

Check the Programmer Reference Help, there is a breakdown of the Sequence Context.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 3
(2,793 Views)
Thanks Ray, It worked perfect.
0 Kudos
Message 3 of 3
(2,782 Views)