Refresh all labview calls in a Sequence file after VI change

Hello,
I am not sure if this is how Teststand is supposed to work, or is there a workaround for this.
I have a VI that I eventually add enumerated values to a drop down list on the front panel. When I do so, then I will not be able to run any sequence that calls this VI unless I reload the VI. This will not be a problem if I have to do it once or twice, but I am using this VI all over the place and it becomes tedious in this case.
Is there a better way to automatically update all the VI calls in a sequence file at once ?
Thanks,
Sam
Solved!
Go to Solution.

Michael W,
I thought that once a test application has been deployed with TestStand along with source module VI's, I could update individual VI's on deployment target without going through TestStand deployment utility.  I thought I could simply copy the updated VI's to the target folder that contains source module VI's.  This turned out to be not true.
This article says the deployment utility does more than simply copying VI's (http://digital.ni.com/public.nsf/websearch/49A380D75C705AE1862575DB0005503D?opendocument&Submitted&&...).  Therefore my concept of updating VI's on target machine by simple file transfer would not work because TestStand would lose dependencies information between test sequence and VI's (and their sub VI's).
Would test sequence still run on deployment machine if the change in VI is limited to code inside the VI (meaning, inputs and outputs don't change)?
Thanks
Steve
p.s. I was going to start a new thread with my question but I explained here since you asked why I would update VI's on deployed system.

Similar Messages

  • What is the teststand api call to execute sequence file after it is opened-C#?

    I am programming in C#. I want to make a call to execute a sequence file after I call OpenSequenceFile. I want to do this outside of the GUI. I know that the GUI has a Single Pass button that executes the sequence, I want to know how can I just make the execution call myself?

    Hi IM,
    I think this thread will answer your task
    http://forums.ni.com/ni/board/message?board.id=330&message.id=19658&query.id=461003
    Regards
    juergen 
    =s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

  • Sequence of one sequence file called by another sequence file

    Hi,
    Is there any method by which we can call sequence of one sequence file from the another sequence file.
    Please let me know in case you know.
    Thanks in Advance,
    Vivek

    Hi,
    Yes, look at the Computer Motherboard Test Sequence.seq in TestStand\Examples\Demo.
    You have to use the SequenceCall Step Type and specify the path to the other sequence file, use the browse button. Then use the sequence control to select the sequence within that sequence file that you wish to invoke.
    Hope this helps.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • EXC_BAD_ACCESS (SIGBUS) with .pkg file after permission change on my HDD

    Hi everybody excuse my english, i'm form french.
    I'm here because I can not install my mobile modem 3G driver (.pkg). When I try to install I have this message *Setup can not open the package. It is likely that the executable file for applications installation has no property rights and / or authorizations.* and after crash and give me exception error *KERNPROTECTIONFAILURE at 0x0000000000000027*.
    Thanks for your help

    Nobody can help me?? I think my installer.app is corrupted due to permission change and I tried all disk authorization repair but nothing to do. There are no apple responsable support in this forum??
    thanks

  • Yosemite: preview opens all pdf's in same window even after setting change

    After upgrading to Yosemite, Preview always opens new pdf's in prior window with sidebar including other documents. I have changed the setting "when opening new files" to "open each file in its own window" and restarted the program and the computer more than once since. No fix.
    This is extremely irritating and creates an extra step of me having to double click the new document  each time it is opened in order for it to open in its own window as the settings already dictate.
    This affects my workflow and is a real nuisance, thanks in advance for any guidance.

    It's controlled by a global setting in System Preferences -> General "Restore windows when quiting and re-opening apps.  Uncheck it.
    Steve

  • Lightroom Looses Files After Name Change by Bridge

    If I use Bridge to change the names of files in my Lightroom DB when I open Lightroom those file's thumbnails have a "?" on them and Lightroom says it can't find them.
    I look for them manually and they are in the Lightroom storage folder with their new name.
    Is there a way for Bridge and Lightroom to tell each other what they have done to save this extra step of locating the files and IDing for Lightroom one by one?
    Or should I just stop using bridge and stay with Lightroom only?
    Thanks,
    Tom

    Or should I just stop using bridge and stay with Lightroom only?
    I'd say: yes, of course! (But this will certainly start a heated debate ; - )
    Alexander.
    Canon EOS 400D (aka. XTi) • 20" iMac Intel • 12" PowerBook G4 • OS X 10.4 • LR 1 • PSE 4

  • How do I make Step Types in the Type palette be "master" versions which all sequence files on a particular should use? (since this only seems to "half work")

    The situation I would like is to have a library of step types which sequence developers can use. Therefore if new step types need to be added, or existing ones modified - all that needs to be done is to roll out a new MyTypes.ini (for example), and the code modules/substeps.
    Scenarios:
    If I create types in MyTypes.ini (make sure "Attach to this file" is checked, so they get saved here). I can then create a sequence file using these step types. No problem so far.
    I can open the type palette, modify the step properties, and save. When I go back to my sequence file an asterisk appears (saying it needs to be saved, even if I have opened it from scratch). The properties have been updated to reflect what is in the Type Palette. Still no problem (Type versions are the same in the sequence file and type palette).
    This is where the problem appears:
    If I change a step type (in the Type Palette) from using a code module to using a Post-Step substep instead (changing the module adaptor to "None") - any instances do NOT update when you open sequence files. (The same happens vice versa also).
    Please note that the "Type version" listed in the sequence file DOES match that listed in the Type Palette - the properties are the same but the manner in which the code modules are called is DIFFERENT! This then can lead to to runtime errors if the old code module has been deleted for example.
    The only way around this is to open EVERY sequence file that contains an instance of the step type, and make sure that you have "Apply changes to all loaded instances of this type" checked in the step type properties dialog. This is is not a good solution since files could be missed, and is very time consuming if you have hundreds of sequence files!
    What I need is that the Type Palette on any particular station contains the MASTER copies of each type. These are loaded whenever a sequence file is loaded and NOT retreived from the sequence file. As discussed above this seems to work when you modify properties - but doesnt work fine if you change the way in which code modules are called.
    Am I doing something wrong or is this a limitation?

    I had a system recently containing seven sequence files, approx 20 subsequences in each, and around 10-20 steps in each sub-sequence. Every step (except for the NI non-code module types) was an instance of a step type.
    Each one of these steps had an Edit sub-step and a code module called through the code module adapter.
    In order to make these into "wrapped up" step types it was decided to move the code module to a Post-Step substep (as also done in the NI-IVI step types) - so that developers cannot fiddle with the code prototype or module.
    In order to do this I had to open all 7 of the sequence files, make the changes and then ensure that "Apply changes in this dialog to a loaded instances" was checked. This seems to sort of work, but some steps started causing Error 17502 (System Error) when you configure them (call the Edit substep). Over the course of the past few months I have had to effectively check every instance of a type to see if it works (deleting the step and replacing it when it doesnt). Other strange things happened like some of the step type instances now have the "None" (adapter) icon associated with them - but both still work.
    The idea of creating a type-def of a step type is a good one, but frustrating that it doesnt seem to fully work. Why should the sequence file also store a version of the step-type - which is what is effectively causing this problem - why not make it so that if you dont have the step types installed in the type palette - TOUGH! Message Edited by RichM on 03-15-2005 06:55 AM

  • How do I save a running sequence file

    Part of my testing requires a large number of variables to be passed to and from the UUT within TestStand. I can store some of these variables in the station globals, but I'd like the option to store others in the sequence files at run time and save them to disk (save the sequence file) at the end of the test. I can create variables in the station globals and commit the globals to disk just fine (LabVIEW vi's using the TestStand API). However, I cannot figure out how to do the same thing with a sequence file. My code is able to create and populate the locals variables with no problem, but I cannot save the running sequence file to disk with the new locals (or file globals) intact (they disappear when the sequence ends.) The reason I want to save the sequence file is to avoid manually entering all these variables into each sequence file locals list.
    So, I think the questions are:
    How do I make the new locals or file globals a part of the running sequence file?
    How do I save the sequence file to disk before it stops running?
    I can increment the change count on the file. I have figured out two or three ways to save the file while it's running without errors (although I doubt it's actually doing anything.) I'm using the TestStand API in LabVIEW vi's to pull this off and cannot find the functions I'm looking for.
    Sorry if this is rambling, it's kind of hard to describe.

    Hi Lars,
    The reason that we can't save the local variables created during
    runtime is because TestStand creates a runtime copy of the variables
    when the sequence starts. After the sequence is finished executing,
    this copy is discarded. The reason behind this is that TestStand allows
    for a single sequence to have multiple executions at the same time, and
    each instance gets its own runtime copy of the local variables. If new
    locals could be saved to the actual sequence file in memory, it could
    cause major problems for other execution threads of that particular
    .seq file.
    You can use the API to add variables to the actual file using
    GetSequenceFileEx and incrementing the Change Count, or create a
    separate sequence that modifies another sequence file, but adding these
    locals to the sequence file from itself isn't possible.
    Hope this helps Lars,
    Have a good one.
    Dan Weiland
    Applications Engineer
    National Instruments
    www.ni.com/support
    Dan Weiland

  • How do you list all VIs used in a sequence

    Is there a way of viewing all the VIs used in a sequence? Is there a script you can run and it outputs the VIs being used?

    Hello Risky,
    There is also a way of viewing all VIs used in a Sequence File, but not in a specific sequence of the sequence file.
    Here is how to proceed:
    - Create a New Workspace File and add a New Project File to the workspace, if you don't have this allready.
    - In the Workspace window select the project and Add the Sequence File to the project. The sequence you added can be viewed under the project in the left pane of the workspace view window.
    - Right-click the sequence file and select the 'Insert Code Module' option from the pop-up menu.
    - A new folder named 'CodeModules' will be added under the sequence file and contains all the VIs and all sequence files which are called from the current sequence file.
    In the specific case where in the sequence file you
    have steps only in one sequence (e.g. MainSequence) this way could be helpful for you.
    Regards,
    Silvius
    Silvius Iancu

  • Abort the current sequence file

    Hi,
    I have a main sequence file (with a number of test cases) calling another 2nd sequence file.  I like to abort from my 2nd sequence file if a paremeter returned is certain value (e.g. parameter.result == "1") from TestComplete.  What command can I use?
    Also once the 2nd sequence file aborts, I need the main sequence file to continue on the next step.
    Thanks!

    The easiest way is to use the Post Action in the Step to Terminate.
    But I dont think you want to do that because you still want the caller sequence to run. Therefore use the Post Action of the Step to goto to CleanUp. This will then skip the remaining steps in the Main, run any steps you have in the Cleanup and return back to the Caller Sequence which continue running onto the next step.
    Regards
    Ray Farmer

  • 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

  • Recover corrupted sequence file

    help with recover sequence file corrupted.I change the value in a pre expression and the computer just reset.
    and the corrupted file message appears. I have a lot of locals, fileglobal and pre-expressions...
    Attachments:
    Vial1.seq ‏83 KB

    To trout00 -
    Typically if an action taken inside an application causes a computer reset, this suggests that the OS is hitting some sort of kernel level exception. The OS is not giving you a blue screen but instead it is set to auto reset.
    Right click on the My Computer icon on your desktop and select Properties. On the System Properties dialog box, take a look at the Startup and Recovery settings located on the Advanced tab.
    I suspect that some sort of event log will be registered in this case.
    Kernel level exceptions typically occur when hardware drivers or low level services error or have a bug. In the case of the sequence editor, none of its code is low level, so any error the program causes would just cause the applicati
    on to shutdown, not the OS.
    With this in mind, it suggests that you might have a hardware problem with the computer system.
    See if the event log gives you any additional information.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Modifying Sequence directly after loading the sequences

    Hi,
    I'm planning to write some kind of profiler to find out which step consums the most testtime.
    Therefore I'm using the Engine Callbacks SequenceFilePreStep and SequenceFilePostStep.
    Whenever a Step in the sequence is executed the SequenceFilePreStep generates a timestamp and after the execution of the step the SequenceFilePostStep generates another timestamp. Both timestamps can be used to estimate how long that step was executed.
    I'm using many different sequence files (e.g. one sequence fiel for feature A another sequence file for feature B and so on).
    A sequence file can be called (loaded) from both the top level sequence file or from any other sequence file.
    My problem is, that I don't want to modify each of the sequence files. The profiling should rather be initited automatically.
    My idea is, that the process model will add the above mentioned subsequences into every sequence file that is used during execution of the testplan.
    Any Idea how to implement that?  As far as I have seen there is no ProcessModel callback which is called whenever a sequence file is loaded, isn't it?
    Many Thanks,
    Thorsten
    I forgot to mention, I'm using Teststand 3.1 currently, but planning to change to 4.x
    Message Edited by Tho_Wa on 10-30-2008 01:48 AM
    Solved!
    Go to Solution.

    Hi Thorsten,
    That would be a great product suggestion- StationFileLoad callback.  So in the TestStand Reference Manual in Chapter 10 there is an awesome table that shows all the Engine Callbacks (table 10-1).  It shows where the callbacks should be used and what not.  Basically the ProcessModelPreStep and ProcessModelPostStep might be what you are looking for.  You'll Notice that it states: Before the engine executes each step in any client sequence file that the process model calls, and each step in any resulting subsequence calls.
    So why not just use these?  The step is being passed as a parameter so you have access to it.
    Let me know if you have any questions,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • "Losing" files after iTunes update

    I have over 130Gb of tunes I've stored on two separate systems, one at home, the other at work. In both cases, whenever I've performed a software update I "lose" files. Most times it's only a few random files. But this last update (7.6) deleted hundreds of files, about 2.5Gb worth, and different files were deleted on each system. Fortunately both systems were backed-up. Has anybody been experiencing this problem? At this point, it is not worth all the extra work of restoring files after an up-grade of dubious utility.

    Just a little bit more information and it may help someone sort out your problem.
    Do you Manually manage your music or Auto Sync?
    Do you keep your music on your computer or do you remove it?
    Some itunes updates make changes to music files and if this occurs then it will want to
    update files on your iPod and if they are not stored on your computer then generally it will
    take them off the iPod. iTunes is for storing your Library and the iPod is for enjoying it.
    I don't mean to assume that you don't already know this but some choose to use the iPod for
    storage and then run into trouble down the road. Apple assumes we keep our music in our
    Library at all times.
    I am only a user and prone to error.
    Message was edited by: Randall D.

  • Firefox stop to work in one time,and i have to restart all because ff dont wor when i try to change page with mouse

    firefox stop to work in one time,and i have to restart all because ff dont wor when i try to change page with mouse

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

Maybe you are looking for

  • Logging out does not drop me to console but a black screen

    Recent pacman -Syu upgraded me to latest xorg-server and I have this problem: logging out does not drop me back to console but a black screen and after 30 seconds, a blinking cursor. Nothing works and I have to reboot. If I choose to reboot (instead

  • STOPWATCH WIDGET FOR CAPTIVATE 4

    Can anyone tell me how to create a stopwatch or timer widget for Captivate 4?

  • If my iphone 3gs needs replacing, will they upgrade it to a 4?

    Basically, I think the microphone on my iphone 3gs is broken. Whenever people ring me, I can hear them but they cannot hear me, or it's extremely quiet. If this is the case, will they replace the iphone with another 3gs? Or could there be a chance th

  • Easy DMS 6.00 SP10 - Releasedate?

    Hi, I´m planning a new roll out and want to use the latest version of EDMS. Does anyone know when SP10 will be released? Is there a shedule for planned Easy DMS releases?

  • Enabling ECN marking on Cisco nexus 3064

    Hi, I have a requirement to enable ECN marking on CIsco nexus 3064 switch. ECT(0) traffic is being switched. Tried the below configs, But not quite helping. ================================== n# sh policy-map type network-qos nq_pm_1   Type network-q