Set TestStand Configuration Directory

HI,
I'm trying to set TestStand Cfg directory from a LabVIEW OI (I customized the full featured OI shipped with TestStand). This works fine only if I restart TestStand. I understand I only need to shutdown the Engine. My question is how can I restart the Engine without restarting everything? (there is no such thing as a Start Engine method) Could a GetEngine method work? What would be the best way to accomplish this task? I don't want my customer to restart the software. 
I need to set the configuration directory because different softwares might be installed on the same station with different configurations (different station globals for example), or maybe developping 2 applications for 2 clients on the same computer.
Ps: I also posted this question on LAVA: http://lavag.org/topic/14439-configuring-teststand-cfg-directory/ 
Thank you all in advance,
Regards,
Rodéric L
Certified LabVIEW Architect
Solved!
Go to Solution.

Hello Rodéric,
                   i want to set Cfg folder path through operator interface.vi so I've placed the following program into operator interface.vi before intitalize.vi (the operator interface.vi is located @ C:\Programm files\National Instruments\Testsand2010\opeartor Interface\LabVIEW.....)
            The Teststand maneger reference from operator interface.vi is passes through this vi, as i run the operator interface.vi this program executes without error but i get error at the next property node "IApplicationMgr --> Start" which is placed into intialize.vi
Error : Two Application maneger is opened
          I have tried two options, for each i get same error, the options are as follows
1) The TSUI.IApplication maneger reference is opened and closed in operator interface as well as the above program seperately
2) I have passed only one TSUI.IApplication maneger reference through out operator interface
Thanks & Regards
Niranjan Kamble
CLAD/Teststand

Similar Messages

  • Change of configuration Directory programmatic ...

    Hello,
    we are searching for a way to change the TestStand configuration Directory programmatically ...
    Before a sequence will be loaded... (maybe within the sequence file callback - SequenceFileLoad - if possible)
    (Menue: Configure>Station Options>Preferences [Configuration Directory])
    Is the TestStand API a workable way? ... Maybe someone of you have a nice example...
    Greetings from Germany
    Norbert

    Hello Norbert,
    we're doing that by a registry file before we open Teststand.
    Create a test file, enter
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\TestStand\3.5]
    "CfgLocation"="c:\\myProject\\myConfigLocation"
    and save it with extention ".reg". On a double-click, windows sets the config location to C:\myconfigLocation. See attached file.
    By the way, if the directory doesn't exist, Teststand creates it on startup. But if the drive doesn't exist, it refuses to start with ugly error messages.
    But as mentioned, we switch the location when Teststand is closed.
    Schöne Grüße vom Bodensee
    Thomas
    Attachments:
    SetTs35CfgPath.zip ‏1 KB

  • ERROR: Cannot start mail services, configuration directory does not exist

    I'm running an Xserve G5 with one internal boot drive and one RAID using the other two internal drives. I used Apple's Disk Utility to set-up the RAID.
    Back in early December, I moved my mail database and mail store to the RAID. Ever since, when I restart the server, the mailaccess.log generates the following error:
    Jan 23 18:51:33 mail master[47]: ERROR: Cannot start mail services, configuration directory does not exist: /Volumes/RAID/mail.data/db
    I'm speculating this is a timing error that gets created when Postfix initially can't find the RAID. Then, it must try again and find it because the error message does not repeat and mail starts running.
    Is this something to worry about?

    Hi Joel,
    You're right, it's a timing issues. The mail system is ready for work before the file system is mounted. It's benign.
    Jeff

  • Help with setting up active directory domain controller/DNS - need this for Clustering

    Disclaimer: I am new to Active Directory, so please dont rule out the obvious things I may have overlooked.
    I need to set up Active Directory Domain controller on at least one server so I can run clustering. I set up the domain controller and ran Cluster validation and that failed - unable to reach writable domain controller.
    When I look at my server manager AD DS complain about DNS:
    NASE-2012-234    4015    Error    Microsoft-Windows-DNS-Server-Service    DNS Server    1/14/2014 12:54:06 AM
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    When I click on DNS this is the error:
    The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
    Output of DCDiag -v is below.
    PS C:\Users\Administrator> dcdiag -v
    Directory Server Diagnosis
    Performing initial setup:
       Trying to find home server...
       * Verifying that the local machine NASE-2012-234, is a Directory Server.
       Home Server = NASE-2012-234
       * Connecting to directory service on server NASE-2012-234.
       * Identified AD Forest.
       Collecting AD specific global data
       * Collecting site info.
       Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=lab,DC=nase,DC=com,LDAP_SCOPE_SUBTREE,(objectCategory=
    ntDSSiteSettings),.......
       The previous call succeeded
       Iterating through the sites
       Looking at base site object: CN=NTDS Site Settings,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=lab,DC=nas
    e,DC=com
       Getting ISTG and options for the site
       * Identifying all servers.
       Calling ldap_search_init_page(hld,CN=Sites,CN=Configuration,DC=lab,DC=nase,DC=com,LDAP_SCOPE_SUBTREE,(objectClass=ntD
    SDsa),.......
       The previous call succeeded....
       The previous call succeeded
       Iterating through the list of servers
       Getting information for the server CN=NTDS Settings,CN=NASE-2012-234,CN=Servers,CN=Default-First-Site-Name,CN=Sites,C
    N=Configuration,DC=lab,DC=nase,DC=com
       objectGuid obtained
       InvocationID obtained
       dnsHostname obtained
       site info obtained
       All the info for the server collected
       * Identifying all NC cross-refs.
       * Found 1 DC(s). Testing 1 of them.
       Done gathering initial info.
    Doing initial required tests
       Testing server: Default-First-Site-Name\NASE-2012-234
          Starting test: Connectivity
             * Active Directory LDAP Services Check
             The host c0c507c4-fb9b-49a6-9a01-ef79d7960c94._msdcs.lab.nasecom could not be resolved to an IP address.
             Check the DNS server, DHCP, server name, etc.
             Got error while checking LDAP and RPC connectivity. Please check your firewall settings.
             ......................... NASE-2012-234 failed test Connectivity
    Doing primary tests
       Testing server: Default-First-Site-Name\NASE-2012-234
          Skipping all tests, because server NASE-2012-234 is not responding to directory service requests.
          Test omitted by user request: Advertising
          Test omitted by user request: CheckSecurityError
          Test omitted by user request: CutoffServers
          Test omitted by user request: FrsEvent
          Test omitted by user request: DFSREvent
          Test omitted by user request: SysVolCheck
          Test omitted by user request: KccEvent
          Test omitted by user request: KnowsOfRoleHolders
          Test omitted by user request: MachineAccount
          Test omitted by user request: NCSecDesc
          Test omitted by user request: NetLogons
          Test omitted by user request: ObjectsReplicated
          Test omitted by user request: OutboundSecureChannels
          Test omitted by user request: Replications
          Test omitted by user request: RidManager
          Test omitted by user request: Services
          Test omitted by user request: SystemLog
          Test omitted by user request: Topology
          Test omitted by user request: VerifyEnterpriseReferences
          Test omitted by user request: VerifyReferences
          Test omitted by user request: VerifyReplicas
          Test omitted by user request: DNS
          Test omitted by user request: DNS
       Running partition tests on : ForestDnsZones
          Starting test: CheckSDRefDom
             ......................... ForestDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... ForestDnsZones passed test CrossRefValidation
       Running partition tests on : DomainDnsZones
          Starting test: CheckSDRefDom
             ......................... DomainDnsZones passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... DomainDnsZones passed test CrossRefValidation
       Running partition tests on : Schema
          Starting test: CheckSDRefDom
             ......................... Schema passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Schema passed test CrossRefValidation
       Running partition tests on : Configuration
          Starting test: CheckSDRefDom
             ......................... Configuration passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... Configuration passed test CrossRefValidation
       Running partition tests on : lab
          Starting test: CheckSDRefDom
             ......................... lab passed test CheckSDRefDom
          Starting test: CrossRefValidation
             ......................... lab passed test CrossRefValidation
       Running enterprise tests on : lab.nasecom
          Test omitted by user request: DNS
          Test omitted by user request: DNS
          Starting test: LocatorCheck
             GC Name: \\NASE-2012-234.lab.nasecom
             Locator Flags: 0xe000f3fd
             PDC Name: \\NASE-2012-234.lab.nasecom
             Locator Flags: 0xe000f3fd
             Time Server Name: \\NASE-2012-234.lab.nasecom
             Locator Flags: 0xe000f3fd
             Preferred Time Server Name: \\NASE-2012-234.lab.nasecom
             Locator Flags: 0xe000f3fd
             KDC Name: \\NASE-2012-234.lab.nasecom
             Locator Flags: 0xe000f3fd
             ......................... lab.nase.com passed test LocatorCheck
          Starting test: Intersite
             Skipping site Default-First-Site-Name, this site is outside the scope provided by the command line arguments
             provided.
             ......................... lab.nasecom passed test Intersite
    PS C:\Users\Administrator>

    http://social.technet.microsoft.com/Forums/en-US/home?forum=winserverDS is the forum for Directory Services questions.  You might want to post your question there.
    .:|:.:|:. tim

  • How to set the working directory for reports in linux

    Hi All,
    Can you anyone help me to set the working directory for oracle application server 10g reports? I am using RHEL4 and AS10g. Actually i want to run my reports from my define
    working directory. How can I do this?
    Thanks in advance
    Arif

    Hi,
    your rep_srv.conf should look like something like
    +<?xml version = '1.0' encoding = 'ISO-8859-1'?>+
    +<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">+
    +<server version="10.1.2.0.2">+
    +<!--Please do not change the id for reports engine.-->+
    +<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->+
    +<cache class="oracle.reports.cache.RWCache">+
    +<property name="cacheSize" value="50"/>+
    +<!--property name="cacheDir" value="your cache directory"-->+
    +<!--property name="maxCacheFileNumber" value="max number of cache files"-->+
    +<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->+
    +</cache>+
    +<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="3" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx512M -Xss512K">+
    +<!--property name="sourceDir" value="your reports source directory"/-->+
    +<!--property name="tempDir" value="your reports temp directory"/-->+
    +<!--property name="keepConnection" value="yes"/-->+
    +</engine>+
    +...+
    some more definitions
    +..+
    +<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->+
    +<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>+
    +<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>+
    +<pluginParam name="textpds" type="file">textpds.conf</pluginParam>+
    *<environment id="APP1">*
    *+<envVariable name="REPORTS_PATH" value="/application1/reports"/>+*
    *+</environment>+*
    *+<environment id="APP2">+*
    *+<envVariable name="REPORTS_PATH" value="/application2/reports"/>+*
    +</environment>+
    +</server>+
    The environment ids you can choose yourself and you have to put them in there yourself too (here I put two environments for two different applications "1" and "2").
    If you call a report from Forms, then you have to code something like
    ADD_PARAMETER(p_list,'ENVID',TEXT_PARAMETER,'APP1');
    Details depend on how you call your reports, my example is for using a parameter list and calling a report out of application1
    Hope that helps.
    Volker

  • Purpose of Separate Configuration Directory

    I know that Sun best practices recommend that the configuration directory instance be separated (placed on a different physical server) in a directory environment.
    Other than the ability to manage all directories in a single administration domain, what does this accomplish?
    Is there anything in a replicated multi-master environment that would require such a setup, with all master and consumer instances pointing to the same configuration directory?
    Is it possible to set up a replicated multi-master environment with configuration directories on each individual server?
    When do "user" directories need to access the configuration directory instance, other than during initial setup? If the configuration directory is on the WAN relative to a user directory, could inability to access the config directory prevent the user directory from starting/stopping/accepting requests/otherwise functioning?
    Thanks in advance.

    I don't disagree, however I think you can go too far. If everything is in one o=netscapeRoot, it's like putting all your eggs in one basket. If you loose that directory, you loose console access on all SunOne instances. And while having a multi-master config directory aleviates the problem somewhat, usually loosing the config directory does not occurr because of a hardware problem - rather user error or an upgrade gone bad - and the error usually replicates just fine. Backups are key before any operations that changes or could potentially chage the config instance. Personally I like to have one config instance per <Server Root>. It does not take much in resources.

  • Global Configuration Directory

    I have installed the latest version (1.5.1 build 5440) on Ubuntu 8.04 64 bit.
    If i launch the application from the terminal it allows me to set up connections from the tnsnames.ora file.
    If I launch it from the menu it does not. It appears that my environment variables (such as TNS_ADMIN) are not used when I launch the application from the menu.
    The User Guide refers to the Global Configuration Directory but does not say where or what it is.
    Please point me in the right direction.
    Regards;
    Robert

    Chris;
    Yes all my environmental variables are set in .bashrc. I created a .bash_profile and even a .profile with all the relevant Oracle environmental variables. There is no difference.
    Is there a file like <sqldeveloper_home>/sqldeveloper/bin/sqldeveloper.conf where I can set the TNS_ADMIN path in the same way that I set the JAVA_PATH?
    Can I set it in the <sqldeveloper_home>/sqldeveloper/bin/sqldeveloper.conf file, and if so what would I call it?
    I have tried setting TNS_ADMIN in the sqldeveloper.conf file, it did not work.
    Regards;
    Robert

  • Replicating Configuration Directory

    Hello,
    I have replicated my config directory (o=NetscapeRoot) from one server (ldap1) to a second server(ldap2). My question is, what do I need to change on my directory servers (ldap2, ldap3, ldap4) to use the configuration directory on ldap2 if ldap1 goes down?
    I am running DS5.2.
    I appreciate any help you may be able to give.
    Thanks,
    Eric

    So you have 2 config dirs. You import the one into the other and then replicate that back to the other one you just dumped. Now you have what you need.
    We use an alteon by nortel. Both configs run on the same port but they dont have to. You set a virtual host for the port up on the alteon in failover mode to direct all traffic to one and fail over to the other if the first one is down. I then went and set my actual directory servers to look at that virtual.

  • How to set the target directory from source filename using adaptor module.

    Hi,
    How im using a logical bypass scenario.I have to set the target directory using the sorce filename.There is no chance of using a Java UDF as my scenario does not have a Mapping(as it is a Bypass Scenario).The only option that i got is to use a Adaptor module.Can anyone help  me this.
    Thanks,
    Bhargav

    Hi,
    See this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/61e1407e858031e10000000a1550b0/content.htm
    hope it helps.
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.

  • Access/set dynamic configuration in client/server abap proxy

    Hi,
    I have 2 question regarding reading/setting dynamic configuration in ABAP proxies:
    1) Is it possible to set dynamic configuration objects in a server abap proxy (SAP --> XI)?
    When looking at the class CL_PROXY_FRAMEWORK is looks as if it is possible. This class has en attribute IF_XMS_MAIN~DY which is a reference to the class CL_XMS_MSGHDR30_DYNAMIC.
    I'm not sure if I'm supposed to try and access the dynamic configuration objects via this class or if I'm supposed to use the GET_PROTOCOL method in some manner as suggested by:
    http://help.sap.com/saphelp_nw04s/helpdata/en/51/d5cd16235e4643ae8ec92395c4ad97/frameset.htm
    Above link is for client proxies not server, and I've been unable to find any documentation on this for server proxies.
    2) The same question goes for server proxies (XI --> SAP), though now I would like to set some dynamic configuration data.
    This I believe should be done using get_protocol( if_wsprotocol=>ws_header ) as indicated by before mentioned link.
    However in both cases I'm not sure of if it is indeed possible and which road to choose for sure. So a hint or 2 would be really nice.
    Best Regards,
    Daniel
    ps. maybe I should just mention that I am pretty new to the ABAP world, so bear with me.

    The link that you gave does give you an example for both server and client proxies:
    Accessing Protocol Classes for Client Proxies
    In client proxies, you access the protocol class by using the GET_PROTOCOL method. Below is an example for the IF_WSPROTOCOL_PAYLOAD protocol:
    DATA:
    lo_clientProxy      TYPE REF TO co_clientProxy,
    lo_payload_protocol TYPE REF TO if_wsprotocol_payload
    lo_payload          TYPE REF TO if_ws_payload.
    CREATE OBJECT lo_clientProxy.
    Get Protocol Class Using Method GET_PROTOCOL
    lo_payload_protocol ?=
           lo_clientProxy->get_protocol( if_wsprotocol=>payload ).
    CALL METHOD lo_clientProxy->execute_synchronous
                EXPORTING output  = ls_request
                IMPORTING input   = ls_response.
    Use Protocol Methods
    lo_payload = lo_payload->get_sent_request_payload( ).
    Accessing Protocol Classes for Server Proxies (XI Only)
    Within the implementation of a server proxy, you get the protocol class by using the CL_PROXY_ACCESS=>GET_SERVER_CONTEXT( ) method:
    DATA:  lo_server_context   TYPE REF TO if_ws_server_context,
           lo_payload_protocol TYPE REF TO if_wsprotocol_payload.
    lo_server_context   = cl_proxy_access=>get_server_context( ).
    lo_payload_protocol =
         lo_server_context->get_protocol( if_wsprotocol=>payload ).

  • Setting Additional Document Directory in Sunone 6.1 SP1

    Tried to run a testfile (index.htm) from an additional document directory in 6.1 SP1 on W2K (local), but it doesn't show up. What am I missing, doing wrong or forget?
    Additional Document DIrectory setting:
    Prefix: /test
    Directory: c:/websites/test
    in vsclass2.obj.conf (made a 2nd virtual class which is working for several sites) is written:
    NameTrans fn="pfx2dir" from="/test" dir="c:/websites/test"
    But I get this by using : http://hostname/test
    Not Found
    The requested object does not exist on this server. The link you followed is either outdated, inaccurate, or the server has been instructed not to let you have it.
    Has it something to do with an ACL setting? If so, how do I control or config this?
    Thanks for any assistance,
    Ren�

    Hi Dustin,
    I think you posted this to the wrong newsgroup :-)
    In WLS 6.1, document roots are Web Application specific. Unless you explicitly
    change it, the default Web Application (the one that you get when you type in
    the http://localhost:7001 URL), the document root is a folder under your domain's
    application directory named "DefaultWebApp_{name-of-your-server}". Where {name-of-your-server}
    is whatever value you assigned to the -Dweblogic.Name property, on the command
    line you started WLS with. Refer to the WLS 6.1 documentation for instructions
    on how to change this to a different Web Application. Here are a couple of links
    that will provide you with some insight into this:
    http://edocs.bea.com/wls/docs61/webapp/basics.html#136976
    http://edocs.bea.com/wls/docs61/adminguide/web_server.html#113228
    Regards,
    Mike Wooten
    "Dustin N. Jenkins" <[email protected]> wrote:
    I have recently migrated from WebLogic 5.1 to WebLogic 6.1, on Windows
    2000
    running jdk 1.3.1. My Document Root settings (weblogic.httpd.documentRoot)
    from WebLogic 5.1 in my weblogic.properties file did not carry over to
    WebLogic 6.1, so does anybody know how to set the Document Root in WebLogic
    6.1? Or is there an equivalent to it now?
    Thanks in advance,
    Dustin N. Jenkins

  • Hi All,How to set printer configuration for sap4.7 IDES version for home pr

    Hi All,
              Pls provide the information How to set the configuration for our home printer from the sap 4.7 IDES version .If possible pls provide with screen shots
    thanks & regards.
    bharat

    check SPAD (tcode) to installl Printer and all formats.
    Regards
    Prabhu

  • How to set the 'Configuration Bits' in the PIC16F84

    I am using the PIC16F84 in a circuit and I'm programming the assembly for the PIC.  However I can't figure out how to set the configuration bits.  For example I want to select the LP Oscillator, turn the WDT off, turn the PUT on, and turn the CP off.  Normally if I was using the IDE from Microchip I would add the line:
    _CONFIG H'3FF0'
    However Multsim does not recognize this as a valid code.  In addition the P16F84.inc file contains the following definitions:
    _CP_ON                       EQU     H'000F'
    _CP_OFF                      EQU     H'3FFF'
    _PWRTE_ON                 EQU     H'3FF7'
    _PWRTE_OFF                   EQU     H'3FFF'
    _WDT_ON                      EQU     H'3FFF'
    _WDT_OFF                     EQU     H'3FFB'
    _LP_OSC                      EQU     H'3FFC'
    _XT_OSC                      EQU     H'3FFD'
    _HS_OSC                      EQU     H'3FFE'
    _RC_OSC                      EQU     H'3FFF'
    What is the code though to select which options you want to use?

    Try this code:
    _CONFIG _CP_OFF & _PWRITE_ON & _WDT_OFF & _LP_OSC
    I tried this in the assembler and it didn't return any error messages when compiling. I found this in a PIC Book that I downloaded off the internet.
    I hope it works for you. I am new to the MCU Module and learning about it so don't consider me an expert on it by a long shot.
    Have A Nice Day
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day

  • Use of configuration directory server

    Maybe this is a dumb question but since I dont know the answer:
    Does one need to buy a production license of the Directory Server to use as a configuration directory server?
    I will have six web servers in my production environment. But only one or two admin user accounts for secure access.
    Thank,
    -amit

    Both 2005Q1 and 2005Q4 are considered 6.2. I would
    use 2005Q4. Actually, I DID use 2005Q4.
    Why use bits that are already superceeded? Is it the
    cost of 4 CD's?So, can this happen in two separate stages?:
    1. First upgrade all directory servers to 5.2p4 and migrate the current messaging server 5.2 configuration.
    2. At a later date, once directory services have been upgraded and are stable, the upgrade of the messaging server can be done.
    Thanks

  • Pre-populate adapter for setting the Active Directory OU for a user

    Hi All
    I created a pre-populate adapter that set the Active Directory OU for a user...
    In the end the status of the resource is still showing "provisioning"..
    It must be "Provsioned"..did I miss something ?
    The logs speak as below :-
    08:01:12,678 INFO [STDOUT] Running Create User
    08:01:12,678 INFO [STDOUT] Before appending Root Context:OU=Human Resources,
    08:01:12,678 INFO [STDOUT] tcUtilLDAPController.java : hierString : OU=Human Resources,dc=mydomain,dc=com
    08:01:13,553 ERROR [ACTIVEDIRECTORYCONTROLLER] Problem creating object: javax.naming.OperationNotSupportedException: [LD
    AP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0
    ]; remaining name 'cn=ASYMONDS'
    08:03:18,756 INFO [[xlWebApp]] action: LogonAction: User 'XELSYSADM' logged on in session 8116CBC0FA1481D06A207A1941B9
    E096
    08:22:31,256 ERROR [WEBAPP] Class/Method: ProvisionedResourcesForUserAction/confirmEnableSelection encounter some proble
    ms: No checkbox was checked.

    Just verify the OU value is correctly populated , first try doing the provisioning by manually giving OU and everything .
    Is it successful ?
    Then we can check if something wrong going with pre pop.
    Thanks
    Suren

Maybe you are looking for