NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

To load client sequence file on TestStand Operator Interface

Hi,

I need a specific client sequence file to be loaded every time whenever i opened my opertor interface.

can any one please tell me how to do this?

 

 

Thanks

Bharathi

0 Kudos
Message 1 of 5
(3,668 Views)

Which OI are you using?

 

If you are using the Full Featured UI for LabVIEW then in the Top Level VI on the block diagram there is a subVI called Init (Full UI - Initialize.vi). On the block diagram there you will find a subVI called Config App Mgr (Full UI - Configure Application Manager.vi).  In there you will see a property node for ReloadSequenceFilesOnStart.  Change the enum going into that to ReloadFile_none.  By default the last Sequence File that was loaded when the UI was shut down will get loaded back upon restart.  This disables that. 

 

Now after that property node you need to insert an Invoke Node between the GetEngine invoke node and the ReloadSequenceFilesOnStart property node.  Wire the reference and errors.  Select OpenSequencefile for the inserted invoke node.  There will now be a parameter called sequenceFilePath that you can wire a string to (which will be the path and name of the Sequence File you want to load).

 

Hope this helps,

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

I am using the C# OI and i coudnt find the ReloadSequenceFilesOnStart property in that.

can you please give me some pointers.

 

Thanks

IVI

0 Kudos
Message 3 of 5
(3,654 Views)

It's been a while with the Csharp but here's what I suggest:

 

On your MainForm.cs [Design] you will see a control that looks like the TestStand logo.  It is the Application Manager.  Highlight it and in the properties look for something called ReloadSequenceFilesOnStart in the Misc section.  Change it to what I suggested before (ReloadFile_None). 

 

Now in the code behind look for the line:

// this application allows setting of breakpoints on sequences files, so let them persist

this.axApplicationMgr.GetEngine().PersistBreakpoints = true;

 

It should be in the MainForm_Load method somewhere.

 

Before this line you want to put something like this:

this.axApplicationMgr.OpenSequenceFile("MyPath");  Where MyPath is the path to your file.

 

Cheers,

 

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

Thanks got the solution!!!!!!!!!

0 Kudos
Message 5 of 5
(3,647 Views)