Dynamically calling sequences with different prototypes

Hi,
Is there a way of dynamically calling from one sequence call, two sequences with different prototypes?
Thanks,
krs

I know that this is not really an answer to your question, but could you write some sort of wrapper to the different sequences that has a common interface and call it?
Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
DISTek Integration, Inc. - NI Alliance Member
mailto:[email protected]

Similar Messages

  • How can i create a .mov file from image sequence with different durations

    how do u create an image sequence with different durations? image one stays for 10 seconds and image two may stay for 30 and so on. each one has a custom duration. can this be done with an apple script or a text file saved as an mov file?

    Hello Omar,
    The example code Programmatic Printing of TestStand Reports - Modular contains a sequence that will convert an XML file to an HTML file given the XML file's path and the path to the stylesheet.  It may need to be altered to fit with the modifications you have already made to the report generation routines, but I think it should definitely get you off on the right foot.  Let me know if you have any questions!
    NickB
    National Intruments

  • Two sequences with different settings?

    In Premier Pro CS6, is it OK to use two sequences with different settings?

    Yes, no problem.
    You can make as many sequences with differents settings as you want.

  • Same Sequence# with different applied value in v$archived_log

    Hi everyone,
    I have an issue with one of the dataguard servers here.
    Basically, looking at the v$managed_standby, it is still applying the latest archived log sequence.
    However when I checked for unapplied archived log from v$archived_log, I found at least 1 sequence# which was quite old (around a few days old) not applied.
    my query to check this is:
    SELECT sequence# from v$archived_log where applied = 'NO';result:
    SEQUENCE#
        40154
        40546with a different query I found an interesting result
    select sequence#, recid, stamp, status, applied from v$archived_log where sequence# in (40154, 40546);result:
    SEQUENCE#      RECID      STAMP S APP
        40154       8093  777156019 D NO
        40154       8095  777156053 D YES
        40546       8486  777673729 D NO
        40546       8487  777673734 D YESAt the time I ran this query, the v$managed_standby are as follow:
    select process, status, sequence# from v$managed_standby;result:
    PROCESS   STATUS        SEQUENCE#
    ARCH      CLOSING           40562
    ARCH      CLOSING           40557
    MRP0      APPLYING_LOG      40563
    RFS       IDLE                  0
    RFS       IDLE              40563A simple solution to get those un-applied archived log to be applied is to restart the standby database instance.
    Another finding from the production database:
    select recid, stamp, sequence#, creator, registrar, standby_dest from v$archived_log where sequence# in (40154, 40546);result:
    RECID      STAMP  SEQUENCE# CREATOR REGISTR STA
    45446  777156011      40154 ARCH    ARCH    NO
    45447  777156017      40154 LGWR    LGWR    YES
    45450  777156051      40154 ARCH    ARCH    YES
    46231  777673709      40546 ARCH    ARCH    NO
    46232  777673728      40546 LGWR    LGWR    YES
    46233  777673733      40546 ARCH    ARCH    YESThe question is of course, why is this happening?
    Can this be prevented?
    Thank you,
    Adhika

    CKPT wrote:
    I have an issue with one of the dataguard servers here.
    Basically, looking at the v$managed_standby, it is still applying the latest archived log sequence.
    However when I checked for unapplied archived log from v$archived_log, I found at least 1 sequence# which was quite old (around a few days old) not applied.
    my query to check this is:
    SELECT sequence# from v$archived_log where applied = 'NO';result:
    SEQUENCE#
    40154
    40546
    Even if old archives applied or not, it will keep transfer the archivelogs from primary. Please confirm that you been executed above query in standby.. is it?Yes I ran it from the standby database
    CKPT wrote:
    with a different query I found an interesting result
    select sequence#, recid, stamp, status, applied from v$archived_log where sequence# in (40154, 40546);result:
    SEQUENCE#      RECID      STAMP S APP
    40154       8093  777156019 D NO
    40154       8095  777156053 D YES
    40546       8486  777673729 D NO
    40546       8487  777673734 D YES
    How many remote/standby destinations you have in your DR setup?
    Might this query you have executed in primary, You should always use DEST_ID when executing from primary (or) do check in standby database, Because the applied column you have to check in standby , If you see above the same sequence showing applied in one destination & not applied on other instance, so please do select for dest_2 or in standby.I have only 1 standby destination.
    The query above was executed in the standby database server as well as to show that the same sequence# has different result in the applied column.
    CKPT wrote:
    The question is of course, why is this happening?
    Can this be prevented?What is your Online redo log file size (or) how much average archive log file size?
    This issue happens when Network glitch while transferring archives from primary to standby RFS , So when is big enough in such conditions it will be in status can be WAIT_FOR_LOG.
    BTW, which redo transport you are using? -- recommended to use LGWR
    Is there any network problem?
    check for exact problem either from primary alert log file or from below query,
    SQL> select severity,error_code,message,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') from v$dataguard_status;
    SQL> select sequence#, to_char(completion_time,'DD-MON-YYYY HH24:MI:SS') from v$archived_log where sequence# in (40154, 40546);
    HTH.The redolog file size is 100MB and so does the archive log file size.
    I'm using LGWR ASYNC
    these are the result of the query which I modified slightly:
    query:
    select severity,error_code,message,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') from v$dataguard_status where message like '%40154%' or message like '%40546%';result:
    SEVERITY ERROR_CODE MESSAGE                                                                                              TIMESTAMP
    Warning           0 LNS: Standby redo logfile selected for thread 1 sequence 40546 for destination LOG_ARCHIVE_DEST_2    11-MAR-2012 20:28:44
    Warning           0 ARC1: Standby redo logfile selected for thread 1 sequence 40546 for destination LOG_ARCHIVE_DEST_2   11-MAR-2012 20:28:49The message for the 40154 must have been purged.
    It appeared to me that sequence 40546 has been sent twice, by LNS and ARC1.
    query:
    select sequence#, registrar, creator, standby_dest, dest_id, to_char(completion_time,'DD-MON-YYYY HH24:MI:SS') completion_time from v$archived_log where sequence# in (40154, 40546);result:
    SEQUENCE# REGISTR CREATOR STA    DEST_ID COMPLETION_TIME
        40154 ARCH    ARCH    NO           1 05-MAR-2012 20:40:11
        40154 LGWR    LGWR    YES          2 05-MAR-2012 20:40:17
        40154 ARCH    ARCH    YES          2 05-MAR-2012 20:40:51
        40546 ARCH    ARCH    NO           1 11-MAR-2012 20:28:29
        40546 LGWR    LGWR    YES          2 11-MAR-2012 20:28:48
        40546 ARCH    ARCH    YES          2 11-MAR-2012 20:28:53This query proved that the primary database is actually trying to send twice with a different completion time.
    Why does the primary database has to send twice?
    Thanks for replying,
    Adhika

  • A second user called root with different UID after install

    After installing Mavericks, I noticed that sudo didn't work properly. I investigated it for a while and then noticed that sudo was running as a user called 'root' but with different uid (217, not 0). Now, is it possible that Mavericks installation has created this second root user incorrectly? Or should I fear that my laptop was compromised before, attacker had somehow been able to create a second root user, and OS upgrade just exposed the problem. 
    I was able to circumvent the problem by renaming the second 'root' user with dscl, but I still would like to understand the root cause (pun intended) of the problem.

    ~/Library is probably the one you don't want to move back because it may bring the issues back along with it.
    All your own data you can drag & drop. You can drag the contents of any folder Movies, Music, Pictures, Documents (or as much as you want).
    Rather than try to replace the Library you can take ~/Library/Application Support, Mail, Safari and any other folders you need.
    To access your hidden ~/Library folder go to your Finder "Go" menu hold the option key to choose "Library".
    Then you can drag it to the Sidebar for easy access.

  • Sequences with different attributes

    I am editing a wedding and decided to brek up each major portion. I now have four sequences. When copied sequence two into seguence one, the footage from sequence two. The canvas size was the same at 50%, however the image size from sequence two ws very small in the canvas. The same happened with my other sequences.
    The purposes of putting joining the sequences was to put the whole project together. What did I do wrong? Am I not supposed to copy and paste from sequence to sequence?
    Please advise.
    The easy setup is set to DV/Panasonic DVCPro

    Lots of moving parts, but never say never. From what you indicate in your last post, at least part of the material is HD.
    You want to do at least two things: get everything into a single editing ceodec (AIC), and conform the clips/sequences  to a common frame rate. Same frame size would be nice, but not as important as the codec and rate.
    I think your best approach would be to choose the format (size and frame rate) that the majority of your movie was shot in and create a new project and an AIC sequence with those settings. Then you could export your four finished sequences, conform as necessary and reimport them into your project as clips. You would finish and export as QT, current settings (AIC) and you'd have a movie file that could be re-purposed for DVD, the Web, projection, mobile, etc.
    If you are able to buy ($49) and learn Compressor, it can do this very well. If you intend to do these sort of projects fairly often, the tool would be worth the investment of $ and time.
    The other way would be to export using Quick Time Conversion.
    Of course, there's always the option of starting all over and re-importing the footage…
    It's been a while since I worked with FCE, amd perhaps someone else will chime in and point out some options that I'm over-looking.
    Good luck.
    Russ

  • CS6 - multicamera sequence with different resolutions?

    Hi,
    I try to edit a multicam sequence with footage of the RED Epic (3840x2160) and a DSLR (1920x1080).
    We shot an interview with two cameras. The final video will be FullHD. So we use the RED footage to generate two shots. A down-scaled and a cropped one.
    Normally I use the RED footage in the non-cropped shot by (sorry my Premiere is German) "scale to framesize". So the 3840x2160 will be autmatically scaled down to 1920x1080.
    When I use the "scale to framesize" to the multicam sequence also the DSLR-Footage will be shrunken.
    So either the RED footage is too big or the DSLR footage is to small for the sequence. And I don´t wanna transcode the RED footage to FullHD cos i want to crop it sometimes, and I don´t yet know when. Is there any help?

    No. The footage is made fine by the operator. But we want to do some crops sometimes to get another shot. 2 cameras -> 3 shots. So i don´t want to scale it down right now. Scaling down would help to cut the 2 cameras without another cropped shot. But the cropped shot is a planned shot. We did that many times, but never with the "comfort" of the use of multicam.

  • Separate Sections of a Sequence with different encoding settings

    Hi!
    Is it possible to set different encoding settings for different parts of a Final Cut sequence? If yes, what must I do?
    Take care,
    Christian

    All I want to change is the quality setting of the h.264 codec.
    It's all about the movies you will find at:
    http://www.teachers-corner.org/feeds/TC_RSS.xml
    (beware, large files)
    All these movies start off with an intro, which needs a quality setting of 75% to look good. The rest of the screencast looks good enough with a setting of 50%.
    All other parameters shall remain unchanged.
    Did that help?
    Take care,
    Christian

  • Calling transaction with different start screen

    Hello
    I have two transactions TRANSACTION 1 and TRANSACTION 2, made by myself.
    TRANSACTION 1 has screen 001 as initial. It also has another screens.
    I want to call TRANSACTION 1 from TRANSACTION 2 starting not with screen 001, but for example with screen 005. Is that possible?

    HI,
      As an alternative, you will have to do a partial BDC recording for the transaction and write the code to call the transaction in ERROR mode.
    Go to shdb transaction.
    Create a recording for the transaction.
    Enter the required data and when you reach the screen you want, just backout.
    This would create a recording.
    Using this recording, you have to create a BDC program which would call the transaction in Error mode.
    Regards,
    Ravi

  • Call transaction BDC with different user id

    Hello,
    We have a BDC program for creating Invoice using "CALL TRANSACTION VF01" method. But there are are few user IDs accessing this program who do not have authorisation to VF01. So requirement is to create Invoice with a common user id.
    Please help if it is possible to call transaction with different user id. Please also provide you inputs if you can suggest some other way to fulfill this requirement.
    Thanks & Regards,
    Rohit

    Hi Rohit,
    if users are not authorized to post invoice, why is it required to surpass the checks?
    A Question the business should answer.
    It should not be the consultants obligation to find doubtable ways.
    Regards
    Clemens

  • How can I use two sequences w/ different frame rates

    I shot wedding (on Sony Z5) initially (1st tape) in DV widescreen (29.97/ 30 fps) but tapes 2, 3 & 4 were shot 1080p24 fps  Big mistake; now obvious.
    Edited all in FCP 6. On trying to cut & paste sequences together I get " cannot nest sequences with different editing timebases".
    I have 23 min.intro/ ceremony sequence as stand alone QT mov now. How can I best convert that and/or merge it w/ the rest ( 62 min. 24 fps  sequences), or perform other action to unite the diff  frame rates into one, w/ best looking quality for the DVD/ bride & groom? Trying to beat Xmas deadline...
    Thanks in advance! Happy Holidays to all.
    3 Ghz Intel Core 2 Duo / 8 GB / OS 10.6.8  FCP 6.0.6

    I went back and forth on this.
    Ordinarily, I'd conform to the format that the majority of the footage was shot in. But if you're going to DVD, and it's going to be compressed to 480 anyway, then why not down convert the 1080 footage to 480?.  At the same time, I would imagine re-timing the 24 (23.98?) to 29.97 would look reasonably consistent with the 29.97 SD.
    This could be done in FCP, but I think Compressor will produce a better result. The adjustments you need are in the Settings menu in the Encoder (with Audio set to pass through), Geometry (720x480 16:9 Anamorphic), and Frame Controls (Resize Filter set to Best).
    This will not be a short encode, so I would first test a short section to double check your settings and sound sync are right, and to compare against the quality of tape 1.
    Good luck.
    Russ

  • Replace asset for a Premiere dynamic linked sequence

    I linked Premiere sequences via Dynamic Link to Encore. I had trouble with Encore freezing during transcode. Therfore to make it quick I rendered the sequences to MPEG-2 from Premiere using AME. This worked. I tried to replace the assets, but when I click right on an imported sequence Replace Asset is greyed out. Even it is a sequence from Premiere it is an asset and should be able to be replaced. I can't remove the sequence asset from the timeline in Encore, because all the chapter markers and links are set already. It is an instructional DVD of 4 hours with 120 chapter markers and 12 menus. Nothing you want to do over again.
    I tried to use Locate Transcode instead. My thought is that I can point to the transcoded MPEG-2 files to have Encore "replace" the asset. I got an error that the length of the sequence and the transode file don't match. I don't know why this is since it is the same timeline that was just rendered from Premiere.
    Does anybody has any insight or know a proper way to replace a Dynamic Linked Sequence with the rendered MPEG-2 file?
    Marcus

    Hi Stan,
    apparently a DL sequence is not treated as a regular asset, which is not understandable. There should be a possibility to replace a DL sequence with another clip. Revert to original doesn't work either. In my case I wanted to replace the DL sequence with the encoded files. I encoded the files directly from Premiere due to the AME queue not using GPU problem. As a workaround for my case I found the option "Locate transcoded file". I could point to the transcoded files and was able to burn the disc.
    Marcus

  • Calling a sequence in a new thread with different values

    I have a sequence that I want to call that runs in parallel (seperate thread). The question I have is that I want to run this sequence from a lot of different places, but with different values of the variables going into the steps inside the sequence.
    If I change the values inside the sequence (running on seperate thread), then I will have to duplicate this sequence over and over. What I really want to be able to do is run a step in a seperate thread, and not wait for it to complete. Is this possible? Or a method of passing step values into a seperate thread. I don't want to use globals unless I really have to.

    Hi ADL,
    I have attached an example which I hope will illustrate an answer to your question.
    Regards
    Ray Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence_File.seq ‏34 KB

  • Multi UUT with different Sequence-F​iles

    Hi,
    We are upgrading our teststations from TestStand 4.2 to TestStand 2013. With TestStand 4.2 we have copied and modified the Sequential-Modell to a Multi-Dut-Modell (10 UUT's). This worked fine. To start the Modell-File we used a Start-Sequence-File. We have to linearize 10 Rf-Sytnheseizers   (each UUT has a different Sequence-File, with different Limits). With TestStand 2013 it is not anymore possible to Run a Modell-File . 
    Actually I would also like to copy and modify the Batch-Modell from NI. But with the Batch-Modell-File always the same Client-Sequence-File is used for each UUT.
    A short description of the Tasks:
    Loading all UUT’s: Identification of UUT’s (PartNumber, Serialnumber manually or with a Barcode-Reader) (Sequence-Filenames, and Limits for all UUT’s are read from a Database)
    Testing UUT 1 with SeqFile1, Saving Measurements of UUT1 To Database
    Testint UUT 2 with SeqFile2, Saving Measurements of UUT2 To Database …
    Showing Result-Panel with all UUT-Results
    Showing Reports for all UUTs
    We don’t have parallel taks. What is the best way to realise these matter? Thank you very much for your inputs.
    (OS: Windows7 / IDE: CVI2012)
    Regards Paul
    Solved!
    Go to Solution.
    Attachments:
    E4_StartMultiDut_02.seq ‏4 KB
    E4_MultiDutModel_02.seq ‏179 KB

    Paul,
    First, I'm not exactly sure what you mean by this statement: "With TestStand 2013 it is not anymore possible to run a model file". Could you explain a bit more about what you mean? I can't think of any changes we would have made in TestStand 2013 that would affect the types of sequence files you could call or their interaction with a process model.
    Second, it seems to me that the best approach might be to create a separate sequence file for each type of UUT you want to test, and call sequences from these files from one master sequence file. So for example, you might have 3 files:
    1. TestStand "master sequence file" which uses the Batch model and includes the necessary callbacks and sequences to identify UUTs and perform actions that are needed for all types of UUTs
    2. Sequence file for UUT type A which contains all of the tests for that type of UUT
    3. Sequence file for UUT type B which contains all of the tests for that type of UUT
    In this example, your master sequence file could make the decision of which type of UUT it is testing, and use a Sequence Call step to call MainSequence in the appropriate other sequence file.
    Do you think this type of approach would work for your system? I'm not sure how you were architecting it before, but if there are any other factors that might have an impact on this type of solution, go ahead and post that and we think of some alternative approaches.
    Hope it helps!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

Maybe you are looking for

  • HP PSC 1400 Drivers for windows 7 Professional X64 (bit) problem

    I have downloaded full printer software and drivers for Windows 7 Professional 64-bit from HP site- but nothing so far has worked I have tried several times, neither i can locate any driver that will work for it, even after attempting to install from

  • RE:Header and Footer change in CCP ....

    After enable header and footer in Administration ,i can change the header and footer in login and signup page but i can not change those for particular user where they are adding in Organization unit...so i need steps to add header and footer for par

  • How can I get my InDesign app to update now that it has changed to 'canceling'?

    I am new to  Creative Cloud. This is just another example of why I feel so much discontent. I just touched the app to get it to stop. Well, it DID! The second app just changed to 'update'. This old lady needs someone to help me. Please. This is just

  • SOAP Receiver Communication Channel

    Hi all I have developed File to SOAP scenario. The problem i am facing is: a) whenever i am sending a file then in moni i am getting error    <SAP:ApplicationFaultMessage namespace="" />   <SAP:Stack>java.lang.NullPointerException thrown during appli

  • Alerts from AS2 adpter

    Hi, We are using AS2 adapter to communicate with our B2B partner. We are successfully tested the File --> PI --> AS2 scenario and we are receiving MDN back as configured. Is there a way to trigger/generate e-mail alert based on the MDN message?? Than