NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

operator interface teststand 3.5

Each time I open open the operator interface in TestStand3.5 it opens up any previous open sequence by default. I want it to open without loading any previous sequences. Is it possible? I can use the option "Close All Sequence Files and Executions" but is it possible for TestStand to not remember it at all. Is there any property which I can disable?
I am using C# version Operator Interface in TestStand 3.5.
 
Thanks,
SS
 
0 Kudos
Message 1 of 6
(3,471 Views)
Hi, SS21,

There is not a simple property you can set for this feature. If you really want it, you have to modify the code for this OI. All the files for this OI are located in
"C:\Program Files\National Instruments\TestStand 3.5\OperatorInterfaces\NI\Full-Featured\CSharp".

All you need to do is to add this line of code in MainForm_Load of "main.cs"
this.axApplicationMgr.ReloadSequenceFilesOnStart = 0;

You can find help for application manager in the TestStand help file under applicationmgr.

Song Du

Message Edited by Song D on 08-21-2007 11:23 AM

Regards,

Song Du
Systems Software
National Instruments R&D
0 Kudos
Message 2 of 6
(3,429 Views)
Hi Song Du,
 
I did not find main.cs but i found MainForm.cs. I modified the private void MainForm_Load but it didnt work.   
private void MainForm_Load(object sender, System.EventArgs e)
  {
   SplashScreen splashScreen = null;
   try
   {
               this.axApplicationMgr.ReloadSequenceFilesOnStart = 0;
 
 
Thanks,
 
SS
0 Kudos
Message 3 of 6
(3,403 Views)
You can also make this change on the property page for the ApplicationMgr control on the Form.

Allen P.
NI
0 Kudos
Message 4 of 6
(3,399 Views)
I am using the test executive to open my testing sequences. I am coding in TestStand and LabView for testing units. In one of my main VI modules, I make a call to open OI with a sequence name I want to open, but it also opens up previously opened up sequences. I would like to load up only the called sequence. I cant open forms as you suggest. To implement your suggestion, I am opening it in notepad, making changes and saving it. I tried it at a couple of different places inside MainForm.cs code to no luck.
 
 
SS.
 
 
 
 
0 Kudos
Message 5 of 6
(3,377 Views)
Opening a source file in notepad will do no good. You would have to recompile the C# user interface program. Why are you using the C# UI if you are programming with LabVIEW? If LabVIEW is all that you have, modify the LabVIEW version of the UI, rebuild it as an exe, and use that. Or, get a copy of Visual Studio.
0 Kudos
Message 6 of 6
(3,373 Views)