generate the ramp of the order of the layers

Is there a method (effect or script) that will apply a linear ramp to layers based on where they sit in the comp?  For example... If it is a composition of 100 layers, layer 1 would turn white and 100 layer would be black.  Any help or advice would be greatly appreciated... trying to figure out a quick solution to generate a picture of ramp based on the order of the layers.

Thank you!

Siri and my iPhone help me with this answer.

You can apply the hue and saturation of your layer. You can then add an expression to the brightness value.  The expression is very simple.  It only requires that you know how many layers to use.

If you have 100 layers and a composition of eight bits and then each layer must be reduced in luminance of 255÷100. Expressions include the number of layer by using the index of the expression.

The expression looks like this:

(index - 1) * 25.5;

Now just duplicate your layer 100 times.

The top will have a luminance you 04 Black, the background will have a luminance value of 255.

I'll doublecheck this when I get to a computer, but I think it's perfect.

Tags: After Effects

Similar Questions

  • Using Photoshop | Generate the layers image assets | Photoshop CC

    This question has been posted in response to the following article: http://helpx.Adobe.com/Photoshop/using/generate-assets-layers.html

    Hello! Looks like you don't have the 14.1.1 version, if you are certain to have run the correct update, try to connect back to your creative cloud account. Otherwise, go to the application of CC and run the update.

  • Cisco ACS 5.6 generating the CSR, the private key file and PK file

    Dear,

    I'll install the trusted certificate of 3rd party, they ask the file CSR, I know i need a key private in order to generate the CSR, actully I don't know where I can find the private key or the private key file.

    Hello OER.

    You don't have a private key to generate a CSR. The private key is actually created during the process of generation of CSR. The CA provider needs a signed certificate for the CSR for you. Once you get the signed certificate you will be 'link' with your CSR to the ACS.

    I hope this helps!

    Thank you for evaluating useful messages!

  • What is the API to generate the unit price based on price list (advanced price)?

    Hello!

    I'm looking for the api generate the price unit, based on the price list in advanced pricing. In addition, how will I know what are the manual available modifiers / header lines that can be applied to my order?

    Thank you.

    The api to use is QP_PREQ_PUB. PRICE_REQUEST.  You must complete all the variables table with the point attribute information and qualifier info to get a table at the back the modifiers that can be applied.  Check:

    HOW to use QP_PREQ_PUB. PRICE_REQUEST API at the price of an item (Doc ID 759804.1)

  • How to generate the alphanumeric sequence under oracle

    Hi Experts,

    I need to create a primary key as below,

    Its should start from a001, a002... a100 after reaching 100 the next value in the sequence must begin by b001... b100, like wise the sequence should go through until summer z001 alphabet... z100.

    Please let me know for any information.

    Kind regards

    Millar

    This will generate the a1 - a100, b1 - b100,... z1 - z100, aa1 - aa100, ab1 - ab100,... az1 - az100,...

    SEQUENCE of s FALL

    /

    CREATE SEQUENCE s

    /

    CREATE OR REPLACE

    FUNCTION get_s_nextval

    RETURN VARCHAR2

    IS

    number of v_nextval;

    number of v_alpha;

    number of v_number;

    v_base26 varchar2 (100);

    BEGIN

    v_nextval: = s.nextval;

    v_number: = MOD(v_nextval,100) CASE

    WHEN 0 THEN 100

    Of OTHER MOD(v_nextval,100)

    END;

    v_alpha: = CEIL(v_nextval / 100) - 1;

    v_base26: = NULL;

    LOOP

    v_base26: = CHR (ASCII ('a') + MOD(v_alpha,26)) | v_base26;

    EXIT WHEN v_alpha<>

    v_alpha: = TRUNC(v_alpha / 26) - 1;

    END LOOP;

    RETURN v_base26 | LPAD (v_number, 3, '0');

    END;

    /

    WITH t AS)

    SELECT s get_s_nextval,

    level lvl

    OF the double

    CONNECT BY level<=>

    )

    SELECT s

    T

    WHERE MOD(lvl,100)<=>

    ORDER BY lvl

    /

    S
    ------------------
    A001
    A100
    B001
    B100
    C001
    C100
    D001
    D100
    E001
    E100
    F001

    S
    ------------------
    F100
    G001
    G100
    H001
    H100
    I001
    i100
    J001
    J100

    20 selected lines.

    SQL >

    SY.

  • Generate the series based on the column

    Hi Experts,

    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    PL/SQL Release 9.2.0.1.0 - Production

    Could you please help me to generate the folloing sequence.

    act_noto_be
    11
    02
    12
    12
    03
    13
    04
    14
    14
    14
    05
    15
    15
    15
    15
    15

    Based on the act_no I want to generate the sequence to_be in sql.  Help, please.  Thanks in advance.

    You must have a column that defines the order of the line. I added a column ID that defines the order of the single column. With this you can do.

    SQL > t
    2 as
    (3)
    4. Select 1 id, 1 act_no Union double all the
    5 select id 2, act_no 0 of all the double union
    6 select id 3, 1 act_no Union double all the
    7 select id 4, 1 act_no Union double all the
    8 select id 5, 0 act_no of all the double union
    9 select id 6, 1 act_no of all the double union
    10. select id 7, 0 act_no of all the double union
    11 select id 8, 1 act_no Union double all the
    12. select id 9, 1 act_no of all the double union
    13. select id 10, 1 act_no of all the double union
    14 select id 11, 0 act_no of all the double union
    15 select 12 id, 1 act_no of all the double union
    16. select id 13, 1 act_no of all the double union
    17 select id 14, 1 act_no of all the double union
    18 select id 15, 1 act_no of all the double union
    19 select id 16, 1 double act_no
    20)
    21 select t.id
    22, t.act_no
    23, max (t1.rno) on to_be (t.id control)
    24 t
    25 left
    Join the 26)
    27 select row_number() over (order by id) rno
    28                 , id
    29, act_no
    30 t
    31 where act_no = 0 or (id = 1 and act_no = 1)
    (32) t1
    33 on t.id = t1.id
    order of 34
    35 by id;

    ID ACT_NO TO_BE
    ---------- ---------- ----------


    1          1          1
    2          0          2
    3          1          2
    4          1          2
    5          0          3
    6          1          3
    7          0          4
    8          1          4
    9          1          4
    10          1          4
    11          0          5
    12          1          5
    13          1          5
    14          1          5
    15          1          5
    16          1          5

    16 selected lines.

    SQL >

  • generate the value of the column according to the conditions

    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for HPUX: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    statement to generate the selection inputs
    WITH t
         AS (    SELECT 1 job_request_id,
                        1 original_job_request_id,
                        mod(level,3) +1  sequence_cd,
                        CHR (LEVEL + 100) value_txt,
                        NULL new_sequence_cd
                   FROM DUAL
             CONNECT BY LEVEL < 6),
         t1
         AS (    SELECT 2 job_request_id,
                        1 original_job_request_id,
                        mod(LEVEL,2) + 1 sequence_cd,
                        CHR (LEVEL + 110) value_txt,
                        NULL
                   FROM DUAL
             CONNECT BY LEVEL < 10),
         t2
         AS (    SELECT 3 job_request_id,
                        3 original_job_request_id,
                        mod(LEVEL,3) + 7 sequence_cd,
                        CHR (LEVEL + 95) value_txt,
                        NULL
                   FROM DUAL
             CONNECT BY LEVEL < 9),
         t3
         AS (    SELECT 4 job_request_id,
                        3 original_job_request_id,
                        mod(LEVEL,2) + 1 sequence_cd,
                        CHR (LEVEL + 95) value_txt,
                        NULL
                   FROM DUAL
             CONNECT BY LEVEL < 7),
         t4
         AS (    SELECT 7 job_request_id,
                        3 original_job_request_id,
                        mod(LEVEL,2) + 1 sequence_cd,
                        CHR (LEVEL + 92) value_txt,
                        NULL
                   FROM DUAL
             CONNECT BY LEVEL < 4),
             
         mytable
         AS (SELECT * FROM t
             UNION ALL
             SELECT * FROM t1
             UNION ALL
             SELECT * FROM t2
             UNION ALL
             SELECT * FROM t3
             UNION ALL
             SELECT * FROM t4)
    SELECT *
      FROM mytable
      order by job_request_id, original_job_request_id, sequence_cd;
    entry
    JOB_REQUEST_ID     ORIGINAL_JOB_REQUEST_ID     SEQUENCE_CD     VALUE_TXT     NEW_SEQUENCE_CD
    1     1     1     g     
    1     1     2     h     
    1     1     2     e     
    1     1     3     i     
    1     1     3     f     
    2     1     1     v     
    2     1     1     p     
    2     1     1     r     
    2     1     1     t     
    2     1     2     u     
    2     1     2     q     
    2     1     2     o     
    2     1     2     s     
    2     1     2     w     
    3     3     7     b     
    3     3     7     e     
    3     3     8     `     
    3     3     8     f     
    3     3     8     c     
    3     3     9     d     
    3     3     9     a     
    3     3     9     g     
    4     3     1     e     
    4     3     1     c     
    4     3     1     a     
    4     3     2     b     
    4     3     2     `     
    4     3     2     d     
    7     3     1     ^     
    7     3     2     ]     
    7     3     2     _     
    expected results
    JOB_REQUEST_ID     ORIGINAL_JOB_REQUEST_ID     SEQUENCE_CD     VALUE_TXT     NEW_SEQUENCE_CD
    1     1     1     g     1
    1     1     2     h     2
    1     1     2     e     2
    1     1     3     i     3
    1     1     3     f     3
    2     1     1     v     4
    2     1     1     p     4
    2     1     1     r     4
    2     1     1     t     4
    2     1     2     u     5
    2     1     2     q     5
    2     1     2     o     5
    2     1     2     s     5
    2     1     2     w     5
    3     3     7     b     7
    3     3     7     e     7
    3     3     8     `     8
    3     3     8     f     8
    3     3     8     c     8
    3     3     9     d     9
    3     3     9     a     9
    3     3     9     g     9
    4     3     1     e     10
    4     3     1     c     10
    4     3     1     a     10
    4     3     2     b     11
    4     3     2     `     11
    4     3     2     d     11
    7     3     1     ^     12
    7     3     2     ]     13
    7     3     2     _     13
    my attempt to explain.
    If the job request id = id of the new cd of sequence = sequence cd original job application

    When the employment application IDS are higher than the original increment the new cd of sequence with respect to the maximum of the original work request id sequence cd.

    I hope that the expected results will clarify.

    Hello

    It looks like you want DENSE_RANK, except that you want to ignore the numbers (for example, 6 in this example) when necessary so that new_sequence_cd > = sequence_cd.

    With the help of analytical functions:

    WITH      got_drank     AS
    (
         SELECT    m.*
         ,       DENSE_RANK () OVER ( ORDER BY  job_request_id
                                            ,      original_job_request_id
                                      ,      sequence_cd
                                  )  AS drank
         FROM      mytable  m
    )
    SELECT       job_request_id
    ,            original_job_request_id
    ,        sequence_cd
    ,       value_txt
    ,       drank + MAX ( sequence_cd
                      - drank
                    ) OVER ( ORDER BY  job_request_id
                                ,      original_job_request_id
                          ,      sequence_cd
                        )  AS new_sequence_cd
    FROM      got_drank
    ORDER BY  job_request_id
    ,            original_job_request_id
    ,        sequence_cd
    ;
    

    You can also use the MODEL.

    If you have a new_sequence_cd column in a table, one you want to fill, use the query in a MERGE statement above.

  • Insert/update of the XML help merge and to generate the sequence number

    Hello

    I'm working on Oracle 11 g.

    I have a doubt with loading XML.
    I get an xml and I need to insert or update data in a table. What I can accomplish by using the MERGE statement.
    But there is a column in A table, I need to fill with a sequence number, based on the data sent in the xml file.
    The XML does not send the data in this column.
    And I have to make sure that sequence is created according to the order in which the records are present in xml.
    For example the MERGER is insert five rows and update two lines and insert again 3 rows of xml in table A. The sequence number must be created in the same order for the column in the table.
    Also for every new XML, the sequence starts with 1 and ends with the number of records in the xml file. I can't create a sequence and use the seq.nextval.

    Please let me know, there is a way to achieve this.

    Thank you!

    Published by: 934451 on 8 August 2012 06:33

    Published by: 934451 on 8 August 2012 06:50

    Hello

    As a result of your previous thread: {: identifier of the thread = 2403469}

    You can use the clause for ORDINALITE in XMLTable to generate the necessary sequence:

    MERGE INTO target_table t
    USING (
      SELECT x.seq_num, x.pk_id, x.col1, x.col2, ...
      FROM XMLTable(
             '/root/record'
             passing my_xml_doc
             columns seq_num FOR ORDINALITY
                   , pk_id   number       path 'ID'
                   , col1    varchar2(30) path 'COL1'
                   , col2    varchar2(30) path 'COL2'
                   , ...
           ) x
    ) src
    ON ( t.pk_id = src.pk_id )
    WHEN MATCHED THEN UPDATE
     SET t.seq_num = src.seq_num
       , t.col1 = src.col1
       , t.col2 = src.col2
       , ...
    WHEN NOT MATCHED THEN INSERT
     (seq_num, pk_id, col1, col2, ...)
     VALUES (src.seq_num, src.pk_id, src.col1, src.col2, ...)
    ;
    
  • Generate the block number

    Hi Experts,

    I'm provoding a couple examples of data
    with t as
    (
    select 1 loan_id,'xxx' bn from dual
    union all
    select 2 loan_id,null borrower_name from dual
    union all
    select 3 loan_id,null borrower_name from dual
    union all
    select 7 loan_id,'ac' borrower_name from dual
    union all
    select 10 loan_id,'ac' borrower_name from dual
    union all
    select 11 loan_id,null borrower_name from dual
    )
    select loan_id,bn
    from t
    /
    
    LOAN_ID BN
    ---------- ---
             1 xxx
             2 
             3 
             7 ac
            10 ac
            11 
    Desired O/p
    loan_id   bn    group_no
    1          xxx    G1
    2                   G1
    3                   G1
    7         ac       G3
    10       ac       G4
    11                 G4
    So, I try to generate the new column filled with a few unique group_no. A group has the value of loan_ids which are in order.

    Ex: loan_ids 1,2,3 are regarded as a single group and 10,11 as another group.

    And I made an attempt using lead and the delay of analytical functions.
    SQL> with t as
      2  (
      3  select 1 loan_id,'xxx' bn from dual
      4  union all
      5  select 2 loan_id,null borrower_name from dual
      6  union all
      7  select 3 loan_id,null borrower_name from dual
      8  union all
      9  select 7 loan_id,'ac' borrower_name from dual
     10  union all
     11  select 10 loan_id,'ac' borrower_name from dual
     12  union all
     13  select 11 loan_id,null borrower_name from dual
     14  )
     15  select id,bn,(
     16                case when lg = id-1 or ld=id+1 then
     17                'G'
     18                else
     19                'N'
     20                end
     21                )group_no
     22  from
     23  (
     24  select loan_id id,bn,lag(loan_id) over(order by loan_id) lg,lead(loan_id) over(order by loan_id) ld
     25  from t
     26  )
     27  /
    
            ID BN  GROUP_NO
    ---------- --- --------
             1 xxx G
             2     G
             3     G
             7 ac  N
            10 ac  G
            11     G
    
    6 rows selected
    But its production group_no even for all groups. Experts please help.

    Published by: RUSSO Sep 21, 2011 07:55

    Or

    With tutorial method Tabibitosan by Aketi Jyuuzou

    Method Tabibitosan by Aketi Jyuuzou tutorial

    WITH t AS
         (SELECT 1 loan_id, 'xxx' bn
            FROM DUAL
          UNION ALL
          SELECT 2 loan_id, NULL borrower_name
            FROM DUAL
          UNION ALL
          SELECT 3 loan_id, NULL borrower_name
            FROM DUAL
          UNION ALL
          SELECT 7 loan_id, 'ac' borrower_name
            FROM DUAL
          UNION ALL
          SELECT 10 loan_id, 'ac' borrower_name
            FROM DUAL
          UNION ALL
          SELECT 11 loan_id, NULL borrower_name
            FROM DUAL)
    select loan_id, bn, 'G'||dense_rank()over(order by makegroup) GRP_ID
    from (
    SELECT   loan_id, bn,
              loan_id - row_number () OVER (ORDER BY loan_id) AS makegroup
        FROM t)
    ORDER BY loan_id;
    
       LOAN_ID BN  GRP_ID
    ---------- --- -----------------------------------------
             1 xxx G1
             2     G1
             3     G1
             7 ac  G2
            10 ac  G3
            11     G3                                       
    
    6 rows selected.
    
  • How to generate the xml tag empty when meets elements void inside

    Hi gurus,

    IAM facing a problem to generate the empty tag, here is my file that I'm generating now
    <HEADER>
        <MINISTRY_CODE>RPO</MINISTRY_CODE>
        <DEPARTMENT_CODE>000</DEPARTMENT_CODE>
        <ORDER_CODE>RPO000EPO11001002</ORDER_CODE>
        <EXTERNAL_SYSTEM_CODE>E</EXTERNAL_SYSTEM_CODE>
        <AMENDMENT_NUMBER>0</AMENDMENT_NUMBER>
        <VARIATION_NUMBER>0</VARIATION_NUMBER>
        <EXCEPTIONS>
          <EXCEPTION>
            <EXCEPTION_CODE>PO016</EXCEPTION_CODE>
            <EXCEPTION_LONG_DESC>PO cannot be created/amended successfully</EXCEPTION_LONG_DESC>
          </EXCEPTION>
        </EXCEPTIONS>
      </HEADER>
      <ITEMS>
        <ITEM>
          <LINE_NUMBER>1</LINE_NUMBER>
          <EXCEPTIONS>
            <EXCEPTION>
              <EXCEPTION_CODE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
              <EXCEPTION_LONG_DESC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
            </EXCEPTION>
          </EXCEPTIONS>
          <LOCATIONS>
            <LOCATION>
              <LINE_NUMBER>1</LINE_NUMBER>
              <EXCEPTIONS>
                <EXCEPTION>
                  <EXCEPTION_CODE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                  <EXCEPTION_LONG_DESC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                </EXCEPTION>
              </EXCEPTIONS>
              <DISTRIBUTIONS>
                <DISTRIBUTION>
                  <LINE_NUMBER>1</LINE_NUMBER>
                  <EXCEPTIONS>
                    <EXCEPTION>
                      <EXCEPTION_CODE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                      <EXCEPTION_LONG_DESC xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
                    </EXCEPTION>
                  </EXCEPTIONS>
                </DISTRIBUTION>
              </DISTRIBUTIONS>
            </LOCATION>
          </LOCATIONS>
        </ITEM>
      </ITEMS>
    </GEBIZ_ORDER_ACK>
    current I'm generating tags EXCEPTION even if it is null as
    < EXCEPTIONS >
    < EXCEPTION >
    < EXCEPTION_CODE xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: Nil = "true" / >
    < EXCEPTION_LONG_DESC xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: Nil = "true" / >
    < / EXCEPTION >
    < / EXCEPTIONS >
    but my requirement is them does not when the exception code is null and generate as
    < EXCEPTIONS / >

    This is sql that I use to generate the above said code let me know how can I control who
                       SELECT xmlserialize(document
                                  xmlelement("GEBIZ_ORDER_ACK"
                                  , xmlagg(
                                      xmlconcat(hdr, dtls)
                                    )
                                  )
                                  as clob indent size = 2
                                )
                       --  INTO lv_out
                         FROM (
                               SELECT xmlelement("HEADER"
                                           , xmlelement("MINISTRY_CODE", poh.ministry_code)
                                           , xmlelement("EXCEPTIONS"
                                                 , xmlelement("EXCEPTION"
                                                             , xmlelement("EXCEPTION_CODE"   --,NVL(poh.exception_code,'NULL')
                                                             , xmlattributes(
                                                               NVL2(poh.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                             , NVL2(poh.exception_code,null,'true') as "xsi:nil"
                                                               )
                                                             ,poh.exception_code)
                                                             , xmlelement("EXCEPTION_LONG_DESC"
                                                             , xmlattributes(
                                                               NVL2(poh.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                             , NVL2(poh.exception_long_desc,null,'true') as "xsi:nil"
                                                               )
                                                             ,poh.exception_long_desc)
                                                             )
                                                       )
                                           ) hdr
                                     , xmlelement("ITEMS"
                                     , xmlagg(
                                              xmlelement("ITEM"
                                               ,xmlelement("LINE_NUMBER", v1.line_no)
                                               ,xmlelement("EXCEPTIONS"
                                                        , xmlelement("EXCEPTION"
                                                                    , xmlelement("EXCEPTION_CODE"    --,NVL(v1.exception_code,'NULL')
                                                                    , xmlattributes(
                                                                      NVL2(v1.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                                    , NVL2(v1.exception_code,null,'true') as "xsi:nil"
                                                                      )
                                                                    , v1.exception_code)
                                                                    , xmlelement("EXCEPTION_LONG_DESC"
                                                                    , xmlattributes(
                                                                      NVL2(v1.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                                    , NVL2(v1.exception_long_desc,null,'true') as "xsi:nil"
                                                                      )
                                                                    ,v1.exception_long_desc)
                                                                    )
                                                          )
                                               ,xmlelement("LOCATIONS"
                                               ,( SELECT xmlagg(
                                                          xmlelement("LOCATION"
                                                        , xmlelement("LINE_NUMBER",v2.location_line_no)
                                                        , xmlelement("EXCEPTIONS"
                                                        , xmlelement("EXCEPTION"
                                                        , xmlelement("EXCEPTION_CODE"   --,NVL(v2.exception_code,'NULL')
                                                        , xmlattributes(
                                                          NVL2(v2.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                        , NVL2(v2.exception_code,null,'true') as "xsi:nil"
                                                          )
                                                        , v2.exception_code)
                                                        , xmlelement("EXCEPTION_LONG_DESC"
                                                        , xmlattributes(
                                                          NVL2(v2.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                        , NVL2(v2.exception_long_desc,null,'true') as "xsi:nil"
                                                          )
                                                        ,v2.exception_long_desc)
                                                                    )
                                                          )
                                               ,xmlelement("DISTRIBUTIONS"
                                               ,(SELECT xmlagg
                                                 (       xmlelement("DISTRIBUTION"
                                                         ,xmlelement("LINE_NUMBER", v3.distribution_line_no)
                                                         ,xmlelement("EXCEPTIONS"
                                                         , xmlelement("EXCEPTION"
                                                         , xmlelement("EXCEPTION_CODE"--,NVL(v3.exception_code,'NULL')
                                                         , xmlattributes(
                                                           NVL2(v3.exception_code,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                         , NVL2(v3.exception_code,null,'true') as "xsi:nil"
                                                          )
                                                         ,v3.exception_code)
                                                         , xmlelement("EXCEPTION_LONG_DESC"
                                                         , xmlattributes(
                                                           NVL2(v3.exception_long_desc,null,'http://www.w3.org/2001/XMLSchema-instance') as "xmlns:xsi"
                                                         , NVL2(v3.exception_long_desc,null,'true') as "xsi:nil"
                                                          )
                                                        ,v3.exception_long_desc)
                                                                    )
                                                            )
                                                          ) ORDER BY v3.distribution_line_no
                                                       ) FROM xgbz_fin_stage_ack_pot_v@dev_1157.RP.EDU.SG v3
                                                        WHERE v2.po_cont_code = v3.po_cont_code
                                                          AND v2.line_no = v3.line_no
                                                          AND v2.location_line_no = v3.location_line_no
                                                          AND v2.fs_timestamp = v3.fs_timestamp
                                                          AND v3.tx_timestamp IS  NULL
                                                     )
                                                   )
                                                 ) ORDER BY v2.location_line_no
                                              ) FROM xgbz_fin_stage_ack_pol_v@dev_1157.RP.EDU.SG v2
                                               WHERE v2.line_no = v1.line_no
                                                 AND v2.po_cont_code = v1.po_cont_code
                                                 AND v2.fs_timestamp = v1.fs_timestamp
                                                 AND v2.TX_TIMESTAMP IS NULL
                                 )
                               )
                             ) ORDER BY v1.line_no
                           )
                         ) dtls
                    FROM xgbz_fin_stage_ack_poh_v@dev_1157.rp.edu.sg poh,
                         xgbz_fin_stage_ack_pod_v@dev_1157.rp.edu.sg v1
                   WHERE v1.po_cont_code = poh.po_cont_code
                     AND v1.fs_timestamp = poh.fs_timestamp
                     AND v1.tx_timestamp IS NULL
                     AND poh.tx_timestamp IS NULL
                     AND poh.po_cont_code = rec_po_ack.po_cont_code
                   GROUP BY poh.po_cont_code,poh.ext_system_code,poh.amendment_no,poh.variation_no,poh.exception_code,poh.exception_long_desc,
                            poh.ministry_code, poh.dept_code)
    It's urgent please help in this regard.

    Thanks in advance.

    Concerning
    Mr. Nagendra

    Hello

    Here are two possible solutions:

    xmlelement("EXCEPTIONS",
      xmlforest(
        xmlforest(
          v1.exception_code as "EXCEPTION_CODE"
        , v1.exception_long_desc as "EXCEPTION_LONG_DESC"
        ) as "EXCEPTION"
      )
    )
    

    Mun

    xmlelement("EXCEPTIONS",
      case when v1.exception_code is not null
             or v1.exception_long_desc is not null
        then xmlelement("EXCEPTION",
               xmlforest(
                 v1.exception_code as "EXCEPTION_CODE"
               , v1.exception_long_desc as "EXCEPTION_LONG_DESC"
               )
             )
      end
    )
    
  • FPGA to generate the counter and pulse train

    Hello

    I have some experience with Quartus, but new on the FPGA OR.

    I have a PCI-7811R. I'm trying to use it to illuminate sequentially 144 LEDs repeatedly. The duration of each pulse is 480us.

    Basically, I need to generate a pulse and generator of a counter to record the number of pulses and, according to this number, select which light is lit.

    I designed a pulse generator train based on an example of using FPGAS and added a counter in it. You can see in the attached vi.

    My question is,

    When I put the I/O node inside loops call single cycle, it can generate the correct pulse.  However, when I tried to use the local variable to transfer data from the SCTL and then plug it on another node of I/O, I can't detect the pulse signal when I measured this I/O.

    Is there something wrong with my code when I try to transfer the data of the SCTL? Can I also use local variable to transfer the value of counter, because I will need it in the next part.

    Thank you!

    If you are referring to the wired local variable to DIO2 in your attached VI, the problem is very simple: it is outside a loop, then it executes only once.  Put this local variable and the node of IO in a loop and I think you'll get something close to the impulse you expect (although if it is not in a loop of single cycle you will have exactly the same calendar).

  • I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound.

    I am facing a problem with the beep.vi.  I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.

    Ihab El-Sayed

    published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...

  • Generate the event

    Hi all

    I use Labview7.0 and need to generate the automatic event. This means without any button or mouse move the activity on the front panel, I want to generate the event after each interval of time given.

    How can I fullfill my requirement?

    Kind regards

    Ratna

    Hello

    One way you can trigger the event is to use node property of this control or indicator value.

  • Error 1 to generate the user event

    I have a master/slave VI tester to evaluate the functioning of a Global functional error which should gather errors are generated in each loop.  I get 1 error: invalid parameters to the user events VI generate in the FG of entry error and do not know why.

    I enclose my (LV 8.5) shots of screw and screen, because I think that images would explain better than words.  I have documented the code to indicate what should happen and what is happening.

    Please let me know if you need more details.  Thank you! Your help is appreciated!

    ~ Kristen

    In the case of initialization of your VI main, you're going to initialize the FGV Subvi error.  But you can't give the refnum of user events to store in the shift register.

    When you use this FGV later, it uses the empty refnum into the shift register and sends that to generate the user event, and it gives an error.

  • Generating the signal as shown in the picture in labview

    Hello

    I'm using labview in 2011 and want to generate the second signal as shown in the picture attached in labview as I want to use it as input to implement adaptive filtering, if the first signal in the image represents the output of the adaptive filtering area.

    May I know how to generate a second signal.

    Thank you.


Maybe you are looking for

  • iPhone battery life 6 is bad

    My 6 iPhone battery life is not good. Sometimes when it gets to 50% autonomy, he is dying and will have to be plugged in to recharge. Others, he died in the autonomy of 20-30%.  I need a solution to this problem.

  • Dv6-3152sl: driver and bios for hp dv6-3152sl

    HelloI have a problem with the HP DV6-3152sl laptop. It does not start and caps lock led flashes. After a search, I guess it must be a corrupted BIOS problem and I need the new BIOS to Flash, but to the HP support Site, there is no driver for this la

  • Satellite C650 - 18 d - it comes to screen or a computer?

    Hello could someone help and tell me if there is a problem with the screen or computer.If screen, is it easily fixed with a replacement screen? or something more complicated. Thank youHP [flickr photo | http://www.flickr.com/photos/79882183@N06/]?

  • HP Envy 4520: HP Envy 4520 power Angle

    I just got a new HP Envy 4520 but am find all results to be printing out at an angle so that from the top of the right-hand page is greater than the left of 2mm. I thought the paper could feed into a corner and I looked at the paper in the tray and t

  • TPT2 - compatibility for Wireless display (WIDI)

    Does anyone know if the Thinkpad Tablet 2 does support Wireless display (Widi)? Found something on google that Widi is not limited to core i processors. However the official side of intel does not list the z2760 of the atom as supported. If not suppo