How do I clone a sub-sequence

If I have a sub-sequence in my sequence file, how do I clone it using the TS_function set? How does cloning a sequence differ from TS_PropertyClone(stepName,errorFile,"",0,clonedStepName)?

Hello,
The short answer to your question is that there is no telling difference between cloning a sequence and cloning a step. The function TS_PropertyClone can work on any given property object. In the case that you would wish to clone a sequence, you would need to grab an ActiveX reference to the desired sub-sequence, acquire the property object of it, and then clone it. Once you have the new object stored (usually via a local variable of the ActiveX reference type), use SequenceFile.InsertSequence() or a related function to insert the cloned sequence into a particular location.
Regards,
Elaine R.
National Instruments
http://www.ni.com/ask

Similar Messages

  • How do you create a "sub-sequence"?

    I can create a "sub-clip" in Adobe Premiere Pro as described here:
    But how do I create a "sub-sequence" in Adobe Premiere Pro? You can do this in Final Cut Pro and Avid Media Composer. A "sub-sequence" is described here:
    Much appreciated!

    Pompey (formerly J-MS) wrote:
    Nope, I think you're wrong. 
    I have watched the clip and nesting is exactly the same as your sub-sequence.
    Nesting is nothing like subsequencing. A subsequence acts exactly the same way a subclip acts. Nesting is putting one sequence inside another.
    Adobe Premiere explains nesting as:
    http://help.adobe.com/en_US/premierepro/cs/using/WS3E67AF4C-B2A2-4f04-90B4-F8CCFB74B144.ht ml#WSEC1CCB36-CFD4-4d60-ABDF-B4F9BE339B05
    You can nest sequences within sequences—to any depth—to create complex groupings and hierarchies. You can nest a sequence into another having a different timebase, frame size, and pixel aspect ratio settings. A nested sequence appears as a single, linked video/audio clip, even though its source sequence can contain numerous video and audio tracks.
    Avid Media Composer describes nesting as:
    Page 299 - http://dms.sjmc.umn.edu/Equipment_Guides/Avid_Guides/MCBasicsGuide.pdf
    Nesting involves stepping into existing tracks to reveal added layers for combining multiple images and digital video effects. When the effect is applied, you can step out to view and render the effect as one segment on the track. You can nest up to 24 additional tracks within each track.
    A subsequence is creating a smaller sequence from another and is independant of the master sequence.
    Avid Media Composer explains a subsequence as:
    Page 247 - http://dms.sjmc.umn.edu/Equipment_Guides/Avid_Guides/MCBasicsGuide.pdf
    You can use IN and OUT marks to create a new, shorter sequence from an existing sequence. This subsequence becomes an independent sequence and you can edit it in the same way you edit any other sequence.
    Adobe Premiere Pro does not have a subsequence ability. But it has subclip ability.
    Adobe Premiere Pro explains a sub clip as:
    Page 235 - http://helpx.adobe.com/pdf/premiere_pro_reference.pdf
    Subclip A section of a master clip that references the master clip’s media file. Use subclips to reference discreet sections of long master clips. (See Creating subclips.)
    Avid Media Composer explains a sub clip as:
    Page 245 - http://dms.sjmc.umn.edu/Equipment_Guides/Avid_Guides/MCBasicsGuide.pdf
    When you mark footage with IN and OUT points, either you can save the entire clip along with the new marks, or you can create subclips based on the marks you set to break up longer master clips into smaller segments of selected footage. This procedure is similar to creating a pull reel of the selects or circle takes of your best footage before editing.
    Subclips do not directly reference the original media. Subclips remain linked to the master clips from which they are created, and the master clips, in turn, reference the captured media files located on your media drives. As a result, none of the original footage is lost.
    Nesting is not subsequencing. Subsequences (within Avid) act the same way subclips behave within both Adobe Premiere and Avid Media Composer. My original questions was if Adobe Premiere allows your to make a subsequence - and after much discussion, no it does not.
    The solution to subsequencing in Adobe Premiere:
    I want to basically make a duplicate of my sequence but not of the whole sequence, only a small part.
    To achieve this it's easier to mark IN and OUT on the part of the sequence you want and LIFT/EXTRACT/COPY and then create a new sequence and INSERT/OVERWITE/PASTE as Adobe Premiere stores all LIFTS/EXTRACTS in the clipboard (as does copy) into a new sequence.
    Or as Jim stated above,
    There's no direct analogy in PP, but you can load a Sequence into the Source Monitor and select portions of it that way.  You can then add that portion to a new Sequence either as a single 'clip' (nested sequence), or retaining all the individual clips of the original.

  • HELP Sequence file translator, how to insert a sub sequence ?

    Hi,
    I would like to know how insert sub sequence in the sequence pane and
    how insert steps in this sub sequences with the sequence file translator which use
    text file (.lvtf).
    Which vi do i have to modify in the project LabVIEW of Seqfiletranslator ?
    (I think about the main vi TextTranslateToSequenceFile.vi maybe it's here.)
    Is someone who can help me please ?
    Attachments:
    wanted result.jpg ‏214 KB
    sequence file translator main vi.jpg ‏284 KB

    Assuming you are on CC:
    Drag the sequence from the Project Window into the main timeline.
    For induvidual clips uncheck this button.

  • How to transfer a string from sub sequence to main sequence

    Hi,
    How to transfer a string from sub sequence to main sequence, My main sequence has included a sub sequence, the sub sequence is return a string value after running done, I need to get this string value from sub sequence to main sequence, I check the defined that look like seem the two
    sequence have themself local variable,but I don't know how to defined a globe variable to cover main sequence and sub sequence like VC++'s Main App ,Please kindly help me,thanks in advance...

    Hi,
    I hope this small example will help you.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence File1.seq ‏36 KB

  • How to design sequence number and sub sequence number

    Hi
    I am creating DMEE for bank file, there is sequence number and sub sequence numbers in the file.
    File structure
    Aaa name 0001 tax id amount
    Bbb name 00010001 dnum amt
    Bbb name 00010002
    Bbb name 00010003
    Aaa name 0001 tax id amount
    Bbb name 00020001
    Bbb name 00020002
    Could you please help me on how to design sequence and sub sequence number in DMEE structure.
    Regards,
    Guna

    Hi,
    please find seqence number and sub sequence number in below file structure.
    Aaa name 0001(Seq. num) tax id amount   -------------------------------------header
    Bbb name 0001(Seq.num)0001(sub seq num) dnum amt---------------- item
    Bbb name 0001(Seq.num)0002 (sub seq num) ---------------- item
    Bbb name 0001(Seq. num) 0003(sub seq num) ---------------- item
    Aaa name 0001(Seq. num) tax id amount                  --header
    Bbb name 0002(Seq. num)0001(sub seq num)---------------- item
    Bbb name 0002(Seq. num)0002(sub seq num)---------------- item
    TRL
    Please help me to design sub sequence number and sequnce number again in the item details.
    Best regards,
    Anji

  • Passing values from sub sequence to caller

    Hi All
    I am using TestStand 4.0.
    In the setup of my top level sequence I call a sub sequence to calibrate RF cable losses on the test site. These cable losses need to be passed back up to the top level sequence so they can then be stored and used throughout the rest of the program. Problem is I have tried File globals and Parameters but cannot get the information to flow back up the tree. The reference manual says I can do this, but doesnt say how or give examples. I'm sure it's just a case of setting the right flags or passing by reference etc but I've just about lost patience with it. We don't want to use Station globals as these RF cable losses are only relevant to this program.

    Ian,
    You need to set the Parameter in the sequence as 'by Reference'. Infact, when you insert a variable in the Parameters, by default it is 'by reference'.
    This allows you to pass data back to the caller. eg if you had a boolean called Status in Parameters. Then in your Sequence you could set Parameters.Status = True. Caller Step would receive Status as True into the variable you sepecified in the Parameters list in the Edit Sequence Call dialog.
    Have a look at the Computer Motherboard Test Sequences.seq in TestStand examples demo folder, In CPU Diagnostic Sequence.seq in the MainSequence is a boolean called CPUFail that is passed back to the Caller sequence.
    Hope this helps
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • HOW DO I BUILD A MAIN SEQUENCE

    HOW DO I BUILD A MAIN SEQUENCE, WHICH HAS 2 CALL BUTTON (FROM POPUP STEP) CALLING THE SAME SUB-SEQUENCE? THE SUB-SEQUENCE WILL HAVE ALTERNATIVE STEPS DEPENDING ON WHICH BUTTON IS PRESSED IN MAIN SEQUENCE.

    Create a parameter variable (number) in main sequence, call it ButtonHit. Create the popup step. In post expression of popup step, make Parameters.ButtonHit = Step.Result.ButtonHit. Create the sequence call step in which you call your sub-sequence. In your subsequence, create the a parameter variable, ButtonHit (number). Pass the Parameters.ButtonHit from main to subsequence Parameters.ButtonHit. Use this variable in your subsequence to decide what you want to do. Button one will be of value 1, button two will be of value 2.
    - tbob
    Inventor of the WORM Global

  • Fly reporting recording Begin and End of sub-sequences

    Hi,
    I've opted to use the Fly report option in T.S. 3.5 and have Excluded steps which Pass or are Done.
    I was expecting the test report to show only a report header and any Failed lines.
    However I find that the test report for a Passed unit includes lines recording the start and end of all
    the sub-sequences, e.g. :
    Begin example sub-sequence
    End example sub-sequence
    Any ideas how this detail can be excluded please.
    thanks,
    Gary.

    Gary,
    You would have to modify the relevant  report generation sequence file.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Find all instance of sub sequence

    Hi,
    I am using TestStand 3.5
    I have created one sub sequence. I am calling this sub sequence at various places in my Seqence file. I found that the parameter value I am passing is wrong. I want to change it. Is there any way by which I can find out all the calling place of this sub sequence? How? (e.g. in LabVIEW we have Find all instances).
    br,
    LabVIEW_Vish

    Hey LabVIEW_Vish,
    The best I got for you is to hit Ctrl-F and check Limit Search to:  Then you can choose All Sequences.  When you do your search you'll see a list of all the places where your search word exists.  Then you can double click on any element in the list and it will take you to that instance.   Your search window should stay open so you can go back to it Window>>Find 'keyword" in: etc..
    Hope that helps some,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Portal Master-detail form how to auto assign detail record sequence number

    Portal Master-detail form how to auto assign detail record sequence number.Please help me?

    You can just read the following section
    Can I specify a sequence number generator as the default value for a form column?
    Yes. Enter the following in the "default value" field for the column:
    #<schema name>.<sequence name>.nextval
    where <schema name> is the name of the schema containing the sequence, and <sequence name> is the name of the sequence. The entry is preceded by a "#".
    For example, if the schema name is "SCOTT", and the sequence name is "CUSTOMER_SEQ", the default value entry is:
    #SCOTT.CUSTOMER_SEQ.NEXTVAL
    same way you can do for master - detail form.
    for more information on forms please refer the following URL.
    http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    hope it helps.

  • How do I clone Parallels?

    I need to clone Parallels (I have Parallels Desktop 7) separately from the Mac HD so backing up the computer won't work for me.
    How do I clone Parallels, meaning everything including files etc?
    I have internet banking set up on Parallels (Windows 7) and that was really difficult to set up so it's important that I clone Parallels exactly so that I can migrate it to the new computer and do internet banking on it.
    Also, after cloning, how do I restore the clone to my computer?
    I am moving from Lion to Snow Leopard by the way.
    The Parallels is on the Lion machine but I want to migrate to the Snow Leopard machine.
    I cannot use Carbon Copy Cloner to clone the HD including the Parallels file because there is a problem with that. I have to clone and migrate and restore Parallels separately.
    I will use an external disk to store the clone on.
    Thanks for help with this.

    Thanks for the instructions.
    I saw "Clone" in the menu of Parallels. And when I clicked on it, it asks where you want to save the clone. So that's why I thought you could clone Parallels.
    The support person outlined almost the same steps you did but she didn't really go into what to do after copying the Parallels folder into the Documents folder.
    When you'll start 'Parallels ' app., open this folder (from pull-down menu).
    In the Parallels menu, there is a "migrate" option. Should I use this?
    Also you can do online backup using Acronis. This appears in the menu.
    I will try your steps, Star1. Thanks.

  • How do you clone the install disk?

    i was reading in another post about installing the OS over a network and the solution given was to install to an Ext. Firewire drive and clone the installed OS to the firewire drive then clone it again onto the target mac.
    this solution may not work well for me, but i too was considering a family user license to update as many of my macs as i can. However, i want to wait until the next version of the OS is available. (i see no point in buying an OS i already own on one computer for another $199, so i will wait).
    the other thread offered up two solutions. one was to have a, if i understand it correctly, i network version of the OS (X server), and the other was as posted above.
    so how do yo clone the OS (i assume it is the actual installed OS and not the installer. how much room is needed to do it?

    yes, thank you i see that.
    i don't know much about servers, but it kind of sounds like i would be running the OS from a server and not the individual macs. i don't think that will work for me either.
    it sounds like i will need to by the multi-license then exchange the DVDs for CDs so i can install on the G4 DP 533.
    i could use the clone method, but the mac isn't really a clone, they have their own identities in mutlti-user log in.

  • How can I clone my old macbook to my new Macbook Pro 768GB SSD

    Hi,
    I have a 2 year old macbook and have just received my new Macbook Pro Retina dispaly with a 768gb SSD.
    How can I clone my old drive to my new Macbook as the unit is sealed so I cant ge the drive out.
    thanks.

    Bootable clones can only be used with the same model machine as there are machine specific hardware drivers involved that are different between different models of Mac's.
    Probally the fastest way would be to clone the old Mac boot drive to a external drive using Carbon Copy Cloner, then connecting it to the new Mac and booting the new Mac (first time) into Setup Assistant and then use that to "migrate" accounts and programs over. Takes a few hours.
    Transfering via Wifi does take FOREVER. like several days in some cases.
    If you have the new Mac already setup, then use Migration Assitant in the Utilities folder.
    However Setup Assistant and Migrations are not perfect and tend to fail badly if you had problems on the older Mac, sometimes these problems are unseen and only until you try to use the new Mac afterwards do they appear.
    You might want to opt instead of installing the same name account on the new Mac, installing 10.8 compatible programs from original sources and then use the external clone of the old Mac drive to transfer just user files manually into the same Pcitures, Movies, Documents etc., folders.
    Since you have a SSD, you can load programs later, it's hard drives that you want to install programs before user data to run them faster.
    Get a cleaner machine doing it manaully that way and you know there is nothing nsaty hidden, like what Setup Assistant and Migrations often transfer.

  • How can I create a sub-iTunes account for a teen?

    how can I create a sub-iTunes account for a teen?
    I need to separate our music libraries but still keep it under control from the main account (mine).

    iOS 5 & iCloud Tips: Sharing an Apple ID With Your Family

  • How can I create a sub-folder within my "Documents" folder?

    How can I create a sub-folder within my "Documents" folder? I have many similar documents that I want to group together. This will also un-clutter my Documents folder.

    Also, you can add a New Folder button to the Finder's toolbar by opening Finder, going to the View menu in the menubar, selecting Customize Toolbar..., and dragging the New Folder icon to the toolbar in the Finder window. Then it's just one-click for new folders wherever you want them.

Maybe you are looking for