How to start TestStand ApplicationMgr in a NON-GUI C# modules

hello all,
We used to implement our test UI in C# windows form. We put ApplicationMgr ActiveX control on the form and the ApplicationMgr can be easily accessed and started.
Now we need to implement the UI in WPF and we have to seperate the UI and the Test Engine into different module so that the UI can call different type of Test Engines later. Therefore we have to implement the TestStand TestEngine module in a NON-GUI module. In this module we need to load a sequence file, run the sequnece file, collect test results and send back to UI to display.
To implement this module we have a lot of questions:
1. Is ApplicationMgr a must-have for our purpose of loading, running sequence and getting test results?
2. Can AppliactionMgr be created in a NON-GUI module?
3. Can we use
NationalInstruments.TestStand.Interop.UI.Applicati
onMgr myApplicationMgr = new NationalInstruments.TestStand.Interop.UI.ApplicationMgr();
myApplicationMgr.Start()
to create and start the ApplicationMgr? We have tried, but unfortunately it is not working. What did we miss?
4. Is the ActiveX control the only way to access the ApplicationMgr? For NON-GUI module, there must be a way that we didn't find yet. Anyone have help us point to a right direction? If some example code would be great!
Thank you very much!
Regards,

The ApplicationMgr makes a lot of things simpler, so I highly recommend you use it even if you aren't displaying a UI with it. You can create the control on a hidden form as follows (assuming your thread is an STA thread):
System.Windows.Forms.Form hiddenForm = new System.Windows.Forms.Form();
NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr appMgr = new NationalInstruments.TestStand.Interop.UI.Ax.AxApplicationMgr();
((System.ComponentModel.ISupportInitialize)(appMgr)).BeginInit();
hiddenForm.Controls.Add(appMgr);
((System.ComponentModel.ISupportInitialize)(appMgr)).EndInit();
This way you can use the ApplicationMgr without showing anything to the user.
Hope this helps,
-Doug

Similar Messages

  • How to start the enterprise Manager  console in GUI based.

    I am totally confuse while using oracle10g Enterprise Manager Console based. I can't able to get the administrator privileges. Even though I had the administrator privileges and password I knew. But while administrating through Enterprise Manager in 10g little bit confuse for me.
    Help me .. I am here to hear a quick response as soon as possible

    DBA database privilege is different from EM Administrator privilege. Check to ensure you have the right one.

  • How to start ProC in windows xp

    Hi,
    i have Oracle10g client and database server installed on my windows xp.
    i am not sure how to start ProC.
    and is there a GUI ProC that i can start.
    Can someone guide me please.
    Thanks,
    Philip.

    9iR2: http://download-west.oracle.com/docs/cd/B10501_01/win.920/a96111/toc.htm
    10gR2: http://download-east.oracle.com/docs/cd/B19306_01/win.102/b14321/toc.htm

  • How to start a contour move from a non-zero position

    Hi,
    I am using a PXI 7344 motion controller under LabVIEW 8 to do a vector contour move. How can I start the contour from a non zero position ? I want to use absolute position mode. The test requires the x axis to move to a known distance and wait for a known time (more than a 1 hour) before the contour starts.

    Hi Milinda,
    Unfortunately the zero position is inserted at the beginning of the
    array points by the firmware. As far as I know there is no way to stop
    this happening. The only way to get round this is to use reletive
    positioning and keep track of the current position.
    Regards
    Jon B
    Applications Engineer
    NIUK

  • How to start weblogic server with non system user

    I want to start wls6.1 as an nt service with different user name other than
    system.
    Thanks
    Madhu

    I have installed weblogic server as an nt service. In install Nt service
    cmd, if I make any change in the script, I have to uninstall and install it
    again. I do not know where to specify the weblogic.management.username =(Non
    system user)
    I have created a user name in NT server and added them to Administrator
    group. I have also modified in file realm propertes i.e to boot and shutdown
    the non system user.
    I have to start weblogic server as a non system user.
    Thanks
    Madhu
    I think I replied to some of the questions when I found out the answers.
    Only thing I did was hit reply, instead of reply group. Might it went to
    persons e-mail. That might be the reason, the answers I posted is not found
    in the newsgroup
    Thanks
    freelance_code_inspector <[email protected]> wrote in message
    news:[email protected]..
    "m holur" <[email protected]> wrote in message
    news:<3bfbafce$[email protected]>...
    I want to start wls6.1 as an nt service with different user name otherthan
    system.Madhu,
    Specify weblogic.management.username={Non system user} in your -D
    option. BTW, just curious, have observed that u have been posting a
    lot of weblogic questions lately, did u find out the answers? If so, u
    should share it back to this community.
    Regards
    drit
    Freelance Java Developer/Code Inspector
    http://www.geocities.com/doc_i_t/CodeInspectionService.html

  • How to start weblogic in debug mode ? and how to set the eclipse in the deb

    how to start weblogic in debug mode ? and how to set the eclipse in the debug

    Put this in JAVA_OPTIONS :
    Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=3999,suspend=y,server=y
    After restarted weblogic, in eclipse set your breakpoint , open debug perspective then choose Remote Java Appliction and configure Connection Properties (host=localhost and port=3999)

  • How to start with RMAN as I am beginner?

    Dear all,
    How to start with RMAN as I am beginner? Any simple document or guide line for me.
    Thanks,
    Amy

    How to start with RMAN as I am beginner? Any simple
    document or guide line for me.go to yours oracle home directory /orahome/bin there is RMAN exe tool run it it will show you prompt RMAN
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle.  All rights reserved.
    RMAN> connect target sys/sys
    connected to target database: ORCL (DBID=1171886541)
    RMAN> backup database
    2> ;
    Starting backup at 21-JAN-08
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    input datafile fno=00001 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSTEM01.DBF
    input datafile fno=00003 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\SYSAUX01.DBF
    input datafile fno=00005 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\EXAMPLE01.DBF
    input datafile fno=00002 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\UNDOTBS01.DBF
    input datafile fno=00004 name=C:\ORACLE\PRODUCT\10.1.0\ORADATA\ORCL\USERS01.DBF
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NNNDF_TAG20080121T135924_3S8QQF74_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    including current controlfile in backupset
    including current SPFILE in backupset
    channel ORA_DISK_1: starting piece 1 at 21-JAN-08
    channel ORA_DISK_1: finished piece 1 at 21-JAN-08
    piece handle=C:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2008_01_21\O1_MF_NCSNF_TAG20080121T135924_3S8QSSN4_.BKP comment=NONE
    channel ORA_DISK_1: backup set complete, elapsed time: 00:00:03
    Finished backup at 21-JAN-08
    http://www.orafaq.com/faq/rmanKhurram

  • How to start a BPM process from ERP system

    Hi,
    I created a process in Netweaver Developer Studio with the Process Composer in SAP CE 7.1 BPM, now I want to automatically start the process by saving a SAP document like purchase requisition or purchase order. Therefore I think about implementing a UserExit / Badi or something else.
    The following systems are available in my Landascape:
    - PI 7.1
    - ERP 2005
    - CE 7.1 EHP1 with ESR
    Does someone have an idea how to start the BPM Process or how to trigger start event?
    Greetings,
    Christian

    the process by saving a SAP document like purchase requisition or purchase order.
    Based on your business process, you will have to decide what data should be sent to other system. It could be in the form of Idoc trigger or an RFC calls. If there are non-SAP systems involved, you should be using PI 7.1 too. In that case, you can communicate using Abap proxy call too. For this you may either call an RFC internally in a report and schedule it.
    Regards,
    Prateek

  • How to start GUI in SOLARIS

    I recently installed SOLARIS 10 and it logged me IN automatically as "root". I wanna know how to start the GUI shell. Ma sys is P-4 3.2 with 512 DDR 266 RAM
    The steps that show up are
    grub loading stage2...
    <options> (bootmenu)
    1)Solaris 10 1/06 s10x_u1wos_19a x86
    2)solaris fail (something like that-can't remmember)
    3)windows
    Pressed ENTER on1 and licence screen showed up.
    Hostname : satyam-9665 (I entered it earlier)
    checking ufs filesystem
    Satyam-9665 console login
    aug(date n time) Satyam-9665 sendmail[372]:My unqualified host name(local host) unknown; sleeping for retry
    Starting desktop login on display:0
    wait for the Desktop screen before logging in
    The X Server can not be started on display:0
    The screen flickered a bit here
    aug(date n time) Satyam-9665 sendmail[315]:My unqualified my own domain name(local host) --using short name
    After this I was in the terminal/console as "root"
    PS: I made the following choices during installation.
    * opted for NON-NETWORKED
    * selected ENTIRE GROUP
    * Hostname was given as Satyam-9665

    Are you taking about the Oracle DBCA utility?

  • How to start working in ABAP

    Hi,
    I have a friend who is a Singapore PR.
    She worked in non-SAP in IT for the past 10 yrs.
    Recently she learned ABAP(not certified).
    She dont have the experience working in a company.
    she has ABAP knowledge and can do the job.
    How can she break into the market? Will anyone share your experience how you started working in ABAP without the experience.
    Thank you so much for your reply.

    I too beleive that if you are having about 10 years of experience as an IT guy , then definately one would have developed that understanding of the function as well .
    In ABAP what i have experienced is that if you are having that business clarity or fucntion knowledge the you would think in a more effective way as compared to a newbie . As you would be aware what the problems coule be and what new would cropp in over a period of time .
    As a fresher yes you can start in ABAP but it would make your friend diffrent from the masses based on his 10 years of experience .
    Good luck .....

  • How to start Weblogic 10.3.5 managed server on port 80

    Hello,
    We're trying to understand how to start Weblogic as root so we can start on port 80 on Linux. We understand that we'll use the post bind UID to run as a non-priv user. Right now in the Admin console under the managed server, Server Start properties (node manager) we have the weblogic user as the user to start the server, which works. Is this where we'd put the root user? We tried that but it fails complaining about root user didn't have permission to start the server. Can someone shed some light?
    Thanks

    Hi
    1. You are asking for 2 things here:
    a) Start Weblogic as root user ?
    Before I answer this question, who (Which User) installed Weblogic Software and who created Domain. I hope its NOT root user. Usually its not preferable to use root account for this. Instead create a new user account like for example oracle or some xyz. Then login with that account. Install Weblogic and create any Domain. I would NOT prefer/recommend using root account to install weblogic. This means, I would not recommend/support to start weblogic as root user. The thing is when you install weblogic, it stores/creates lots of files/scripts. Now when you start, it has to be same user. Because at the startup, we need to read files and also CREATE lots of temp files under domain root folder. So on unix, this becomes very complex. Simple answer is if you install weblogic and domain with user say "xyz" and try to start domain with "root", you corrupted your entire domain. Some files gets changed to root user and some files just FAIL saying you do not have permissions. So its just gone. If you are a Unix Geek, do some magic and restore all permissions back.
    b) Start Weblogic at Port 80
    Very Simple. Forget about above thing. Install Weblogic and create domain say with user "xyz". Just go to domain root folder, open config/config.xml file and edit the localport to 80. By default at time of domain creation if you used all the defaults like port 7001, then you will NOT see this entry in config.xml file. But still you can edit config.xml file manually. Stop the servers. Add a section with listen-port as 80. Just refer docs for the steps. After this change, your weblogic server is now running at port 80. NOW, the main precautions is make sure that you do NOT have any other stuff running at the same port 80. Otherwise, Weblogic server startup will fail saying port 80 is already is in use.
    Now if you want both a) and b), still it is possible. But I would NOT want/recommend a), which is use "root" account to install weblogic server and create and start the Domain. Nope, totally not recommending and supporting this. Yes, port 80 can be used, but not the "root" account.
    Thanks
    Ravi Jegga

  • TS3682 I started updating my iPhone 4, but it went black screan and then started turning on and off non stop. I tried to hold the two buttons, but nothing different happened. Please, help! What should I do?!

    I started updating my iPhone 4, but it went black screan and then started turning on and off non stop. I tried to hold the two buttons, but nothing different happened. Please, help! What should I do?!

    First see if placing the iPod in Recovery Mode will allow a restore.
    Next try DFU mode and restore.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    If not successful then time for an appointment at the Genius Bar of an Apple store. You are not alone with this problem.

  • How to start Enterprise Security Manager in 11g

    Hi All,
    How to start Enterprise Security Manger in 11g ? Should Grid Control be installed seperately ? There is no menu or utility that represent Enterprise Security Manager in 11g ? In 10g there is a menu item called "Enterprise Security Manager" , how to access it in 11g ?
    Regards,
    Senthil.

    my doubt is ,, just simply giving the above command the listener create and start or do i need to modify any other parameters which i have to copy from old listener file.The former. Unless you need/want to use non-standard parameters, you don't need anything else. Just start it.

  • How to start/run Rule Author GUI?

    hi,
    how we can start / run Oracle Rule Author GUI (part of Oracle Business Rules of Oracle AS)?
    as iv seen most of documentations n tutorials state only the 'usage' of it n none of those describe that how to start / run Rule author gui,,
    Best Regards

    hi ,
    i did all the tasks specified in this guide,,,but it is not mentioned here that how to restart RULEAUTHOR? and when i tried to start it by :
    http://machinename:7777/ruleauthor/
    it gives me HTTP 404 Not Found.
    plz tell me what to do ?
    Best Regards

  • Problems running TestStand 4.0 under non-admin account

    I am having problems running TestStand 4.0 under a non-admin account under windows XP. I have done the following:
       1. Set full control protection to entire National Instrument directory
       2. tcverselext.exe was giving me problems until I changed it to run in window 95 compatability mode. Otherwise I get an "you do not have administrator priviliges to run this command" error. Don't know if this is the correct fic for this.
       3. Now when starting TestStand I get a "Retrieving COM class factory for component with CLSID {B2794EF6-C0B6-11D0-939C-0020AF68E893} - failed due to the following error: 80040154." error
    Everything works fine as administrator.
    Can anyone help me?
    Don

    The Version Selector needs to be run with Administrator Access.  When you are running it in Windows 95 Compatability Mode, you are masking the problem.  However, once you set the correct version of TestStand, you no longer need Administrator Access to use the Sequence Editor.
    Allen P.
    NI

Maybe you are looking for