TestStand crashes if I'm using "Diff Sequence Files"

If I am using "Diff Sequence Files", TestStand (2.0.1f1) immeadetly closes without any messages, and I've to restart TestStand again.
Same happens rarely if I run my TestStand application (e.g. after testing 75 UUT's). I've got this bug by using the Secuence editor as well by using an operator interface.
Win XP, Nt4, LabView 6i
Any ideas how to fix that, or how to debug if everything is closed.
Thanks for any hints,
martin

Alejandro,
this problem happens with different sequence files. Sometimes the System Exception �System Exception Error Code: -17502� is shown.
But there are also files where I haven�t any problem by using �Diff Sequence Files�. For your information: all files have the same structure.
Attached you�ll find the 2 files where the problem occurs every time without an Error Code.
But the other serious problems are the crashes while running the TestStand application. That means during the test the TestStand application would close without any messages. And this problem occurs very rarely and I�ve haven�t got a chance to debug.
Any hints will be appreciated
Best regards
Martin
Attachments:
1230-2101_0006.seq ‏178 KB
1230-2201_0006.seq ‏178 KB

Similar Messages

  • Questions about "Diff Sequence File With..." function

    Hello,
    I've started working on a project where I'm maintaining a piece of older code written by a since-departed employee of my company.  It's a TestStand 3.0 sequence file calling on Labview 7.0 code. The thing is, there were two of these installations done at different times and, somewhere in the woods between stations 1 & 2, the code base diverged.  Part of it was due to not being able to get exact duplicate hardware for the PXI chassis and part was, apparently, due to the fact the client used the 2 machines to test different UUT models.
    So, I'm looking at copies of the installed code base on the two machines using the diff feature in TestStand.  (If it makes a difference, I'm doing this viewing in TestStand 3.5 since TS3.0 has mysteriously gone corrupt on me at the moment on my main development computer and, if memory serves, you have to uninstall all the later version of TS to reinstall an older version.  An altogether fun process, no doubt, but a little time consuming.)
    Anyway, the first thing I notice is that very many of the sequence steps have different Step Properties.Step ID values that look something like this: "ID#:2vMTp0db002mQDXArddRSA".  Messing with the diff screen showed an option to "Ignore Unique Step Ids" which got rid of these.  Regarding these unique step ID's: When are they generated and do they remain constant on a particular machine?  Beyond mere curiosity, I wonder because another diff is in some of the "On Pass Target" or "On Custom Condition True Target" under certain Step Properties and the value under there looks suspiciously like those unique ID's (i.e. ""ID#randomstuff"").  Are these all dynamically updated at runtime or will I break something by changing those (say if I copy a sequence from one version overwriting it in the other)?
    So, I filtered the unique ID's out.  The next large area of difference is that many, but by no means all, Labview VI calls have a difference under Step Properties > Flexible Labview Adapter Properties > ViCall > Connector Pane Checksum > Value.  Also, in a few other instances, ViCall > error out > Connector Number is different as well.  Does this indicate a different underlying VI?
    There are a few other differences, but I can interpret those.  My goal is to get one sequence file for both machines so the code will be easier to maintain.  I do think that some of the VI's with different Connector Pane Checksums may be different between the two installations since one of the different hardware components required a different driver library.  This leads to a third question, what does it take to use identical sequence files when the underlying VI's might differ?  Is it just the interface needs to be the same?  Like the connector pane has the same geometry and data types for the exposed inputs and outputs?
    Thanks for any help,
    Mike
    Solved!
    Go to Solution.

    I just got off the phone with NI support, so no worries on the answers.
    Short versions:
    The unique ID's are regenerated when a sequence is copied.
    Teststand doesn't need higher versions uninstalled to reinstall an earlier copy.
     Connector Pane Checksum implies a different underlying VI, but having the same connector geometry/inputs/outputs/types should allow you to have a different VI for different installations without different sequence files.
    Still waiting to hear back from support on whether the goto pointers get updated properly when a sequence or portion of a sequence is copied.

  • "Diff Sequence File With" doesn't look into sub-sequences.

    Hello guys.
    I have these 2 sequences in Teststand 2.0 that I'm trying to compare, but when I use the command "Edit" - "Diff Sequence File With" it only looks in the upper level properties (MainSequence, FileGlobals, etc.) but it doesn't check for the contents inside the sub-sequences, which is where I have most of my measurements and tests.
    Hope you can help. Thanks.

    If you expand the 'Sequences' node, you should see the list of all the
    sequences from your file.  Then expand one of the Sequences and it
    should list the Context variables for those Sequences.  This is
    where you should see a comparison of the Locals set.  As a test,
    try comparing the Sequential (SequentialModel.seq) and Batch
    (BatchModel.seq) process models.  You can find them in the
    <TestStand>\Components\NI\Models\TestStandModels directory. 
    Perhaps you could post the two sequences you are trying to compare if
    you are still running into problems.
    Tyler T.

  • Diff sequence file API

    Hi Ppl,
    Are the API's for using the "Diff Sequence File With" tool exposed ? I mean the tool thats available in the Sequence Editor ->Edit->Diff Sequence File With
    I want to use this tool programmatically. I searched the TestStandAPIReferencePoster. I couldn't locate any such method. 
    This tool is not available with the custom sequence editor license. So If I want to have this functionality in a custom sequence editor is there any work around ?
    Thanks 

    The diff APIs are exposed, but not documented or supported. They are also subject to change.
    However, you should be able to redistribute C:\Program Files\National Instruments\<TestStand>\Bin\SequenceFileDiffer.exe
    I believe it works with a custom editor license.

  • Advantages and disadvantages of using only sequence files or working with sequence files in projects

    Hello,
    can anyone please tell me the advantage of using projects instead of just a sequence file? Do I need projects only if I have more than one sequence file?
    Thanks a lot!

    MGH,
    Projects are meant to help with organization of TestStand files, but with the intention of use as part of a deployment of your test system.  As the TestStand Reference Manual (page 2-5) puts it:
    "In TestStand, you can create a workspace to organize and access your development files. A TestStand workspace file (.tsw) contains references to any number of TestStand project files. A TestStand project file (.tpj) contains references to any number of other files of any type.
    Use TestStand project files to organize related files in your test system. You can insert any number of files into a project. You can also insert folders in a project to contain files or other folders."
    John B.
    Applications Engineer
    National Instruments

  • 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

  • Get handle of sequence file using file name

    in example it is described how to access the comment of a sequence file.
    During report generation I only have the file name of the sequence file not some sequence file struct which is needed.
    How do I get that using the sequence file name?

    Hi mbrost,
    Try this TS2.01f1 example.
    I have put in an override TestResult Callback sequence and added some code to obtain the comment of the Sequence File. I have also added a Comment to the Sequence File.
    Using RunState.SequenceFile as the ActiveX Reference I get a reference to PropertyObjectFile.Data which return a reference. Using this reference I then call the PropertyObject.Comment() API to obtain the comment string.
    Then I display this Comment string in a MessageBox.
    Hope this helps
    Regards
    Ray Farmer
    (PS. ignore the name markp01 as NI site is getting people mixed up)
    Attachments:
    Access_SequenceFile_Comment.seq ‏59 KB

  • How can I include multiple limits in the sequence file documentat​ion for custom step type?

    Hi,
    I have a custom Step Type that contains Measurements property under Results. Its type is Array of NI_LimitMeasurement.
    I would like to see the values in the sequence file documentation like NI_MultipleNumericLimitTest type.
    Is there any trick to do that?
    Thanks,
    Andras

    Hi Andras,
    I have made  a slight change to the sequencefile 'docgen_txt.seq'.
    In the Sequence 'Step Doc' is a section which handles MultipleNumericLimit step type. There is a precondition check on the step 'Add Multiple Numeric Limits' if the step is of type 'NI_MultipleNumericLimit'. As your step type is based on the MultipleNumeric Limit type, I have just removed this precondition and just relied on the existence of Parameters.Step.Result.Measurement. Equally you could add a new section in this sequence to handle your Custom Step Type which is only called when the precodition match your type name.
    Now when you run the DocGen tool it handles your custom step type.
    Find attached my modified sequencefile 'docgen_txt.seq'.
    Just copy the contents of '..\National Instruments\TestStand 3.5\Components\NI\Tools\DocGen' to the User folder. Then place the attached file in the User\Tools\DocGen overwritting the version that is in that folder.
    Then launch TestStand and try it out on your sequence file.
    If you are using the html version, then you will have to make the same change into Step Doc sequence of the docgen_html sequence file.
    Hope this helps
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 05-19-2007 05:28 PM
    Regards
    Ray Farmer
    Attachments:
    docgen_txt.seq ‏184 KB

  • 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

  • Polling for database updates fails to update sequence file/table

    I have a small system to poll for changes to a database table of student details. It consists of:
    Database adapter, which polls the database for changes, retreives a changed row, and passes the generated XML to -
    "receive" router service, which simply passes the retrieved database XML data to -
    "execute" router service, which transforms the XML and passes the new message to -
    File Adapter, which writes the transformed XML to a file.
    The problem is that the database polling is not updating the sequence recorder - I have tried using a sequence file which stores the personnumber, a sequence table which stores the personnumber and a sequence table which stores the last-updated timestamp. In all cases the database adapter successfully reads the sequence file/table and retreives the correct row, based on the sequence value ( I have tested this by manually changing the sequence value), the data is transformed and a correct xml file is created, but the system then fails to update the sequence file/table so that when the next polling time comes around the very same database row is extracted again and again and again.
    In the ESB control panel I have one error: "Response payload for operation "receive" is invalid!"
    The Trace is:
    oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Response payload for operation "receive" is invalid! at oracle.tip.esb.server.service.EsbRouterSubscription.processEventResponse(Unknown Source) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source) at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(Unknown Source) at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(Unknown Source) at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:281) at oracle.tip.adapter.db.InboundWork.onMessageImpl(InboundWork.java:1381) at oracle.tip.adapter.db.InboundWork.onMessage(InboundWork.java:1291) at oracle.tip.adapter.db.InboundWork.transactionalUnit(InboundWork.java:1262) at oracle.tip.adapter.db.InboundWork.runOnce(InboundWork.java:501) at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:401) at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43) at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242) at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215) at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819) at java.lang.Thread.run(Thread.java:595)
    The payload is:
    <PersonCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/ISSSimIN">
    <Person>
    <name>Bob</name>
    <surname>Stupid</surname>
    <istatus>2</istatus>
    <active>Active</active>
    <personnumber>3001</personnumber>
    <role>Staff</role>
    <organization>TEX</organization>
    <updateTimestamp>2007-11-29T14:06:55.000+00:00</updateTimestamp>
    </Person>
    </PersonCollection>
    The payload above is the XML output from the Database adapter, the xsd for which was autogenerated by JDeveloper, so I don't understand how it can be invalid.
    I have only been working with ESB for 3 days, but half of that time has now been spent stuck on this issue. Anyone got any ideas??
    Richard

    You need to be careful. Submit and committing to the database are two different things.
    Submit on a page (and autoSubmit the property) are only posting the changes you typed into the field, back down to the application server. NOTHING is happening with the database at this point. So the applications's internal "cache" of records (using something like ADF BC) is holding the changes but the database doesn't know anything. So if you quit now, no changes will go to the database.
    These changes onlyget submitted down to the app server when you do some sort of action like press a button. Simply navigating fields will be doing nothing back to the app server. If you add autoSubmit then you will automatically submit the changes on that field down to the app server when you leave the field (but again, this is not touching the database)
    You have to explicitly add a COMMIT operation to save those changes to the database.
    Maybe if you try in a simple EMP example and send us your findings we can help direct you further.
    Regards
    Grant

  • Lock or read-only sequence file

    Hi all,
    Is it possible to lock a TestStand sequence and also disallow any user (also administrator) to view and edit the contents of subsequences (or any step) of this file.
    I have a C API (compile as a DLL) and I want to make a TestStand wrapper of this C Api. For each C functions, I want to make a sub sequence in Test Stand that simplify user life but also hide a license mecanism (by calling my license server api in sub step). Of course these steps should be hide and should be not editable or deletable.
    The only thing that the user should be able to do is to call any sequences in this file and to specify any parameters for these sequences.
    Vincent

    Vincent -
    Currently TestStand does not have any features to lock or prevent a sequence file from being read. The only options that you have is to force a license mechanism or protect intellectual property is to more it into a binary code module (DLL, vi, etc).
    I should mention that I am not sure that such a locking feature could be complete because of the openness of the TestStand API. For example TestStand cannot prevent simple access to a sequence file and its contents because your code in the sequence file and code modules that the file calls need the API to access the context which includes the file during runtime.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • How do I find the path to a TestStand sequence file using LabVIEW

    My LabVIEW application launches a bunch of teststand sequences, provided it has the complete path to each of them. I want to make it more flexible by providing it just the name of the TestStand sequence so that it will go and find the path to the sequence by searching a directory structure. TestStand has a neat FindFile() function that can do this, but I need to do this from within LabVIEW. Is there a way to do it?

    There are a few ways to do this depending on how you are getting the sequence files.  If you are calling the GetSequenceFileEx method, you can just pass the GetSeqFile_FindFile (0x20) flag in the SequenceFileFlags property.  If you are using the ApplicationMgr.OpenSequenceFile method, this is automatically done for you.
    If you want to use the FindFile function in general, you can use the Engine.FindFile method.
    Allen P.
    NI

  • How to pass value for value field of return parameters for an action step in teststand sequence file programatically using c#

    I used a method LoadPrototypeFromMetaDataToken(token,options) to load the return type parameters. I am unable to set the value field in the return parameters for an action step in teststand sequence file programatically using C#.How can I do that.

    Continue here

  • Is it possible to create a distributi​on kit or executable file out of a Teststand sequence file that uses CVI standard prototypes​?

    How can i create an executable file or distribution kit of a sequence file in teststand?. I'm using CVI standard prototypes.

    If you want to distribute your sequence files to other machines, there are a few things you must consider.
    1. Create a TestStand Run-Time Engine installer. You can do this by selecting Tools>>Run Engine Installation Wizard.
    2. Distribute your Operator Interface.
    3. Distrbute your code modules (in your case CVI) and sequences.
    We do not have a tool similar to that of Assemble VIs for Distribution for CVI. You will need to ensure that all of your code is copied to the target machine and that TestStand is able to resolve the paths for where these files are located (i.e. Configure>>Search Directories).
    PLEASE REFER TO THE CHAPTER IN THE TESTSTAND USER MANUAL TITLED "DISTRIBUING TESTSTAND".

  • 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

Maybe you are looking for

  • Game Center not connecting to games

    I'm having issues with games not connecting to Game Center.  The app shows up in Game Center but the achievements never pop up.  One of the apps is Gunner Z.  It shows as never played in my Game Center but I've put about 4 hours into the game.  I've

  • PS CS5 Fails to Print New Document

    Folks, I recently installed CS5 on a new Windows 7 64-bit computer. I subsequenly downloaded/installed the latest driver from Epson for my R340 printer. I opened a .jpg in PhotoShop and printed it with no difficulty, as did an existing .psd file crea

  • Widescreen display options

    I'm in the middle of purchasing a Macbook Pro and I'm not sure whether to stick with the glossy or go with the hi res gloss or hi res antiglare. Whats the benefit of one over the other? Is the antiglare worth the extra cost? What makes it so much bet

  • Problem on 9 pin Din cable

    I had bought a Inspire 5700 for few years. However, in last christmas, the 9 pin din digital cable had broken. Now I can only use the analog cable to connect my audigy to I5700. Where can I buy this cable?I had e-mail to Creative CS but they just sai

  • Camera Raw has disappeared.

    Just upgraded to Mountain Lion. not sure connected, but I right click in Bridge and the open with to ACR is gone. Just did a command i on the file and it brings up apps and I don't see ACR or Camera Raw anywhere.