NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

ApplicationMgr

Is there a way to access the SeqEdit.exe ApplicatioMgr from a TestStand client sequence? or another way to get to the SeqEdit.exe MRU list?
 
Thanx
0 Kudos
Message 1 of 10
(4,996 Views)
This information is stored in the registry in the key: HKEY_CURRENT_USER\Software\National Instruments\TestStand\3.5\GUIs\Sequence Editor\Recent File List.  You can read from this key from your application to get the MRU list.
Thanks,

Andy McRorie
NI R&D
Message 2 of 10
(4,976 Views)
That woked,
 
Thanx Andy
0 Kudos
Message 3 of 10
(4,973 Views)
Does anybody know where to find the list of MRU's (Most Recent Used Files) for the TestStand 4.0 Sequence Editor? It used to be in the registry for 3.5 but it seems like they were moved somewhere else...

Thanks,

<<-Ñ->>
0 Kudos
Message 4 of 10
(4,690 Views)

To get the ApplicationMgr from anywhere in the process, refer to this thread:

http://forums.ni.com/ni/board/message?board.id=330&message.id=17162#M17162

0 Kudos
Message 5 of 10
(4,682 Views)
Also, you could check out this KB that explains the process in detail for TestStand 4.0.

NickB
National Instruments
Applications Engineering
0 Kudos
Message 6 of 10
(4,662 Views)
Hello all,

James,

I tried the procedure you suggested and I haven't been able to get the reference to the App Manager with the TS SeqEditor, it works great with the OIs though. This is the code that I'm writing in a TS statement:

StationGlobals.ApplicationMgr = RunState.Engine.GetInternalOption(InternalOption_ApplicationManager)
where StationGlobals.ApplicationMgr is an ObjectReference variable

Am I missing something?

NickB

I tried the KB you sent me but the link to the seq file is broken, do you have access to that file? is there any way you could post it in the forum for us?

Thanks all for your help,

<<N>>
0 Kudos
Message 7 of 10
(4,645 Views)
Oops... sorry about that.  Attached is the sequence file.  I will update the KB as well. 

NickB
National Instruments
Applications Engineering
0 Kudos
Message 8 of 10
(4,637 Views)
Are you using the 4.0 sequence editor? What is happening? An error, or null reference?  I tried it and it worked, but I have a post 4.0 internal dev build on my machine, so that isn't conclusive.
0 Kudos
Message 9 of 10
(4,635 Views)
I was getting "Nothing" as a result but now everything seems to be working fine... I don't know what caused the problem.. it might have been a typo. I actually translated this procedure to LabVIEW and it works great. Thanks everybody for your help...

<<N>>


Message Edited by << - N - >> on 03-13-2008 03:46 PM
0 Kudos
Message 10 of 10
(4,614 Views)