Help:set up simple test sequence, operator selects particular test then teststand links to part of sequence file and performs test

Hi,
I am extremely new to TestStand, please see question below and offer advice.
I want to set up a simple test sequence.
I want a message to popup on screen that asks the operator which unit of 6(max 10) Units to test(i.e. there are say 6-10 box's to select from).
Then the sequence goes to the particular part of the sequence and performs the test on which ever unit was selected.
What is the best way to do this?
Could i use message popups to do this?and if so what do i need to do link it to the correct part of the sequence file?
Do message popups only allow 6 options to select from?
Thanks,
Solved!
Go to Solution.

Hi,
   You can do using message popup method. You can ask the user which unit want to execute by inserting message in message expression in message popup step settings.Something like below
"Enter unit number to execute 
 1.  Unit1
 2.  Unit 2
 10. Unit 10"
then check "Enable response text box" from options tab in step settings.When user enters unit number you can get the user entered value by inserting the below statement in post expression of message popup step settings
    Locals.String = Step.Result.Response 
    Note : String is a local variable to be defined.
Convert that string in to number and send that output to switch expression there by you can use a sequence call step to call sequence whichever to be executed. (I hope your each unit will be seperate sequence file)
I hope these resolves your problem. If you don't understand let me know so that I can develop a small example and send it to.
Cheers,
krishna 

Similar Messages

  • When I try to access iTunes or safari, I get the following message:The procedure entry point QTCF_CFHTTP message set header field value could not be located in the dynamic link library QTCF.dll  I uninstalled and reinstalled.same result HELP!

    When I try to access iTunes or safari, I get the following message:The procedure entry point QTCF_CFHTTP message set header field value could not be located in the dynamic link library QTCF.dll  I uninstalled and reinstalled.same result HELP!

    Taken at face value, you're having trouble with a QuickTime program file there.
    Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "QuickTime" and then click "Repair".
    Does the repair go through okay? If so, are you able to launch iTunes and/or Safari now?

  • I need to sort very large Excel files and perform other operations.  How much faster would this be on a MacPro rather than my MacBook Pro i7, 2.6, 15R?

    I am a scientist and run my own business.  Money is tight.  I have some very large Excel files (~200MB) that I need to sort and perform logic operations on.  I currently use a MacBookPro (i7 core, 2.6GHz, 16GB 1600 MHz DDR3) and I am thinking about buying a multicore MacPro.  Some of the operations take half an hour to perform.  How much faster should I expect these operations to happen on a new MacPro?  Is there a significant speed advantage in the 6 core vs 4 core?  Practically speaking, what are the features I should look at and what is the speed bump I should expect if I go to 32GB or 64GB?  Related to this I am using a 32 bit version of Excel.  Is there a 64 bit spreadsheet that I can us on a Mac that has no limit on column and row size?

    Grant Bennet-Alder,
    It’s funny you mentioned using Activity Monitor.  I use it all the time to watch when a computation cycle is finished so I can avoid a crash.  I keep it up in the corner of my screen while I respond to email or work on a grant.  Typically the %CPU will hang at ~100% (sometimes even saying the application is not responding in red) but will almost always complete the cycle if I let it go for 30 minutes or so.  As long as I leave Excel alone while it is working it will not crash.  I had not thought of using the Activity Monitor as you suggested. Also I did not realize using a 32 bit application limited me to 4GB of memory for each application.  That is clearly a problem for this kind of work.  Is there any work around for this?   It seems like a 64-bit spreadsheet would help.  I would love to use the new 64 bit Numbers but the current version limits the number of rows and columns.  I tried it out on my MacBook Pro but my files don’t fit.
    The hatter,
    This may be the solution for me. I’m OK with assembling the unit you described (I’ve even etched my own boards) but feel very bad about needing to step away from Apple products.  When I started computing this was the sort of thing computers were designed to do.  Is there any native 64-bit spreadsheet that allows unlimited rows/columns, which will run on an Apple?  Excel is only 64-bit on their machines.
    Many thanks to both of you for your quick and on point answers!

  • BPM...needing help in a simple test case...

    Hi guys,
    I'm having some trouble with the creation of an integration process.
    My idea is to create the following process:
    Legacy Nº1-->(FILE) -- > XI -> (FILE)> Legacy Nº2, after Legacy Nº2 receives the file (Purchase Order), one of the fields of the purchase order will be submitted to a validation.
    If the field is correct it will send another file back to legacy Nº1 with the approval of the purchase order.
    In a BPM, how would this be look like?
    I'm able to send the purchaseOrder, but How would the validation of the field be executed? And what components would then be placed in order to achieve the validation and the corresponding sending?
    Thank you guys...I'm greenish at BPM...

    Hi Anand,
    Like I said I was able to send the Purchase order from legacy Nº1 to legacy Nº2 with a simple BPM like:
    start-->receive step >send step> end
    My idea is after legacy Nº2 gets the file, validate one of the xml field files, just to check if the purchase order is the one i'm expecting.
    If the order is the correct, I'd like to send a confirmation of that purchase order (a simple xml file) back to legacy Nº1.
    My confusion is, I have for my simple BPM:
    sender agreement: LegacyN1|Purch_Out
    interfac_det: LegacyN1|Purch_Out|IP_legn1_legn2
                 : IP_legn1_legn2 |Purch_AB | LegacyN2
    receiver_det: LegacyN1 | Purch_Out
                  IP_legn1_legn2 | Purch_AB
    receiver_agreem: IP_legn1_legn2 | LegacyN2 | Purch_IB
    Now If i want to perform a validation and the corresponding sending to the legacy N1, what will I have to define?
    sender agreement: LegacyN1|Purch_Out
                      LegacyN2|Purch_IB
    interfac_det: LegacyN1|Purch_Out|IP_legn1_legn2
                 : IP_legn1_legn2 |Purch_AB | LegacyN2
                  LegacyN2|Purch_IB|IP_legn1_legn2
                 : IP_legn1_legn2 |Purch_AB | LegacyN1
    receiver_det: LegacyN1 | Purch_Out
                  IP_legn1_legn2 | Purch_AB
                  LegacyN2 | Purch_IB
    receiver_agreem: IP_legn1_legn2 | LegacyN2 | Purch_IB
                    IP_legn1_legn2 | LegacyN1 | Purch_Out
    I think that this would be the config.
    But how could I perform the validation? The validation was  only to check if that purchase order existed in the system.
    and in the BPM what would I get?
    tHE BPM is confusing me a little bit because there is few material for me to guide....

  • Reload sequence file when changes on disk

    Hi,
    I wrote a custom user interface based on the TestStand (TS) Operator Interface. When I run a sequence file on it and I edit it in the TS editor and I restart an execution, it seems to keep loading the first one when I launch the execution. The only way I can do this is by restarting the GUI.
    I read a lot and tried many things and I can’t figure out what do I need to do to have the sequence file reload from disk on the 2nd execution after changes has been made.
    I tried many thing and it seems to work when I release the seq file 2 times (!). But, as expected, the 2nd time it get released, I get an error that the file was unloaded from the TestStand Engine. And the weird thing is that I don’t get the error when I run the 1st time or I don’t make changes to the seq file.
    Do you see anything wrong? Or have another suggestion how I could achieve that?
    Can I see which seq files are in the internal cache? That could be useful to debug.
    Thank you.
    A code snippet in C# is in attachement.
    Attachments:
    C#-code.rtf ‏2 KB

    A few more ideas:
    1) Are you perhaps using this file path with an ApplicationMgr or SequenceFileViewMgr API? You need to make sure that this file is not open by the ApplicationMgr or assigned to a sequencefileviewmgr as well. The applicationmgr or sequencefileviewmgr likely have a strong reference to the sequence file if you have assigned it or opened it with one of their APIs. You might want to try switching entirely to the applicationmgr APIs instead of using the engine APIs as that's probably less likely to lead to conflicts between the two.You could try ApplicationMgr.OpenSequenceFile() and ApplicationMgr.CloseSequenceFile().
    2) Have you tried this with a simple, empty sequence file and simple default Sequential process model to verify that it's not related to anything in the sequence file you are running or any code elsewhere in your application? It's possible for code in the sequence or process model itself to be calling GetSequenceFile or GetSequenceFileEx.
    3) Have you tried adding a delay between WaitForEndEx() and ReleaseSequenceFileEx()? This is not that likely to be the cause, but perhaps there is additional code required to execute in the execution thread after WaitForEndEx returns before the sequence file can be unloaded. If you add a small delay (i.e. Thread.Sleep(1000) between those lines of code it might work. This would not explain why the file couldn't be reloaded when you use GetSequenceFileEx with the UpdateFromDisk flag though so probably is not the problem.
    I tried to reproduce this problem in the sequence editor by running an
    execution with a sequence file, closing the sequence file, overwriting
    it with a different sequence file and reopening it and I was unable to
    reproduce the problem. I got the new file opened as expected. This is
    the equivalent situation since there is a completed execution still
    open. The sequence editor does not use the Unload flag on
    ReleaseSequenceFileEx, but it does use the UpdateFromDisk flag on
    GetSequenceFileEx() and it seems to work, correctly loading the new
    version of the file in this case. So there must still be something different in your case. I suspect that it's not the execution that has the extra reference in your case, but something else, perhaps the ApplicationMgr or SequenceFileViewmgr.
    Also, as a side issue, if you are writing a custom UI, I'd recommend using UIMessages to determine when an execution completes rather than WaitForEndEx(). Basically handle the ApplicationMgr.UIMessageEvent and look for UIMsg_EndExecution and check that the execution associated with the UIMessage is the one you care about. Using the UIMessage like this has a couple of advantages:
    1) It allows your UI to go back to executing in it's main message processing loop (Some things will not work correctly without this).
    2) It gives you the potential to track and handle running multiple executions in parallel. Just look for and track the multiple UIMessages that such executions generate.
    Please let us know if any of these ideas helps or if you are able to figure out the cause of the problem. If you are still unable to get it working and can't figure out the cause, please attach an example program and sequence files which reproduce the issue.
    Hope this helps,
    -Doug
    Message Edited by dug9000 on 03-02-2010 10:03 AM
    Message Edited by dug9000 on 03-02-2010 10:04 AM

  • How do I select a database schema to use for a sequence file?

    I have multiple database schemas on my TestStand system and when I select a sequence file I need to set the schema so the results get entered into the database correctly.
    I use a SequenceFileCallback for DatabaseOptions in my sequence file and in this I set Parameters.DatabaseOptions.DatabaseSchema.Name='xyz' where xyz is the database schema name that needs to be used. This does not work and it reports an error that it can not be loaded or the file may be corrupted. Does this feature work or do I just have an error in what I am setting this equal to?
    Solved!
    Go to Solution.

    Hi plf,
    It seems to me you are going about this the right way. The DatabaseOptions callback is called immediately before the process model fetches the schema statements based on the schema name. I was able to change the schema on the fly in the same way you are attempting (using the default sequential model and TestStand  4.1).
    Ensure you are using a schema that is defined in the Database Options Dialog (Configure»Database Options»Schemas Tab»Schemas Listbox).
    Ensure you are using the exact name of the desired schema (copy it from the Name textbox in the above Schemas Tab).
    Ensure that choosing this schema manually works when you run this sequence file (to be sure it is not corrupted).
    Check that you are using double quotation marks around the schema name, not single marks as in your post.
    Evan Prothro
    RF Systems Engineer | NI

  • Added a check to Text to sequence file result in Test Stand hang up.

    I added the check in text to sequence file translator.vi (the file is attached)
    With this addition I generated the dll.
    Test Stand load the sequence file without any problem for the first time.
    If I add a space to the sequence file and save the file; test stand tries to load the new sequence file saying file has changed do you want to load the new sequence...
    But fails to load the sequence (Test Stand hangs up)
    The only way to overcome is kill the TestStand thru task manager.
    Which displays
    "You chose to end the nonresponsive program, SeqEdit.exe"
    Attached the displayed error (error.doc)
    Attachments:
    Changed code.vi ‏55 KB
    Error1.doc ‏45 KB

    Hi Vidula,
    Is it only when you add a space to the file name that you see this behavior? If, for instance, you add a '1' to the beginging of the file name does the same thing happen?
    Adam
    National Instruments
    Applications Engineer

  • How to apply Property Loader to all sequences in the Sequence File?

    HI,
    I'm following the help instructions for the Property Loader and it states....
    Use Current Sequence File—Selects the file where the step is located.
    Sequence—Specifies the name of the sequence into which to import variables and properties. The specified sequence must exist in the specified sequence file. Select the <ALL SEQUENCES> tag from the drop-down list to instruct TestStand to import variables and properties for all of the sequences in the specified sequence file. You must specify a valid sequence name for the step to work properly.
    In my specific sequence file I added the Callbacks:  SequenceFileLoad, SequenceFileUnload, PreUUT. In addition to that, my MainSequence is calling 2 subsequences.
    I put the propertyLoader step (setting few values of the SequenceFileGlobals) in the setup section of the SequenceFileLoad, checked the 'Use Current Sequence File' and selected ALL SEQUENCES tag in the 'Sequence' option.  I verified that it does what I wanted.  Then, is it entered the PreUUT subsequnce, the values returned to the "original" values.
    Is that a bug?
    If not, how do I use the PropertyLoader in a sequenceFile that include several subsequences as well as Callback sequences.
    Thanks
    Rafi

    Ooops, sorry about that...
    I forgot to mention....it is TS 3.5.
    As per your questions-- yes they all in the same sequence file. 
         mySeqFile.seq
               SequenceFileLoad
               SdequnceFileUnload
               PreUUT
               Seq1
               Seq2
    AS I said....I put the property loader in the setup of the SequenceFileLoad,  I see that it works properly in that subsequence.  Then, after the SuequenceFileLoad is finished, I do Ctl+F5 for Test UUT's.  I put a breakpoint in the first step of the preUUT subsequence and check the context.  I notice that the variables in the FileGlobals to whom the property loader writes, have been changed back to the original values.
    I'll try to create a simple program to duplicate it but it may take me time as this test station is very busy.
    Thanks
    Rafi

  • How to release process model sequence file object?

    Calling engine's method GetStationModelSequenceFile we get the reference to the process model sequence file object. According to TestStand Help, you should "Release this reference when you are done using it." The question is: how do you release it? Call engine's method ReleaseSequenceFileEx passing the reference to the model sequence file gotten from GetStationModelSequenceFile won't work, it returns FALSE which means the sequence file can't be released. Similar problems exist with methods SequenceFile.GetModelSequenceFile, Execution.GetModelSequenceFile. My aplication is written in VB. Using the statement like
    Set modelSequenceFile = Nothing also does not solve the problem.  I want to get some information of process model, such as version number, so I call those API functions in my code, which was developed under TestStand 3.1. I post this question because when I ran my application with TestStand 3.5 or 4.0 beta, I got the warning dialog when loading a sequence file and then closing the application. The dialog listed all the unreleased objects which I figured out is due to that the process model file was not released. Because message in the dialog is as following:
    The following top-level objects were not released:
            Sequences [1 object(s) not released]
                Sequence #1:
                    Name: Test UUTs
            Type Definitions [43 object(s) not released]
                Type Definition #1:
                    Name: TimeDetails
                Type Definition #2:
                    Name: ReportOptions
    Of course there are more in the list, but the sequence file loaded into the application is released correctly by calling engine's method ReleaseSequenceFileEx, so it does not appear in the list.
    Any help will be greatly appreciated.

    Here are what I did after launch the operator interface:
    1) Call Engine.GetSequenceFileEx to get a reference to a sequence file.
    2) Display steps of MainSequence of the sequence file in GUI.
    3) Call Engine.GetStationModelSequenceFile to get a reference to the station process model sequence file. The variable used to save the reference of process model sequence file is modelSequenceFile.
    4) Loop through all the sequences in process model sequence file, get the references of entrypoint sequences in the process model and put them in a container (VB Collection).
    At this point,
    Calling modelSequenceFile.CanUnload returns TRUE
    Calling modelSequenceFile.IsExecuting returns FALSE
    Calling Engine.ReleaseSequenceFileEx(modelSequenceFile, ReleaseSeqFile_UnloadFile) returns FALSE
    There is no other loaded process model sequence file reference at this point.

  • Know steps names of called sequence file using sequence call step type in TestStand

    Hi,
        I have a problem in accessing step names in called sequence file using "Sequence call"step type in TestStand 4.0.
    I would list out all step names of called sequence file. Is it possible to do through C#.NET? If, yes, Please explain to me in detail with possible example.
    Thank you,
    regards
    RKK

    Hey RKK,
    I want to first set your expectations for the forums.  This is not a place for people to review and rewrite your code for you; this is a place for specific and general questions.  I am not saying your question in this thread is inappropriate, because it is a good questions.  We should just not post code and ask others to fix it here.  If you are looking for this type of service we have alliance members that can help you write your TestStand Operator Interface (www.ni.com/alliance).
    As for you question about getting the sequence names for a sequence file that is not the currently running sequence file, you will need to open a reference to that sequence files and then use the API calls that I mentioned in my previous posts.  You can use the Enigine.GetSequenceFileEx function to open a reference to sequence file, and you will need to close the reference with the Engine.ReleaseSequenceFile function when you are done using it.  After you have a reference to this external Sequence File, you can use the example dll and sequence I previously sent you.  I also attach a new sequence file (SeqFile2.seq) plus an updated GetNames.seq to illustrate how to use the above mentioned functions.  I hope this helps.  Have a great day!
    Best Regards,
    Software Engineer
    Jett R
    Attachments:
    GetNamesOfSequencesInFile.zip ‏52 KB

  • Protecting Sequence Files From Modifications

    I sure others have had to do this in the past.
    What is the best way to protect the sequence file from being modified in the field?
    Even I, with my limited TestStand skills, have gone in with a text editor and changed things in a sequence file.
    We would like to encrypt the sequence file and then have code to convert it back as it is loaded.
    Or is there a better way.
    We are also encrypting the report files on the back end so those can't be altered easily.
    Thanks

    What version of TestStand are you using? According to this version 3.5 has some built-in security features.
    If you don't want to or can't upgrade, there are a few other things I can think of. Are you getting copies of the test results from the CM. At each of the CMs I deal with, we insist on an Internet connection so that the test results are transfered to our local database. If I wanted, I could look at the limits and number of test in the results and compare to a master. I also install VNC on each of the deployed testers. This not only helps to debug when a problem arises, but I can do a simple check sum on the sequence file and compare it to my local copy.

  • Sequence file version conflicts - TS_EngineNewExecution

    Hej NI Community,
    I have programmed an stand alone application, which can execute sequence files. The CVI application is programmed with CVI 7.0 and Teststand API 4.0. You can select a sequence file and run the application without the SequenceFileEditor...
    My sequence file is programmed under Teststand 4.1 and uses sequence file library functions, which are developed with Teststand 4.0 (stored in different sequence files).
    I can run the sequence file under Teststand 4.1 (SequenceFileEditor) without any error messages. My own application cannot run the sequence file. The function TS_EngineNewExecution comes back with a error message:
    Error code: -2147352567
    CA automation error string: Ausnahmefehler aufgetreten.
    Teststand API error information:
    wCode: 0
    sCode: -17329
    source: TSAPI
    description: Error loading step 'In-Circuit-Test' of sequence 'MainSequence' in file 'bscan_demo.seq'.
    Error loading step 'Insert name of step into operator interface' of sequence 'Load and run ICT program' in file 'Test_Library.seq'.
    Type 'NumericLimitTest' is invalid because it conflicts with the existing type of that name. To avoid this error message, you should open the file with the type conflict in the Sequence Editor and resave it.
    The sequence file 'C:\Program Files\Sequences\Utility_Library.seq' could not be loaded.
    helpFile:
    helpContext: 0
    errorParamPos: -1
    I can resave the sequence to avoid this message. My own application can execute the sequence file after resaving. The library is saved now in Teststand 4.1 format. But this is not my interest.
    Can anyone tell me, why the sequence editor (4.1) don't show me any error? How must I program my own application to avoid this error message?
    Thanks a lot.
    Solved!
    Go to Solution.

    Hej,
    I'm posting my tracefile. I think its easier to unterstand. Here are tracing with the error:
    0.000s      Program started
    0.000s      Tracing started
    0.002s      Function LoadPanel finished with no errors
    0.000s      Initialize Teststand Engine
    0.892s      Function -->   TS_NewEngine finished with no errors
    0.000s      Function -->   TS_EngineRegisterUIMessageCallback finished with no errors
    0.001s      Function -->   TS_EngineSetProperty finished with no errors
    0.000s      Function InitEngine finished with no errors
    0.000s      Start login process
    0.000s      Function -->   TS_EngineNewPropertyObject finished with no errors
    0.000s      Function -->   TS_PropertySetValBoolean finished with no errors
    0.000s      Function -->   TS_PropertySetValBoolean finished with no errors
    0.030s      Function -->   TS_EngineCallFrontEndCallback finished with no errors
    0.000s      Function -->   TS_ExecutionGetProperty finished with no errors
    0.000s      Function CallLoginLogoutCallback finished with no errors
    0.000s      Show panel behind logon panel
    0.017s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.003s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.011s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.224s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.247s      Waiting for Login
    0.500s      Waiting for Login
    0.086s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_ExecutionGetProperty finished with no errors
    0.005s      Logon process done
    0.000s      Check user
    0.000s      Function -->   TS_EngineGetCurrentUser finished with no errors
    0.000s      User can run any sequence
    0.000s      Function CheckUserPrivilege finished with no errors
    0.000s      Open sequence
    0.000s      Show file select popup window
    1.297s      Function -->   TS_EngineGetSeqFile finished with no errors
    0.000s      Sequence file path is:
    0.000s      c:\Program Files\Spectral Electronic\SW-ITS\Projects\BScan_Demo\bscan_demo.seq
    0.000s      Function OpenSequence finished with no errors
    0.000s      Check sequence
    0.000s      Function -->   TS_SeqFileSequenceNameExists finished with no errors
    0.000s      Function -->   TS_SeqFileSequenceNameExists finished with no errors
    0.000s      Function -->   TS_SeqFileSequenceNameExists finished with no errors
    0.000s      Function -->   TS_SeqFileSequenceNameExists finished with no errors
    0.000s      Function -->   TS_SeqFileSequenceNameExists finished with no errors
    0.000s      Function -->   TS_SeqFileSequenceNameExists finished with no errors
    0.000s      All sequences found, iStartSequence automatically true
    0.000s      Function CheckSequence finished with no errors
    0.000s      Start execution of loaded sequecence
    0.248s      Function -->   TS_SeqFileGetModelSeqFile finished with no errors
    3.123s      An error has occurred in function: -->   TS_EngineNewExecution useProcessModel
    Error code: -2147352567
    CA automation error string: Ausnahmefehler aufgetreten.
    Teststand API error information:
    wCode: 0
    sCode: -17329
    source: TSAPI
    description: Error loading step 'In-Circuit-Test' of sequence 'MainSequence' in file 'bscan_demo.seq'.
    Error loading step 'Insert name of step into operator interface' of sequence 'Load and run ICT program' in file 'Test_Library.seq'.
    Type 'NumericLimitTest' is invalid because it conflicts with the existing type of that name. To avoid this error message, you should open the file with the type conflict in the Sequence Editor and resave it.
    The sequence file 'C:\Program Files\Spectral Electronic\SW-ITS\Sequences\Utility_Library.seq' could not be loaded.
    helpFile:
    helpContext: 0
    errorParamPos: -1
    0.015s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   CA_CreateObjHandleFromIDispatch finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    0.000s      Function -->   TS_UIMessageGetProperty finished with no errors
    4.303s      An error has occurred in function: ExecuteSequence -> Test UUTs
    Error code: -1
    Error message: No error message
    0.628s      Start free all resources
    1.060s      Free all resources done
    0.000s      Tracing stopped
    0.000s      Programm ended

  • Database Polling - Using Update a Sequence File - Not working

    Hi All,
    We need to use the Database Adapter Polling feature to poll a table for inserts and updates. In the database configuration page of "After Read" , we have used "Update a Sequencing File".
    But the process is not being triggered. Any one has successfully tried this option.
    Do we need to do any additional configurations ?
    Please respond. Its urgent.
    Thanks,
    Sayama

    If this is your first time working with the Property Loader I recommend the following steps:
    - Save the Sequence File and go to Tools-> Import/Export Properties…
    - Set the Data Location to be a File (You can change it later if you need to use a Database).
    - Enter the file path.
    - Select a File Format.
    - Go to the Properties Tab and from the Available properties list (tree) select your global variable. The global variable should appear in the selected properties list.
    - Click the Export Button.
    - If you go back to the Source Destination File and click on View File you will notice that the file you selected was generated and that it has a special format.
    You will identify the name of your variable under <File Globals> and the variable value under ‘Variable Value’.
    Change the variable value to whatever value you want and save the file.
    - Now, if you click the Import Button, the tool will get the value from the source file and set the edit-time copy of the sequence global variable to the value you entered in the file.
    - Click the Done button and go and check the value of the sequence global variable. The value should be the value you entered in the file.

  • Accessing Sequence FIle information

    I want to programmatically access a sequence file's information (sub-steps & sub-sequences) prior to actually loading the sequence. I.e. I’m trying to make a stand alone GUI that allows me to select a sequence file and which sub sequence of that file I want to run at a later time.  In C# I declare a sequence: NationalInstruments.TestStand.Interop.API.Sequence seq; But Sequence in an abstract class so I can’t directly create an instance of it. Ditto that for a NationalInstruments.TestStand.Interop.API.SequenceFile.  Anyone know if this can be done and how to do so?  

    Hello John 242424,
    Thank you for posting on the NI Discussion Forums.  Attached is an example written in C#.NET 2008 which takes in a sequence file (chosen by the user) and then retrieves the names of its sequences, and steps within those sequences upon the click of another button.  The key methods it uses are the SequenceFile.GetSequence( ) and Sequence.GetStep( ) methods.  You will notice that Sequence.GetStep( ) currently only returns the steps in the Main step group.  If you wish to find the steps in Setup and Cleanup, you will have to add this functionality.
    Chris_G
    Sr Test Engineer
    Medtronic, Inc.
    Attachments:
    TestStand1.zip ‏46 KB

  • How to skipp or enable all the stpes that belong to certain step type in A sequence file?

    I have a big sequence file, and I have a very special requirement:that is to skipp or enable all the stpes that belong to certain step type?
    I know it could be a somewhat chanllenge, but I believe it can be done.
    Thanks!
    Jacky

    Hi Jacky,
    http://forums.ni.com/ni/board/message?board.id=330​&message.id=2419&query.id=86917#M2419
    http://forums.ni.com/ni/board/message?board.id=330​&message.id=1610&query.id=86919#M1610
    Here are a couple of examples that Get or Set the Run Mode of a step.
    There are also examples on the NI website for TestStand, that will obatin all the steps of a sequence / sequence file,
    http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=B45EACE3EE5556A4E034080020E74861&p_​...
    http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=EF3B073A7D7B5336E0340003BA7CCD71&p_​...
     which should help for building the basic loop to get a step,
    check its Step Type (there is an example of this on website),
    http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=BB88802AAEA621D5E034080020E74861&p_​...
    to decide whether to modify the Step property or not.
    The tricky bit is whether your sequence call steps call sequences in the sequence file or in an external sequence file.
    Hope this gets you started.
    What version of TestStand are you using?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

Maybe you are looking for

  • Port needed for File to File scenario

    Hi, I am new to XI, just got trained and I want to practice file to file scenario. I am able to access ID and IR. I would like to know whether any port have to be enabled for this scenario???? I got list of ports from the basis people to enable the p

  • Strange volume problem on Logic pro 8.0.2

    Hey, I've been having this weird problem for a while and I'm not sure how to get rid of it. Basically, I start a new project lay down some audio tracks as well as software tracks and everything works fine. Then randomly, when I open a new audio track

  • Operations Manager 2012 Generates a lot of Alerts

    Hello, Please kindly help.....I deployed Operations Manager 2012 and configured the Email Notifications.Now OpsMgr is generating a lot of Email alerts....... How can i reduce on the alerts and Email noise and only tune for the required Email notifica

  • Warning with NIRFSG_ATT​R_LO_IN_PO​WER attribute when setting the output of NI5673

    Hello: I have a code that sets output power and frequency of NI PXI5673 generator. I used the example provided with the niRFSG library - RFSG Frequency Sweep.vi (attached).  The spec for the generator says that it can generate continuous signals up t

  • Disable Javascript in Internet Explorer

    I know this isn't a javascript forum but I found out how to do this and thought you might like to know. All other posts I've seen regarding this say you can't do it in IE. If nothing else, I hope this proves the point that web developers should not r