Start timestamp - dynamic signal - waweform chart

Hi,
I have an issue with the start timestamp of an dynamic signal. I'm simulating a sine with the express signal generation. The thing is I can't reset it start timestamp (set it to NOW). The only way I found to do it is to stop my app... and then when I start the app again, the start timestamp resets to present time.
Why does this bother me? I'm plotting this signal on a waweform chart and I want to be able to reset to 0 (I mean, t0 =  now) the ''plotting'' of this signal without having to stop the application. I can't beleive there is no way yo acheive this.
Anyone knows?
Thank you
Eric

Hi
Thx for reply, but it does not work... I had already tried to set current time to t0 through the ''build waveform'' and even the ''set dynamic signal attribute express'' VI.It only resets when I stop my app and restart it.
Here what I want to acheive:
I have an application running. On my mean screen, let say I click a buttom to perform a ''get signal'' process and show it on a chart. Once the process is over, bring me back to the main screen.
First time it works well as t0 is at 0 (now, current time). Once I come back to the main screen, I want to perform another one... but can't get my &?$%? signal t0 to ''now'', so my chart do not start at 0, it starts where it was at the end of the first process. I can't beleive it is so hard to do something should be so simple...

Similar Messages

  • Signal flow chart for using DIO on 5640R

    Hi,
    There are a bunch of good templates to get me started with analog I/O but not for digital I/O. My project needs the host to send out a value through digital lines @10MHz. Now I have a few  basic questions regarding the standard procedures to work with DIO?
    1. what are the essential items in the signal flow chart on host? Open session->configuration->write->initialization->close session?
    2. What are the differences of opening a session using FPGA VI Reference.vi and 5640 init Generation Session.vi? They are not interchangable.
    3. Do I have to use a FIFO to transfer data between FPGA and host in this case?
    At last, I highly recommend ni group to create a working template for DIO. If easy modification to analog I/O template can work for DIO, please show to how, that'll be great.
    Thank you.
    Dan

    Hi Dan,
    The basic flow of programming on the Host for digital output would be similar to:
    Open FPGA Reference >> Configuration (as needed) >> Write to FPGA >> Close session
    You could use a FIFO to pass data between the host and the FPGA or you could just pass data via controls and indicators.  I have included an example project which passes data from the host to a control on the FPGA VI.  If you are transferring the data as a 32-bit unsigned integer then you will need to manually format and control the way it is output from the FPGA VI.  There is not a pre-made function to do that.
    As for testing, you can manually probe the pins on a connector with a DMM.  Here is the pinout for the AUX connector.
    Regards,
    Barron
    Barron
    Applications Engineering
    National Instruments
    Attachments:
    ni5640R Digital Output Example.zip ‏282 KB

  • How to Send WSU:TimeStamp dynamically in BPEL 11g

    I have requirement to send <wsu:Timestamp> dynamically like creation and expiration must be having 5 min difference.
    <wsu:Timestamp>
    <wsu:Created>*2012-06-08T09:18:14Z*</wsu:Created>
    <wsu:Expires>*2012-06-08T09:23:14Z*</wsu:Expires>
    </wsu:Timestamp>
    how to send 5 minutes difference in WSS policies.

    Hi,
    I have created a task flow which will contain all merchant details, and i try to drag this task flow as html form with post request, then i am getting error like nested forms in that page. can any one help how can achive this.
    my requirement is: when user click on submit button then i need to invoke http post request which needs to embedded username and pwd with my form data. it's very urgent pls respond if any one knows.

  • How to create dynamic ed flash charts based on user selected fields in Orac

    Hi all,
    Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
    Thanks
    Manish

    Hello,
    Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
    http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
    Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Giving START WITH dynamically in a query

    Hi,
    How do you specify the value in START WITH dynamically during runtime.
    For example please consider the bewlo scenario:
    CREATE TABLE ISCT
    ITEM_NO VARCHAR2(15 CHAR) NOT NULL,
    ITEM_TYPE VARCHAR2(3 CHAR) NOT NULL,
    ITEM_TYPE_SCO VARCHAR2(3 CHAR) NOT NULL,
    ITEM_NO_SCO VARCHAR2(15 CHAR) NOT NULL,
    ARTSAL_SEQ_PRIO NUMBER(3) NOT NULL,
    ART_SCO_QTY NUMBER(6,3) NOT NULL,
    ITEM_SEQ_PRIO NUMBER(3),
    PCKL_SEQ_PRIO NUMBER(3),
    REG_DATE DATE NOT NULL,
    UPD_DATE DATE NOT NULL,
    DELETE_DATE DATE,
    USER_NO_CHG VARCHAR2(7 CHAR) NOT NULL
    CREATE TABLE ICONT
    ITEM_TYPE VARCHAR2(3 CHAR) NOT NULL,
    ITEM_NO VARCHAR2(15 CHAR) NOT NULL,
    ITEM_TYPE_CHILD VARCHAR2(3 CHAR) NOT NULL,
    ITEM_NO_CHILD VARCHAR2(15 CHAR) NOT NULL,
    ITEM_QTY_CHILD NUMBER(5) NOT NULL,
    REG_DATE DATE NOT NULL,
    UPD_DATE DATE NOT NULL,
    DELETE_DATE DATE,
    II_DATE DATE NOT NULL,
    IU_DATE DATE NOT NULL,
    SORT_NO NUMBER(5)
    Now inserting rows:
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('15795', 'CCI', 'SCI', '00245905', 25,
    1, NULL, NULL, TO_DATE('10/03/2009 15:40:01', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('00245781', 'SCI', 'SCI', '00245905', 1,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('80067553', 'ART', 'SCI', '00245905', 2,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('84178910', 'ART', 'SCI', '00245905', 3,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('70132375', 'ART', 'SCI', '00245905', 4,
    8, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('30067555', 'ART', 'SCI', '00245905', 5,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('50067559', 'ART', 'SCI', '00245905', 6,
    5, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('14278710', 'ART', 'SCI', '00245905', 7,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('00130092', 'ART', 'SCI', '00245905', 8,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('10110159', 'ART', 'SCI', '00245905', 9,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('30124693', 'ART', 'SCI', '00245905', 10,
    4, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('80130093', 'ART', 'SCI', '00245905', 11,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('90110155', 'ART', 'SCI', '00245905', 12,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('60035916', 'ART', 'SCI', '00245905', 13,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('54249810', 'ART', 'SCI', '00245905', 14,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('14180110', 'ART', 'SCI', '00245905', 15,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('97872010', 'ART', 'SCI', '00245905', 16,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('34180010', 'ART', 'SCI', '00245905', 17,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('57871710', 'ART', 'SCI', '00245905', 18,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('40067588', 'ART', 'SCI', '00245905', 19,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('00067590', 'ART', 'SCI', '00245905', 20,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('80067586', 'ART', 'SCI', '00245905', 21,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('20145196', 'ART', 'SCI', '00245905', 22,
    2, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('00067585', 'ART', 'SCI', '00245905', 23,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('80124087', 'ART', 'SCI', '00245905', 24,
    1, NULL, 1, TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/03/2009 15:46:04', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1008920');
    Insert into isct
    (ITEM_NO, ITEM_TYPE, ITEM_TYPE_SCO, ITEM_NO_SCO, ARTSAL_SEQ_PRIO,
    ART_SCO_QTY, ITEM_SEQ_PRIO, PCKL_SEQ_PRIO, REG_DATE, UPD_DATE,
    DELETE_DATE, USER_NO_CHG)
    Values
    ('39809661', 'SPR', 'SCI', '00245781', 1,
    1, 1, 1, TO_DATE('10/04/2009 15:24:22', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('10/04/2009 15:24:22', 'MM/DD/YYYY HH24:MI:SS'),
    NULL, '1007193');
    Insert into icont (ITEM_TYPE,ITEM_NO,ITEM_TYPE_CHILD,ITEM_NO_CHILD,ITEM_QTY_CHILD,REG_DATE,UPD_DATE,DELETE_DATE,II_DATE,IU_DATE,SORT_NO) values ('SPR','39809661','ART','44178610',1,to_timestamp('23-FEB-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('23-FEB-07','DD-MON-RR HH24.MI.SSXFF'),null,to_timestamp('15-NOV-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('20-DEC-07','DD-MON-RR HH24.MI.SSXFF'),2);
    Insert into icont (ITEM_TYPE,ITEM_NO,ITEM_TYPE_CHILD,ITEM_NO_CHILD,ITEM_QTY_CHILD,REG_DATE,UPD_DATE,DELETE_DATE,II_DATE,IU_DATE,SORT_NO) values ('SPR','39809661','ART','70132375',1,to_timestamp('06-SEP-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('06-SEP-07','DD-MON-RR HH24.MI.SSXFF'),null,to_timestamp('15-NOV-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('20-DEC-07','DD-MON-RR HH24.MI.SSXFF'),4);
    Insert into icont (ITEM_TYPE,ITEM_NO,ITEM_TYPE_CHILD,ITEM_NO_CHILD,ITEM_QTY_CHILD,REG_DATE,UPD_DATE,DELETE_DATE,II_DATE,IU_DATE,SORT_NO) values ('SPR','39809661','ART','74249710',1,to_timestamp('23-FEB-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('23-FEB-07','DD-MON-RR HH24.MI.SSXFF'),null,to_timestamp('15-NOV-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('20-DEC-07','DD-MON-RR HH24.MI.SSXFF'),3);
    Insert into icont (ITEM_TYPE,ITEM_NO,ITEM_TYPE_CHILD,ITEM_NO_CHILD,ITEM_QTY_CHILD,REG_DATE,UPD_DATE,DELETE_DATE,II_DATE,IU_DATE,SORT_NO) values ('SPR','39809661','ART','80067553',1,to_timestamp('23-FEB-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('23-FEB-07','DD-MON-RR HH24.MI.SSXFF'),null,to_timestamp('15-NOV-07','DD-MON-RR HH24.MI.SSXFF'),to_timestamp('20-DEC-07','DD-MON-RR HH24.MI.SSXFF'),1);
    COMMIT;
    Now if you create a view:
    create or replace view test_v
    (ITEM_NO, ITEM_TYPE, ITEM_NO_SCO,ITEM_TYPE_SCO)
    as
    SELECT T.ITEM_NO, T.ITEM_TYPE, CONNECT_BY_ROOT T.ITEM_NO_SCO,T.ITEM_TYPE_SCO
    FROM
    SELECT NVL(C.ITEM_NO_CHILD, I.ITEM_NO) ITEM_NO, NVL(C.ITEM_TYPE_CHILD, I.ITEM_TYPE) ITEM_TYPE, I.ITEM_TYPE_SCO, I.ITEM_NO_SCO
    FROM isct I,
    icont C
    WHERE I.ITEM_NO = C.ITEM_NO(+)
    AND I.ITEM_TYPE = C.ITEM_TYPE(+)
    ) T
    CONNECT BY PRIOR T.ITEM_NO = T.ITEM_NO_SCO AND PRIOR T.ITEM_TYPE = T.ITEM_TYPE_SCO;
    Then run the below query:
    select * from test_v where item_no_sco = '00245905'
    the output is got within a second. but the real scenario is that both table icont and isct have millions of rows. In that case even this small query of the view takes 10minutes as there a FULL TABLE JOIN.
    How do I give the START WITH in the view to make it faster i.e.
    even with millions of rows the output of this comes in seconds:
    SELECT T.ITEM_NO, T.ITEM_TYPE, CONNECT_BY_ROOT T.ITEM_NO_SCO,T.ITEM_TYPE_SCO
    FROM
    SELECT NVL(C.ITEM_NO_CHILD, I.ITEM_NO) ITEM_NO, NVL(C.ITEM_TYPE_CHILD, I.ITEM_TYPE) ITEM_TYPE, I.ITEM_TYPE_SCO, I.ITEM_NO_SCO
    FROM isct I,
    icont C
    WHERE I.ITEM_NO = C.ITEM_NO(+)
    AND I.ITEM_TYPE = C.ITEM_TYPE(+)
    ) T
    START WITH T.ITEM_NO_SCO = '00245905'
    CONNECT BY PRIOR T.ITEM_NO = T.ITEM_NO_SCO AND PRIOR T.ITEM_TYPE = T.ITEM_TYPE_SCO;
    I want to summarize the above the post, you can use START WITH in a stand alone query, in a function etc. But how do you use it in a VIEW?
    Thanks,
    Vikram

    user12004283 wrote:
    Hi,
    Thanks for the quick replies.
    I was more looking for a solution with only SQL i.e I dont want to go for any package or outside variable.
    Isn't there a way to achieve this through advanced SQL?
    Also why when I create a join in a query having connect by without start with it does a full table scan of the joined table, isnt there a better way to create a join, I mean there is no need to run the whole view at a time, it would be run with a input but why isnt the connect by using to input as a START WITH!
    Thanks,
    VikramBut the solution is "only SQL", that you have to initialize a variable doesn't change that fact.
    If you absolutely can't make that solution work, you could code this in DYNAMIC SQL, but that would much more 'bad' than the suggested implementation.
    Why exactly do you need a view at all for this?
    SELECT
      NVL(C.ITEM_NO_CHILD, I.ITEM_NO)     as ITEM_NO,
      NVL(C.ITEM_TYPE_CHILD, I.ITEM_TYPE) as ITEM_TYPE,
      CONNECT_BY_ROOT I.ITEM_NO_SCO       as ITEM_NO_SCO,
      I.ITEM_TYPE_SCO 
    FROM  isct  I,
          icont C
    WHERE I.ITEM_NO = C.ITEM_NO(+)
    AND I.ITEM_TYPE = C.ITEM_TYPE(+)
    start with I.ITEM_NO_SCO = :YOUR_BIND_VARIABLE
    CONNECT BY PRIOR I.ITEM_NO = I.ITEM_NO_SCO AND PRIOR I.ITEM_TYPE = I.ITEM_TYPE_SCO;Is about as simple as it gets, no need for a view ... no need for anything flashy. What is your justification behind 'needing' a view for this?

  • Error starting data collection CPU Utilization Chart

    I encountered this error when tried to display any charts in Performance Manager of OEM. There are 2 error messages on separate popup window. Here the 1st error messages:
    VTM-0048 : Error starting data collection CPU Utilization Chart
    java.lang.NoClassDefFoundError: oracle/sysman/vtm/chart/VtmPieChart
    at
    at oracle.sysman.vtm.chart.VtmChartFactory.getChart(VtmChartFactory.java:212)
    at oracle.sysman.vtm.VtmChartPanel.createChart(VtmChartPanel.java:391)
    at oracle.sysman.vtm.VtmChartPanel.startCollection(VtmChartPanel.java:1179)
    at oracle.sysman.vtm.VtmChartPanel.startCollection(VtmChartPanel.java:1194)
    at oracle.sysman.vtm.VtmChartPanel.startRecording(VtmChartPanel.java:1801)
    2nd error message came out following the 1st error message:
    VTM-0002 : Error displaying chart CPU Utilization Chart
    java.lang.NoClassDefFoundError: netcharts/graphics/NFDwellObserver
    at
    at oracle.sysman.vtm.chart.VtmChartFactory.getChart(VtmChartFactory.java:212)
    at oracle.sysman.vtm.VtmChartPanel.createChart(VtmChartPanel.java:391)
    at oracle.sysman.vtm.VtmChartPanel.setChartType(VtmChartPanel.java:815)
    at oracle.sysman.vtm.VtmChartPanel.processNewData(VtmChartPanel.java:733)
    at oracle.sysman.vtm.VtmVPClient.sampleComplete(VtmVPClient.java:214)
    Does anyone know how to fix it ?
    Regards,
    Tom

    Thans Dan,
    I have gone in the program UGMDSYNC, and getting few Gls which have not assigned Cons Chart  of account.
    Kindly tell me how to assign chart of account to these GL account?

  • Dynamically displaying SPC Chart Title

    Hi
    I have created SPC Chart Disply.I did dynamic change of chart types(like xbar,xbar-range). Now i want to  reset the Chart title property dynamically. if any methods available.
    Thanks in advance.
    Regards,
    Malini.V

    This method and all of the other helpful get/set syntax methods are easy found by using the Script Assistant, which is part of the Productivity Tool installation that you can add to your client workstation by running the Wizard Install link found in the xMII Menu's Visualization Services section.
    If you are working on a dynamic SPC charting application you might also be able to learn from some pre-installed content:  http://localhost/Lighthammer/Samples/SPC/Servers.irpt
    Regards,
    Jeremy

  • Dynamically set flash chart height?

    Hi,
    I have a flash chart that includes a selector that alters the query for the chart. Depending on what the user selects, the chart shows a different number of rows (this happens to be a stacked horizontal bar chart, but this could apply to any chart type). I would like to be able to dynamically set the chart height based on the number of rows the query returns. If I set it too small and the user makes a choice that returns a larger number of rows, the chart bars are compressed to the point where the labels are unreadable or omitted altogether. Conversely, if I set the height to a larger value and the user makes a selection that results in a small number of rows, the chart is overly extended and hard to read.
    I am able to calculate what I'd like the chart height to be using a page item and a before header process. But I can't figure out how to pass this value to AnyChart. I tried using an item substitution (e.g., &P7_CHART_HEIGHT.) as the value for the chart height on the Chart Attributes/Chart Settings page, but this attribute requires a non-zero numeric value. I tried to figure out if I could alter the chart XML, but could not figure out how to do it and I'm not sure item substitutions would be passed in the XML anyway.
    Is there a way to dynamically set the height attribute of a chart at page load time?
    Thanks,
    Mike

    Hi Mike,
    You can update the Region Source of your chart, replacing the substitution strings *#HEIGHT#* with the reference to your page item *&P7_CHART_HEIGHT.*. So your chart region source should then look something like the following(note that I've trimmed some lines for display purposes), and when the chart is run it will pick up your setting for the height, based upon the value returned from your Before Header process:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="#HOST_PROTOCOL#://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
        width="#WIDTH#"
        height="&P7_CHART_HEIGHT."
        id="#CHART_NAME#"
        align="top">
    <param name="movie" value="#IMAGE_PREFIX#flashchart/anychart_5/swf/...............................">
    <param name="quality" value="high">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="allowNetworking" value="all">
    <param name="scale" value="noscale">
    <param name="wmode" value="transparent">
    <param name="FlashVars" value="initText=#FLASH_INIT#&xmlLoadingText=............................................">
    <embed src="#IMAGE_PREFIX#flashchart/anychart_5/.......................................
           quality="high"
           width="#WIDTH#"
           height="&P7_CHART_HEIGHT."
           name="#CHART_NAME#"
           scale="noscale"
           align=""
           allowScriptAccess="sameDomain"
           allowNetworking="all"
           type="application/x-shockwave-flash"
           pluginspage="#HOST_PROTOCOL#://www.macromedia.com/go/getflashplayer"
           wmode="transparent"
           FlashVars="initText=#FLASH_INIT#&xmlLoadingText=#FLASH_................................................">
    </embed>
    </object>
    #CHART_REFRESH#
    {code}
    I hope this helps.
    Regards,
    Hilary                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Dynamic web-based Chart-Generation

    Hi,
    I want to a offer my users a dynamic web-based Chart-Generation.
    Actually I'm using Excel for generating charts and display the result in a static HTML-Page.
    My goal is the user selects the wanted chart (eg. in a dropdown-menue) and this chart will be created immediately.
    The charts are connected to a database where the data have been stored.
    Is there existing a Freeware-Tool/Module I can use?
    cu
    Chris

    Before FireFox got SVG and made such things obsolete, I spent a couple of sundays playing around with server-side image generation for prettier flow-charts and UML - see http://www.lapisblue.net/ for examples, http://tincancamera.com/examples/java/lapisblue/image-server/ for source code.
    It's nothing special, you're free to use it if you want - the main image generation servlet's ImageServlet; it serves up pngs, and caches and redirects repeated requests; the other servlets have different image generator classes.
    Pete

  • Can we see dynamic data on charts using Excel Services

    hi all,
    i would like to know if there is any option in SharePoint 2013 for developing dynamic "responsive/interactive Charts"  with SQL server as data source. And the connection should be there online, i mean the charts should refresh data based on
    the SQL data all the time. 
    When i saw the feature of excel service, i could see only retrieving of data using data connection from sql and after adding that data to workbook, we can create responsive charts with required filters. However, i dint see option of data refresh from external
    source without opening the excel work book. 
    What i want is, once i added the chart using chart webpart, if any new data is added or modified in external data source i.e., like SQL in my case, the chart should automatically updated with new changes in the data.
    please let me know if my requirement can be fulfilled using OOB.
    thank you beforehand .
    Thanks & Regards Raj

    Hi ALL,
    Linda, I know you are only trying to help but when you answer questions where you don't know the answer you only mislead the user asking the question at best but every one else who reviews the post... we have been performing data refresh on page
    render and every 5 minutes by default since SharePoint 2007. We build Business Intelligence Dashboards and Score Cards using Live data with Excel Services, and features like PowerPivot, PowerView
    Data in a Microsoft Office Excel workbook that has been displayed in Excel Services can come from two different locations. The data may be stored directly in the workbook, or it may be stored in an external data source, such as in a database or
    in an Online Analytical Processing (OLAP) cube.
    If the data comes from an external data source, the workbook author or administrator has defined the connection information, often in an Office data connection (.odc) file, which describes how to locate, log in, query, and access the external data source.
    When you are connected to an external data source, you can perform a refresh operation to retrieve the updated data. Each time that you refresh data, you see the most recent version of the data, including any changes that were made to the data since it was
    last refreshed.
    Refresh all connections
    On the Excel Web Access toolbar, under the Update menu, click
    Refresh All Connections.
    Periodic refresh
    By using Office Excel 2007, the workbook author can specify that data automatically refreshes at a specified interval after the workbook is opened for each connection in the workbook. For example, an inventory database may be updated every hour, and so the
    workbook author has defined the workbook to automatically refresh every 60 minutes. For more information, see Microsoft Office Excel 2007 Help.
    A Web Part author can select or clear the Allow Excel Web Access Periodic Data Refresh property to enable or disable this periodic refresh operation, if the property has been defined by the workbook author. When the time interval elapses,
    by default, the following refresh alert prompt is displayed at the bottom of the Excel Web Access Web Part:
    Refresh data for <List of Connections>? (Now) (Always) (Don't ask me again)
    An Excel Web Access Web Part author can also set the Display Periodic Data Refresh Prompt property to control the behavior of the message that is displayed when Excel Services performs a periodic data refresh during a session:
    Always      means that the message is displayed with a prompt at each interval.
    Optionally      means that a user can choose to continue periodic refresh without displaying a message.
    Never      means that Excel Web Access performs a periodic refresh without displaying a message or prompt.
    For more information, see
    Excel Web Access Web Part custom properties.
    I have only listed a couple of the ways you can have Excel services update external data, this is not an exhaustive list
    Data Refresh with Excel Services Reference:
    http://office.microsoft.com/en-us/sharepoint-server-help/refresh-external-data-in-excel-services-HA010105474.aspx
    http://office.microsoft.com/en-us/sharepoint-help/work-with-external-data-in-excel-services-sharepoint-server-HA102830785.aspx
    http://technet.microsoft.com/en-us/library/jj879294.aspx
    -Ivan

  • I am using the dynamic signal analyzer.vi but this vi has the output as single precision. How can I change this to DBL precision?

    I am using the dynamic signal analyzer.vi but this vi has the output as single precision. How can I change this to DBL precision? If I change the representation from single to double in the AI buffer read.vi labview returns ilegal operation and crash. I have labview 5.1 on windows 95 and one AT-MIO16XE50 DAQ board.
    Thanks in advance
    Ricardo.

    Probably by changing the data type that lvdaq.dll expects to write to is causing the crash. I can't test this since I have only 6.1 installed now. In any case, since the daq card is only 16 bits, the single precision is probably adequate for AI Buffer Read. If you do need the greater precision later on, you should be able to change representation in any one of the upper level VIs.

  • Start point of signal

    Hi everbody,
    I want to determine the starting point of signal. For this, What can I do?

    You need to provide more information for us to help you. Your question is very vague and you don't provide any screenshots or sample VIs of what you've tried.
    Try to give more information about your problem and maybe we can help.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Dynamic title for Chart created by an xml-file in SAP ChartDesigner

    Hello everybody.
    I created an xml-file with SAP ChartDesigner for using it in my abap program. I import this file as a MIME-Object.
    Everything works fine, i declared my charts and all my values.
    But now I need a dynamic title on the top.
    And know that I can give a title in my xml. But it's not dynamic.
    I looked into the xml file and the path for the title is:
    SAPChartCustomizing
    Elements
    ChartElements
    Title
    and then Caption.
      p_ixml_doc = g_ixml->create_document( ).
      l_encoding = g_ixml->create_encoding( byte_order = if_ixml_encoding=>co_little_endian character_set = 'utf-8' ).
      p_ixml_doc->set_encoding( l_encoding ).
      l_chartdata = p_ixml_doc->create_simple_element( name = 'SAPChartCustomizing' parent = p_ixml_doc ).
      l_elements =   p_ixml_doc->create_simple_element( name = 'Elements' parent = l_chartdata ).
      l_chartelements = p_ixml_doc->create_simple_element( name = 'ChartElements' parent = l_elements ).
      l_title = p_ixml_doc->create_simple_element( name = 'Title' parent = l_chartelements ).
      l_element = p_ixml_doc->create_simple_element( name = 'Caption' parent = l_title ).
      l_element->if_ixml_node~set_value( 'QRK-Mittelwert' ).
    In my opinion, it's the right path :/
    My other values i declare like this.
    l_series = p_ixml_doc->create_simple_element( name = 'Series' parent = l_chartdata ).
      l_series->set_attribute( name = 'label' value = 'TO' ).
      l_series->set_attribute( name = 'customizing' value = 'Series1' ).
      loop at gt_mw into gs_mw.
        lv_tabix = sy-tabix.
        l_point = p_ixml_doc->create_simple_element( name = 'Point' parent = l_series ).
        l_element = p_ixml_doc->create_simple_element( name = 'Value' parent = l_point ).
        l_element->set_attribute( name = 'type' value = 'x' ).
        l_element->if_ixml_node~set_value( lv_tabix ).
        l_element = p_ixml_doc->create_simple_element( name = 'Value' parent = l_point ).
        l_element->set_attribute( name = 'type' value = 'y' ).
        l_element->if_ixml_node~set_value( '35.00' ).
      endloop.
    It works...and i already checked this solution for my title, but it didn't work.
    I call the xml file with the method cl_wb_mime_repository:
    CALL METHOD cl_wb_mime_repository=>load_mime
        EXPORTING
          io              = lv_io
        IMPORTING
          bin_data        = lt_xmlr
        CHANGING
          language        = sy-langu
        EXCEPTIONS
          no_io           = 1
          illegal_io_type = 2
          not_found       = 3
          error_occured   = 4
          OTHERS          = 5.
      CHECK sy-subrc = 0.
    *-- Convert raw to xstring
      CREATE OBJECT lo_conv.
      LOOP AT lt_xmlr INTO ls_xmlr.
        CALL METHOD lo_conv->convert
          EXPORTING
            inbuff    = ls_xmlr
            outbufflg = 25000
          IMPORTING
            outbuff   = lv_xstr.
        CONCATENATE p_xml lv_xstr INTO p_xml IN BYTE MODE.
    Maybe somebody can help me.
    Thanks a lot.

    I got it!
    This thread helped me.
    [http://forums.sdn.sap.com/thread.jspa?threadID=1343796|http://forums.sdn.sap.com/thread.jspa?threadID=1343796]

  • NiDAQmx and 6220 board - Retriggering to start sampling analogue signals

    I have a M series 6220 board with labview 7.
    I want to measure analogue signals using a digital trigger - much like the examples given in the library shipped with ver.7. However I want to "retrigger" periodically so that I can sample the my analogue signal each time my external circuit sends a trigger pulse out. This retriggering facility continuing until I press a stop button.
    At the moment all I can do is get one triggered set of samples and then the VI stops.
    Any code advice or examples would be appreciated.
    rgds
    Charles (labview beginner)

    Ive saved it to LV7.0 and attached a gif image in case you have any problems with the VI.
    Attachments:
    Digital Start and Stop Trigger Folder(7.0).zip ‏71 KB

  • How to programatically (dynamically) change the chart legend ?

    How do I add new labels/symbols to the chart legend dynamically ?
    I'm creating a scatter graph using the query
    select A,B,C from tableX group by A
    B is the y-axis, C is the x-axis. Points plotted for each grouping of A will be a different color. I know I can change the color of the point to be plotted thru the format trigger. The format trigger will change the color of the plotted points when there is a change in the grouping of A. My problem is how can I add a new label/color to the legend for each grouping of A as it is plotted ? The number of groupings of A is variable depending on what's in tableX. I need to programatically create the legend (each grouping of A will have it's own label/color) thru the format trigger as I won't know before hand how many groupings of A there will be.

    Try with Presentation variables.

Maybe you are looking for

  • All Annotation options unavailable in movie created by iPhoto

    I am using QT Pro 7.1.3. I exported an iPhoto slide show to a 640x480 movie. I'd like to set it to play in full screen when opened using the annotation feature in the Movie Properties screen. No matter what I select, none of the annotation options in

  • Downgrade Rights 8.1 Pro to 7

    Hello All, I have been searching for a bit but haven't found exactly what I am after, so I thought I'd ask around and see if anybody can help me out. We recently brought 10 machines  (E550) into our environment (20 more on the way) with 8.1 Pro insta

  • Problems with downloaded TV show.

    OK so yesterday I bought the 1st season of Lost on itunes. However, when I played the 1st episode (I tried it on both itunes itself and the QuickTime player), the audio was about 1 second out of sync from the video. I'm not sure whether this is the c

  • Zero stock query

    hi experts, how can i make a query that will display all items with zero stock? I have tried linking OITM and OITW('manage by warehouse' is selected), and using the 'onhand' attribute, but with no success.  thanks Michael

  • Fontsize varies depending on method used

    Hi, I wonder why the two variants here produce different results: import java.awt.*; import java.awt.Graphics; import java.awt.font.*; import java.awt.geom.*; import java.awt.print.*; import java.awt.JobAttributes; import javax.swing.*; import javax.