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: 

Prevent from running the sequence editor AND the operator interface

Hi,

 

I would like to prevent the user from running simultaneously the sequence editor and the operator interface.

 

Is it possible to do that ?

 

Bruno

0 Kudos
Message 1 of 3
(4,182 Views)

Couple thoughts-

 

1- Not sure if it's possible but you could create a service that would always be running on the machine.  It can monitor the processes.  If you can trigger off of an application being opened then you could see which one and just shut it down if the other one is already open.

 

2- Have a custom UI that will trigger off of applications being opened.  If it sees the sequence editor then it just immediately kills it.  Also, at the beginning, during initialization, you could have it look to see if the sequence editor is running and then the UI just stops running if the editor is open.

 

Sounds like an interesting one though.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(4,154 Views)

Thanks Jigg.

 

I have created a function that check if a process is running.

But as you said, I should find a way to detect when the sequence editor is being opened (service or custom application).

 

I hoped there was a TestStand way to do it.

 

Bruno

0 Kudos
Message 3 of 3
(4,114 Views)