TestStand-Engine

TestStand engine has an ActiveX/COM Interface to be used in high level programming tools but
is there any possibility to use these functions by tools only supporting simple DLL-Calls?
Thanks for your help!

Hello Chris,
Sorry , my question wasn't exactly enough.
I know that TestStand itself is able to call DLL-Functions using the integrated DLL Flexible Prototype Adapter.
What i want to know is, how i could realize to use the
methods of the TestStand Engine in programming tools not supporting to create ActiveX references, but these
tools are able to use simple DLL-Functions like "MessageboxA" of WINAPI.
The methods i want to use refer to an execution of
a single sequence: GetSequenceFile, NewExecution, WaitForEnd, ReleaseFile and UnloadAllModules.
The only idea is to write a Wrapper-DLL containing functions for each of the listed methods in any high
level programming language, but i don't know if this could work.
Have you any ideas to solve my p
roblem?

Similar Messages

  • 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

  • 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

  • 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

  • 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?

  • 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

  • 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?

  • 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

  • Test Stand: TestStand Engine Process

    I'm looking into an application (written by someone else of course) which calls a "Test Stand Engine" to execute a test.
    First thing is what is this "Test Stand Engine" ?
    I have been using Test Stand GUI (Test Stand Sequence Editor) to execute such test cases in the past so I never knew what do they mean by Test Stand Engine.
    The problem i'm looking into is simple.
    They say that Test Stand Engine is being executed as part of a thread and my task is to make it execute in a process.
    But I Can't find the actual call to test stand engine itself.
    I'm on Windows box and all I can see in Task Manager => Process is TSAUTO~1.EXE which is same whether I run GUI or my application with Test Stand Engine.
    What should I look for in my application code to find the "Test Stand Engine"?
    Any Help?
    Nirvana

    Hi,
      just to clarify that - there's two approaches to making an operator interface with TestStand.
    1) Use the TestStand UI controls and manager controls or 2) Go directly to the TestStand Engine.
    Option 1 actually overwraps the calls to the TestStand Engine anyway to make it easier to implement an operator interface. That's not to say that going directly to the TestStand Engine  ActiveX automation server is difficult, but you have to do certain things, like shutting down in a sepcific way.
    Your best other resource is the TestStand help (rather than the bookshelf pdf's) and have a look at the topic about "Writing an application with the teststand engine"
    As Dennis says - you might get more help on the TestStand forums rather than the LabVIEW ones though.
    Thanks
    Sacha Emery National Instruments (UK)
    Message Edited by SachaE on 02-22-2007 10:26 AM
    // it takes almost no time to rate an answer
    Attachments:
    teststandHelpSection.JPG ‏55 KB

  • Pre-load TestStand Engine

    Hi,
    I have a CVI application (loaded on Startup of a PC) which calls my modified CVI TestStand Test Executive.  When I execute the Test Executive there is a delay while the TestStand engine is loaded.
    I would rather have the delay up front so, is there anyway I can pre-load the TestStand engine in my calling CVI application to remove this delay?
    Thanks
    James.
    (CVI 8.0.1, TestStand 3.5)

    The best way to do this may be to start up the test executive application immediately in a hidden mode, and then send a command to show it when it is needed.
    Allen P.
    NI

  • What do you need to deploy the Teststand Engine?

    I just received TestStand 3.5 (semi familiar with 2.1) and am trying
    out the "Common Deployment Scenarios" described in the TestStand
    Reference Manual.  Unfortunatly I am not completely seing what is
    described in the manual.  Specificaly, the "Deploying the
    TestStand Engine" and "Distributing Tests From a Workspace" contain
    steps that instruct to check the option to add an operator interface in
    the "TestStand Engine Options" dialog box.
    Why am I not seing this option?  Did something change in 3.5 that
    didn't get change in the manual?  Am I missing a licence?

    Not unless you are using TestStand wich I don't think you are.  From this post and your other post on the forum it looks like you are just working with LabVIEW at this time.  TestStand is a seperate appliation for quickly creating sequences for automated test.
    Your best bet would be to keep posting in the LabVIEW forum and I would recomend starting a new post of your own too.  Replying to old post with new questions get things side tracked.

  • Loading TestStand Engine reference into the runnable objects table

    Has anyone ever used the Running Objects Table (ROT) to store the TestStand execution reference so other running programs have access to it?
    I have a test sequence that instantiates an ActiveX Exe script engine, then calls the script engine using the activeX adapter steps to run script files.  I need to access TestStand context variables from inside one of these scripts, but I can only pass (space delimited) string parameters to the scripts, (I didn't write the interface...)  so I don't believe I can pass ThisContext directly.
    I'd really appreciate a reply from anyone who has experience storing TestStand references in the ROT (& knows whether this would work), or using any other method of making the TestStand reference available to another running program.
    I don't really understand how the ROT works, but I found some DLL calls that register and unregister references in it.  I've stumbled about with trying it, but don't really understand what I'm doing.
    thanks - Mark

    Sorry, found the answer already at this forum.

  • Using TestStand Engine API in LabVIEW

    Hi all,
    I am currently working for a proejct where automation of testing is involved, For which NI LabVIEW and TestStand are used. My previous experience is in LabVIEW only and not in TestStand. In the current project I have to develop a UI where user can select the test sequences and execute them  automatically with a simple start command. So I thought to develop a UI in LabVIEW where I will call TestStand APIs in LabVIEW. I have a developed a code by calling the TestStand APIs and able to execute the sequence, but unable to generate the report. Does  any have stuff where in TestStand APIs are called in LabVIEW and test report is generated.
    As I mentioned earlier I haven't worked much in TestStand. I have gone through the TestStand examples like Simple UI. But it didn't helped me much.
    To put our project requirement in simple.
    1.It should  have the UI to select the TestCases (Test Sequences) and an option to select the no.of times the test cases needd to be executed.
    2. It should generate the reports for all the test cases.
    3. UI should support localization.
    Considering the above requirements I have thought to develop UI in LabVIEW calling the TestStand APIs. I also got to know that UI can be developed using TestStand, but I am not sure whether the above mentioned requirments can be fullfilled or not.
    I am attaching the VI what I have developed in the LabVIEW with which I am able to execute the sequences, but unable to generate the report. Kindly look into the VI and let me know what need to be corrected to generate the report using the same VI.
    Thanks and Regards
    Giridhar
    Attachments:
    TestStand_Enginevi.vi ‏21 KB

    If you want to generate a report you'll have to choose an entry point. You should have a look at the LabVIEW OI (operator Interface) shipped with TestStand
    Rodéric L
    Certified LabVIEW Architect

Maybe you are looking for

  • HP MINI 110 FATAL ERROR SYSTEM HALTED . [edited] .!!!

    HP MINI 110 LAPTOP FATAL ERROR SYSTEM HALTED . [edited Serial Number by Moderator] plz ANYbody SOLVE THAT PROBLEM. I HAV NOT OPEN MY LAP SINCE 3 MONths..

  • Insert a new record in the middle of a tabular form

    Hi, I have a tabular form. Pressing "Add Row" button opens a new, empty row at the bottom of the page or - if I use pagination - jumps to the page with the last record and creates a new record there. Is it possible to open a new line in the middle of

  • Setting Transaction isolation level when I'm not in an EJB

              I have a Message Driven Bean (MDB) that is container managed, and its transaction           isolation is set to TRANSACTION_READ_COMMITTED in weblogic-ejb-jar.xml and that           seems to work fine. If I look at an entity bean in onMessa

  • Mapping measures to fact tables crashes (in OLAP Catalog)

    I've got some problem with an olap catalog I create. Describing briefly my situation I may say that I have got a few measures (dimensioned with the same dimensions) but they load data from different fact tables. Using the CWM2 packages I try to creat

  • Defining specific queue

    Hi experts, is it possible to define a number of queue for one specific interface ? I know the parameter EO_INBOUND_PARALLEL_SENDER, but I dont get how it works, where do you specify the interface concerned ? Any help would be greatly appreciated. Ki