C++ Builder and Teststand Engine

After several questions and answers in your forum I finally imported successfully the TestStand Engine ActiveX in my loved Borland C++ Builder, but I couldn�t use the version 6, I used an older version (BCB4). It works fine.
Here you can find the questions I posted about some problems I had with BCB6
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000000EA20000&UCATEGORY_0=_8_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=borland+teststand&USEARCHCONTEXT_QUESTION_S=0)
To start developing an O.I. in BCB4 I'm using the Dephi Operator interface example code as a guide line and a simple example code for CVI to understand witch are the basic steps to run a sequence.
Everything seems ok, for example I can easily access the Login/Logout callback, or display TS dialog boxes (Station Options...ecc.), or iterate through sequence steps to extract execution entry points.
Next target is run a simple sequence, but something fails when I call the NewExecution method.
The prototype in the TS_OCX.cpp file should be:
ExecutionPtr __fastcall TEngine::NewExecution(Ts_tlb:equenceFile* sequenceFileParam/*[in]*/,
BSTR sequenceName/*[in]*/,
Ts_tlb:equenceFile* processModelParam/*[in]*/,
VARIANT_BOOL breakAtFirstStep/*[in]*/,
long executionTypeMaskParam/*[in]*/,
VARIANT sequenceArgsParam/*[in,opt]*/,
VARIANT editArgsParam/*[in,opt]*/,
VARIANT InteractiveArgsParam/*[in,opt]*/)
First of all, I cannot use the short version of NewExecution method, even if in the API user guide and in the func.prototype "sequenceArgsParam", "editArgsParam" and "InteractiveArgsParam" are marked as optional, that�s because the compiler cannot find the right prototype.
In this case "sequenceArgsParam", "editArgsParam" and "InteractiveArgsParam" are all Variant type, so I'm trying to pass an empty parameter to them, that's just to use all parameters in the function call.
I tried all solutions I know, but I think that TNoParam() is the simplest I can use. TNoParam() class returns a Variant type witch sets vt member = VT_ERROR, just like in CVI example (CA_DEFAULT_VAL).
No way out.
I get a run-time error message when I call The NewExecution method (Error:-17500) = TS_Err_OperationFailed in API user guide.
Solving this problem is really important for me, because it�s the last thing (I hope..) I need to do to complete a simple Borland C++ Builder TestStand operator interface example.
Thanks and best regards.
Alex Bassi

Hello Axeel -
Just to make sure this question is resolved, did you see the answer that Scott posted over on your other thread? This seems to cover everything. If you're not using TestStand 3.0 yet you may want to download an evaluation copy from ni.com. Please let us know if you have further problems.
--Regards
Elaine R.
National Instruments
http://www.ni.com/support

Similar Messages

  • New python call teststand engine

    I re-write my issue in new message.Thanks very much for altenbach's remindding.
    I use python and teststand engine to customize solution.But I have some questions about it.
    1,code as below:
    tsEngine = win32com.client.Dispatch("TestStand.Engine.1")
    print "TestStand %s.%s ready" % (tsEngine.MajorVersion, tsEngine.MinorVersion)
    tsEngine.UIMessagePollingEnabled = True
    sequencePath = os.path.join(cwd, 'MySequence.seq')
    seqFile = tsEngine.GetSequenceFileEx(sequencePath)
    execution = tsEngine.NewExecution(seqFile, "MainSequence", seqFile, False, 0)
    execution.WaitForEndEx(60000)
    execution = None
    released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4)
    seqFile = None
    tsEngine.ShutDown(True)
    tsEngine = None ## Execution freezes here
    2,I need to use UImessage to get pass/fail result of "MySequence.seq".
    So the first step,I set "tsEngine.UIMessagePollingEnabled = True".
    But python print these error:
    Traceback (most recent call last): File "D:\TS_solution\CallTestStand.py",
    line 39, in released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4) File "",
    line 3, in ReleaseSequenceFileEx pywintypes.com_error: (-2147352567, '\xb7\xa2\xc9\xfa\xd2\xe2\xcd\xe2\xa1\xa3', (0, u'TSAPI', u"Unable to unload sequence file 'MySequence.seq' because it is in use, possibly because it is executing.", None, 0, -17213), None)
    3,I comment "tsEngine.UIMessagePollingEnabled = True",
    then teststand pop-up warning windows,show as below:
    References to PropertyObjects were not released properly.
    Total number of objects: 53
    Number of top-level objects: 13
    Note: Some top-level objects may be included if they are referenced by an incorrectly released top-level object.
    For example, an unreleased SequenceContext object references a SequenceFile object.
    The following top-level objects were not released:
    Executions [1 object(s) not released]
    Type Definitions [2 object(s) not released]
    Type Definition
    #1: Name: CommonResults Type Definition
    #2: Name: Error PropertyObjects
    [6 object(s) not released] PropertyObject
    #1: Type: ActiveX Reference Value: Nothing PropertyObject
    #2: Type: ActiveX Reference Value: Nothing PropertyObject
    #3: Type: Obj PropertyObject
    #4: Type: Array of Containers PropertyObject
    #5: Type: Array of Containers PropertyObject
    #6: Type: Array of Containers And the following uncategorized objects:
    UIMessage (TEMessage)
    UIMessage (TEMessage)
    Report
    EditArgs
    4,How can I call Teststand API--UImessage class through Python?

    I re-write my issue in new message.Thanks very much for altenbach's remindding.
    I use python and teststand engine to customize solution.But I have some questions about it.
    1,code as below:
    tsEngine = win32com.client.Dispatch("TestStand.Engine.1")
    print "TestStand %s.%s ready" % (tsEngine.MajorVersion, tsEngine.MinorVersion)
    tsEngine.UIMessagePollingEnabled = True
    sequencePath = os.path.join(cwd, 'MySequence.seq')
    seqFile = tsEngine.GetSequenceFileEx(sequencePath)
    execution = tsEngine.NewExecution(seqFile, "MainSequence", seqFile, False, 0)
    execution.WaitForEndEx(60000)
    execution = None
    released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4)
    seqFile = None
    tsEngine.ShutDown(True)
    tsEngine = None ## Execution freezes here
    2,I need to use UImessage to get pass/fail result of "MySequence.seq".
    So the first step,I set "tsEngine.UIMessagePollingEnabled = True".
    But python print these error:
    Traceback (most recent call last): File "D:\TS_solution\CallTestStand.py",
    line 39, in released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4) File "",
    line 3, in ReleaseSequenceFileEx pywintypes.com_error: (-2147352567, '\xb7\xa2\xc9\xfa\xd2\xe2\xcd\xe2\xa1\xa3', (0, u'TSAPI', u"Unable to unload sequence file 'MySequence.seq' because it is in use, possibly because it is executing.", None, 0, -17213), None)
    3,I comment "tsEngine.UIMessagePollingEnabled = True",
    then teststand pop-up warning windows,show as below:
    References to PropertyObjects were not released properly.
    Total number of objects: 53
    Number of top-level objects: 13
    Note: Some top-level objects may be included if they are referenced by an incorrectly released top-level object.
    For example, an unreleased SequenceContext object references a SequenceFile object.
    The following top-level objects were not released:
    Executions [1 object(s) not released]
    Type Definitions [2 object(s) not released]
    Type Definition
    #1: Name: CommonResults Type Definition
    #2: Name: Error PropertyObjects
    [6 object(s) not released] PropertyObject
    #1: Type: ActiveX Reference Value: Nothing PropertyObject
    #2: Type: ActiveX Reference Value: Nothing PropertyObject
    #3: Type: Obj PropertyObject
    #4: Type: Array of Containers PropertyObject
    #5: Type: Array of Containers PropertyObject
    #6: Type: Array of Containers And the following uncategorized objects:
    UIMessage (TEMessage)
    UIMessage (TEMessage)
    Report
    EditArgs
    4,How can I call Teststand API--UImessage class through Python?

  • Python call teststand engine

    I use python and teststand engine to customize solution.But I have some questions about it.
    1,code as below:
    tsEngine = win32com.client.Dispatch("TestStand.Engine.1")
    print "TestStand %s.%s ready" % (tsEngine.MajorVersion, tsEngine.MinorVersion)
    tsEngine.UIMessagePollingEnabled = True
    sequencePath = os.path.join(cwd, 'MySequence.seq')
    seqFile = tsEngine.GetSequenceFileEx(sequencePath)
    execution = tsEngine.NewExecution(seqFile, "MainSequence", seqFile, False, 0)
    execution.WaitForEndEx(60000)
    execution = None
    released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4)
    seqFile = None
    #coreleased = tsEngine.ReleaseSequenceFileEx()
    tsEngine.ShutDown(True)
    tsEngine = None ## Execution freezes here
    2,I need to use UImessage to get pass/fail result of "MySequence.seq".So the first step,I set "tsEngine.UIMessagePollingEnabled = True".But python print these error:
    Traceback (most recent call last):
    File "D:\TS_solution\CallTestStand.py", line 39, in
    released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4)
    File "", line 3, in ReleaseSequenceFileEx
    pywintypes.com_error: (-2147352567, '\xb7\xa2\xc9\xfa\xd2\xe2\xcd\xe2\xa1\xa3', (0, u'TSAPI', u"Unable to unload sequence file 'MySequence.seq' because it is in use, possibly because it is executing.", None, 0, -17213), None)
    3,I comment "tsEngine.UIMessagePollingEnabled = True",then teststand pop-up warning windows,show as below:
    References to PropertyObjects were not released properly.
    Total number of objects: 53
    Number of top-level objects: 13
    Note: Some top-level objects may be included if they are referenced by
    an incorrectly released top-level object. For example, an unreleased
    SequenceContext object references a SequenceFile object.
    The following top-level objects were not released:
    Executions [1 object(s) not released]
    Type Definitions [2 object(s) not released]
    Type Definition #1:
    Name: CommonResults
    Type Definition #2:
    Name: Error
    PropertyObjects [6 object(s) not released]
    PropertyObject #1:
    Type: ActiveX Reference
    Value: Nothing
    PropertyObject #2:
    Type: ActiveX Reference
    Value: Nothing
    PropertyObject #3:
    Type: Obj
    PropertyObject #4:
    Type: Array of Containers
    PropertyObject #5:
    Type: Array of Containers
    PropertyObject #6:
    Type: Array of Containers
    And the following uncategorized objects:
    UIMessage (TEMessage)
    UIMessage (TEMessage)
    Report
    EditArgs
    4,How can I call Teststand API--UImessage class through Python?

    I reedit my issue in my reply.Thanks very much for altenbach's remindding.
    I use python and teststand engine to customize solution.But I have some questions about it.
    1,code as below:
    tsEngine = win32com.client.Dispatch("TestStand.Engine.1")
    print "TestStand %s.%s ready" % (tsEngine.MajorVersion, tsEngine.MinorVersion)
    tsEngine.UIMessagePollingEnabled = True
    sequencePath = os.path.join(cwd, 'MySequence.seq')
    seqFile = tsEngine.GetSequenceFileEx(sequencePath)
    execution = tsEngine.NewExecution(seqFile, "MainSequence", seqFile, False, 0)
    execution.WaitForEndEx(60000)
    execution = None
    released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4)
    seqFile = None
    tsEngine.ShutDown(True)
    tsEngine = None ## Execution freezes here
    2,I need to use UImessage to get pass/fail result of "MySequence.seq".
    So the first step,I set "tsEngine.UIMessagePollingEnabled = True".
    But python print these error:
    Traceback (most recent call last): File "D:\TS_solution\CallTestStand.py",
    line 39, in released = tsEngine.ReleaseSequenceFileEx(seqFile, 0x4) File "",
    line 3, in ReleaseSequenceFileEx pywintypes.com_error: (-2147352567, '\xb7\xa2\xc9\xfa\xd2\xe2\xcd\xe2\xa1\xa3', (0, u'TSAPI', u"Unable to unload sequence file 'MySequence.seq' because it is in use, possibly because it is executing.", None, 0, -17213), None)
    3,I comment "tsEngine.UIMessagePollingEnabled = True",
    then teststand pop-up warning windows,show as below:
    References to PropertyObjects were not released properly.
    Total number of objects: 53
    Number of top-level objects: 13
    Note: Some top-level objects may be included if they are referenced by an incorrectly released top-level object.
    For example, an unreleased SequenceContext object references a SequenceFile object.
    The following top-level objects were not released:
    Executions [1 object(s) not released]
    Type Definitions [2 object(s) not released]
    Type Definition
    #1: Name: CommonResults Type Definition
    #2: Name: Error PropertyObjects
    [6 object(s) not released] PropertyObject
    #1: Type: ActiveX Reference Value: Nothing PropertyObject
    #2: Type: ActiveX Reference Value: Nothing PropertyObject
    #3: Type: Obj PropertyObject
    #4: Type: Array of Containers PropertyObject
    #5: Type: Array of Containers PropertyObject
    #6: Type: Array of Containers And the following uncategorized objects:
    UIMessage (TEMessage)
    UIMessage (TEMessage)
    Report
    EditArgs
    4,How can I call Teststand API--UImessage class through Python?

  • Labview 8 Application Builder and VISA Runtime Engine

    Hi,
    I am using Labview 8 Application Builder and everything is working fine except for 1 small thing. My program makes use of some of the VISA functions and when I build the application I'm having to include the VISA Runtime Engine Installer as a separate item on the CD to make the .exe file work.
    What I would ideally like is for people who want to use the application to run the installer and that all necessary components (including the VISA Runtime Engine) are also installed in the one installation. At the moment they're having to do 2 installations and I would like to streamline this.
    Is this possible?
    Ken

    Hi,
      this How-To explains about making those selections and including the different drivers :
    http://zone.ni.com/reference/en-XX/help/371361A-01/lvhowto/add_installers_to_build/
    and this tutorial covers the screenshots a little more step by step.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/5ADBC06AC32E508A8625706E0062EBD1
    Hope that helps
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • Calling 64-bit TestStand Engine from 32-bit LabVIEW

    I am creating my own TestStand user interface in 32-bit LabVIEW but I want to use the 64-bit TestStand Engine. I can't find a way to specify this. The read-only API property "Engine.Is64Bit" is coming back false when I run from my UI, but when I run from the Sequence editor, it comes back true.  How is this determined and set at startup???

    I dont think you can build a 64 bit TestStand interface using a 32 bit Labview.
    FYI the the 32 bit User interface code is stored at :
    C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\UserInterfaces\Full-Featured\LabVIEW
    The 64 bit user interface code is stored at :
    C:\Users\Public\Documents\National Instruments\TestStand 2014 (64-bit)\UserInterfaces\Full-Featured\LabVIEW
    You have build a 32 bit TestStand user interface and the is64bit is properly showing as false.
    Try building the same project using 64 bit Labview (which should automatically pickup 64 bit TestStand components)
    When you say that you run from seqeunce editor - i think you mean 64 bit sequence editor.
    Ofcourse once you build your 64 bit user interface you can call a 32 bit vi (only in adapter mode set to dev and not run time).
    Hope this helps.
    Ravi

  • Silent Install of the TestStand Engine 2.0.1

    I am trying to do an unattended install of the TestStand Engine 2.0.1. I am using the "-noprompt" switch which makes the install silent except at the very end I get a dialogue box that say "You must reboot this computer...". I am also using InstallShield Professional 6.0 from which I launch then NI TestStand 2.0.2 engine.
    Does anyone have a solution to do a completely silent install?
    Thanks...Eric

    Eric,
    In general, we don't support creating silent installers because InstallShield isn't our development product. However, I have some information that may be of help. A normal (non-silent) installation receives the necessary input from the user in the form of responses to dialog boxes. As you know, a silent installation does not prompt the user for input. A silent installation must get its user input from a different source. That source is the InstallShield Silent Response File (.iss file). A response file contains information similar to that which an end user would enter as responses to dialog boxes when running a normal setup. InstallShield Silent reads the necessary input from the response file at run time.
    The format of response files resembles that of
    an .ini file, but response files have .iss extensions. A response file is a plain text file consisting of sections containing data entries. There are two ways in which you can create an InstallShield Silent Response File: you can run the setup and have InstallShield record and create the response file for you, or you can write the response file from scratch. It should be possible for you to create a response file that would contain a newline to confirm the reboot prompt. Your InstallShield documentation should provide more information regarding how you should create the response file.
    If you have any more questions, let us know.
    Regards,
    Shannon R.
    Applications Engineer
    National Instruments

  • How can I set the TestStand Engine tracing options to be on or off through automatically within my sequence file?

    Hello,
    I am looking for a way, where I do not have to set the Station Options manually. I want to make sure that whenever someone is running my sequence, the sequence should make sure that the "Tracing Enabled" options gets disabled somehow. I know the tracing option is actually a setting of the TestStand engine, but I want to implement it within my sequence.
    Please let me know if this is doable. If yes, what will be the best approach?
    Thanks and Regards,
    Niraj
    Solved!
    Go to Solution.

    Depends on why you want to disable tracing. One of these might work for you:
    1) Lock the file as not viewable.
    2) Set RunState.Tracing to false as the first step in your sequence (still get the first trace message for the sequence though)
    3) On sequence calls to the sequence set the sequence call trace setting to disabled. (not enforced though).
    Hope this helps,
    -Doug

  • Make the installer for my executable run the DAqcarddriver and runtime engine installer automatically

    *Hi
    I would like to know how to make the installer for my executable run the DAqcarddriver and runtime engine installer automatically
    I would like to include run time engine and the drivers of  my daqcard(AI16XE50),( and maybe Ni daq or anything else needed?) in order to make my application portable for other computers on OS win98 and winXP .
    How can I do that
    thank you in advance
    Olivier

    Olivier,
    What version of LabVIEW are you using to build your application?  On a remote computer you should only need the drivers you are using and the Run-Time Engine.  You can attach installers to LabVIEW 8 installers, but for previous versions you will have to add it by opening the installer configuration page, configuring your installer and then configure the Advanced properties.  This will allow you to attach a EXE to the installer which you can run.  Also depending on the version of LabVIEW will affect the OS version that you will be able to install the RTE on.  LabVIEW 7.0 is the last version that can be installed on Windows 98. 
    Please let me know if you have any further questions and please include the version of LabVIEW you are using.  Thanks!
    Andy F.
    National Instruments

  • Build and Capture TS fails in "Prepare Configuration Manager Client" task

    I have a ConfigMgr 2012 R2 + CU1 I use for Windows 7 deployment.
    I have made a "build and Capture" TS in ConfigMgr that I use to build my reference image.
    When I run the TS it fails at the "Prepare Configuration Manager Client" step where I get the following error:
    The task sequence execution engine failed executing the action (Prepare Configuration Manager Client) in the group (Capture the Reference Machine) with the error code 2147749938
    Action output: ... 1 instance(s) of 'SMS_MaintenanceTaskRequests' successful
    Successfully reset Registration status flag to "not registered"
    Successfully disabled provisioning mode.
    Start to cleanup TS policy
    getPointer()->ExecQuery( BString(L"WQL"), BString(pszQuery), lFlags, pContext, ppEnum ), HRESULT=80041032 (e:\nts_sccm_release\sms\framework\core\ccmcore\wminamespace.cpp,463)
    ns.Query(sQuery, &spEnum), HRESULT=80041032 (e:\qfe\nts\sms\framework\tscore\utils.cpp,3666)
    End TS policy cleanup
    TS::Utility::CleanupPolicyEx(false), HRESULT=80041032 (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\preparesmsclient.cpp,564)
    pCmd->Execute(), HRESULT=80041032 (e:\nts_sccm_release\sms\client\osdeployment\preparesmsclient\main.cpp,136)
    Wmi query 'select *from CCM_Policy where PolicySource = 'CcmTaskSequence'' failed, hr=0x80041032
    Failed to delete policies compiled by TaskSequence (0x80041032)
    Failed to prepare SMS Client for capture, hr=80041032
    Failed to prepare SMS Client for capture, hr=80041032. The operating system reported error 2147942402: The system cannot find the file specified.
    If I disable the "Install Software Updates" part of my TS it will run without probems. It installs 154 updates during the build.
    I have seen another reference to this problem on this forum but why should the large number of the updates be the reason why the task sequcens cannot prepare the SCCM client for capture.
    Sounds to me that it's a BUG :-(
    Thomas Forsmark Soerensen

    I'm glad I'm not the only one running into this.  I've been racking my brain for the past few days trying to figure out where I went wrong. 
    SCCM 2012 R2 CU1
    Installation properties in TS: SMSMP=mp.f.q.d.n FSP=mp.f.q.d.n DNSSUFFIX=f.q.d.n PATCH="%_SMSTSMDataPath%\Packages\AP200003\hotfix\KB2882125\Client\x64\configmgr2012ac-sp1-kb2882125-x64.msp;%_SMSTSMDataPath%\Packages\AP200003\hotfix\KB2905002\Client\x64\configmgr2012ac-r2-kb2905002-x64.msp;%_SMSTSMDataPath%\Packages\AP200003\hotfix\KB2938441\Client\x64\configmgr2012ac-r2-kb2938441-x64.msp"
    Drop Windows 7 WIM that has all the updates Schedule Updates (offline servicing) installed (169 of 277)
    Apply several updates offline (the dual-reboot Windows 7 updates among others)
    Run Windows Updates more than once to be sure I get everything
    Breaks at the preparing client for capture step
    Is this:
    a bug?
    a known issue
    something that's just frowned upon for no technical reason?
    I'd love to hear from an SCCM guru [at Microsoft] on what the heck is going on here.

  • When Teststand is expired, the java process communicating with Teststand engine is killed.

    We are using an evaluation version of Teststand for development. We are using Teststand API in C code to communicate with the Teststand engine and in turn the java process communicates with the C code. But if the Teststand is expired, the java process is killed. Please suggest if there is a solution to stop the killing of java process when the teststand is expired.

    Hi geddam,
    The fact that the entire application is ending is expected as it is trying to access the TestStand API. Since your evaluation period is over you no longer have an active license and cannot access TestStand. We allow an evaluation period so that someone new to TestStand can evaluate it to determine if they will benefit from the software. However, once you have decided to develop using TestStand, you need to obtain a development license for TestStand. We have several different licenses for TestStand and a specific license to be used for development. The evaluation period should not be used as a time for development but a time to evaluate the software. So, in order for your application to work again, you will need to obtain a license for TestStand software.
    Thanks,
    Caroline
    National Instruments
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

  • The TestStand Engine cannot be initialized. Path not found.

    Hi, up until now i installed and removed TestStand 3.5 3 times in a row, just to always get this message (see subject) when i try to start the Sequence Editor. I even uninstalled all NI-Software i had on this laptop to reinstall the whole package... Nothing worked. Now i wonder, is there anything i am doing wrong ? What can i do to get TestStand running ?
    Well, on that message when i hit OK, another message
     The sequence editor cannot start up. Unable to create the TestStand Engine.
     Hitting OK on that message again just terminates the sequence editor leaving me with a blank screen.
    Any ideas whats wrong ?
    best regards and thanks in advance,
    Ingo
    Solved!
    Go to Solution.

    Ingo -
    Sorry for your frustration. Your idea to uninstall and reinstall should typically work. The second message is just a result of the first error, so we need to figure out what path is not found, and it is unclear why this is occurring. I tried to force my copy of TestStand 3.5 to fail in a similiar way by messing around with the installation and I could not find a way to cause the "Path not found" error. I got many other more detailed errors, but I have been unable to duplicate your message.
    Some questions:
    1) What operating system are you using?
    2) Are you installing to the default location under Program Files? Are you using a network path in any way?
    3) Do you have write authority to the the installation locations on you system?
    4) Are you logged in as an administrator when installing, restarting, and launching the sequence editor.
    5) Have you manually messed with any of the registry settings under HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\TestStand\3.5, where something is incorrect?
    6) Have you added any User components under the TestStand directory that might somehow load and cause an issue?
    If you currently have an installation on the system, you could quickly try to clear out the Cfg directory under TestStand, so that it generates new copies of these files.
    Message Edited by Scott Richardson on 11-20-2008 12:38 PM
    Scott Richardson
    National Instruments

  • Build and Debug Problem 10.2

    I just installed 10.2 and did a Build and Debug. I got an error that it couldn't run. It is saying that some property in the Oracle web determination has to be set in the application.properties file. I have no idea what the message is talking about. Any help is greatly appreciated.
    Thanks,
    Terry

    Thanks
    I changed the enable.debugger to true and saved the application.properties file
    Opened the project and did a build and debug. Got this message
    type Exception report
    message. Does the fact that this project isn't in the Projects directory matter?
    Thanks,
    Terry
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Servlet.init() for servlet WebDeterminationsServlet threw exception
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    root cause
    com.oracle.determinations.interview.engine.exceptions.RulebaseLoadingException: could not load rulebase: E-Verify
         com.oracle.determinations.interview.engine.local.LocalInterviewRulebase.getRulebase(LocalInterviewRulebase.java:163)
         com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:86)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:91)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:34)
         com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:163)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    root cause
    java.io.IOException: Caught exception class javax.xml.stream.XMLStreamException: Unexpected schema version in screens file: 5
         com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:260)
         com.oracle.determinations.engine.local.ScreensLoader.loadScreens(ScreensLoader.java:139)
         com.oracle.determinations.engine.local.CachingRulebaseLoader.loadRulebase(CachingRulebaseLoader.java:308)
         com.oracle.determinations.engine.local.LocalEngine.getRulebase(LocalEngine.java:192)
         com.oracle.determinations.interview.engine.local.LocalInterviewRulebase.getRulebase(LocalInterviewRulebase.java:151)
         com.oracle.determinations.interview.engine.local.FileRulebaseService.<init>(FileRulebaseService.java:86)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.initialise(LocalInterviewEngine.java:91)
         com.oracle.determinations.interview.engine.local.LocalInterviewEngine.<init>(LocalInterviewEngine.java:34)
         com.oracle.determinations.interview.engine.InterviewEngineFactory.createInstance(InterviewEngineFactory.java:19)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.init(WebDeterminationsServletContext.java:163)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServletContext.<init>(WebDeterminationsServletContext.java:91)
         com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.init(WebDeterminationsServlet.java:51)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         java.lang.Thread.run(Unknown Source)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.31 logs.
    Apache Tomcat/5.5.31

  • Protecting/hiding Business Catalyst website from the public and search engines while in development.

    How can we protect/hide our Business Catalyst-based website from the public and search engines while we are developing it? It seems like anyone can access it, even though it is not complete.
    We are using Dreamweaver to build our website, if that helps. Is there any way to have a test instance of BC that is password protected for development and testing? Thank you for your ideas.

    I have something in my room but I do not tell you it is there or where it is or what it does.
    How do you know unless I show you?
    Do not share your links out, the sitemap is not on till you activate the system.
    I have built BC sites for over 5 years and only one case for me of a client posting out an unfinished site got it indexed by google.

  • How could I pass data from OI (CVI) to TestStand Engine

    I am modifying the teststand OI (CVI) that the User Interface include the serial number entry. I use UIMessage to notify OI to get user input, however I could not find a way to pass the serial number (pass as string) to TestStand Engine. please help.
    thanks.

    Hello,
    For your specific purposes, the best approach would be to modify the PreUUT callback sequence inside of the model, that has the code to display the serial number dialog. You could add your custom code inside of this callback to display your custom dialog, and then write the value back to Parameters.UUT.SerialNumber. Once you have populated this variable, you can then call PostUIMessageEx to post the value of the serial number dialog to the OI. Now you have the value inside of the model, as well as inside of the OI. Let me know if this helps.
    Ryan R.
    NI

  • App builder and remote control

    I want to build and distribute an executable, using Labview 6.1 - and I would like to use the remote panel control functionality. The end-users will not have Labview (other than the run-time engine), so they will have to use a browser to view/control the application remotely.
    Is there anything else I need to package with the application executable (other than the run-time engine and the License manager)?
    Can I use the Web publishing tool to create the HTML file for the remote front panel? Since the target machine will not have Labview, and will be running the compiled EXE file instead of a VI, how do I refer to the VI in the web tool?
    Eg. I compile 'webapp.VI' into 'webapp.exe'. What URL should I use to connect to the appl
    ication remotely, using a browser?
    Thanks.

    gnm,
    Please refer to KnowledgeBase 2IDDCHB9: Using Remote Panels with a LabVIEW Applications (EXE) for the information you are looking for.
    Randy Hoskin
    Applications Engineer
    National Instruments
    http://www.ni.com/ask

Maybe you are looking for

  • Mac book pro will not start

    mac book pro 13 wont atart up all i get is a folder icon with a question mark in it any help ?

  • Change Response in Adapter Module

    Hi all,     In asynchronous senario, there would be a http status 200 response from the receiver if the message has been arrived the receiver system. I'm wondering, is it possible to change the response manually by develop a adapter module? Thanks an

  • VPC 7.0 Using a different user

    I just got VPC 7.0 and I installed it in my iMac G5. I installed it while I was as an administrator user but, I want to use VPC as a regular user. Do I have to install VPC again to used it as a regular user? Can anyone help please Thanks much

  • Do I have to use icloud.

    Have ipod touch 3rdGen.  Primarily use for itunes music .  Do I have to use icloud.  If not, how do I delete (disable) Mobile Me?  It causes issues with my MS Outlook 2007.

  • Get All instance names in the stage

    hi, is there any way to get all instance name of the objects presents on the stage ? trace them for example thank you