Stripchart trace name

Hello,
Is it possible to change the legend trace name in a strip chart?
If yes, how?
Exemple : change "Trace 1" name to "Humidity Sensor"
Thanks
Solved!
Go to Solution.

Hi Goncalo,
Yes you can with the SetTraceAttribute function:
SetTraceAttribute (panelHandle, PANEL_STRIPCHART, 1, ATTR_TRACE_LG_TEXT, "Humidity Sensor");
National Instruments
Product Support Engineer

Similar Messages

  • How to scan 'immediate trace name SYSTEMSTATE level 10' trace files?

    Hi ,my 20 TB of database is hanging and my manager told me to run the following system state dump and anaylse the trace file to see which processes etc are hanging the database.
    SQL>alter session set events 'immediate trace name SYSTEMSTATE level 10';
    I got 2 trace files which are quite large....not sure what to look into.....can anybody plz suggest what to see if in them if database is not responsing
    Thanks
    gagan

    If you dump a couple of hanganalyze every 60 seconds or so. You will be able to see wait chains and identify sessions that are progressing(slow) and those that aren't(hung). Then you can reference this information with the process information in the system state dump. A level 3 or 4 is ok for what you want. Still, if you are not sure where to look in the first place, best to log a SR with Oracle.

  • Alter system set events '1460 trace name errorstack off';

    Hi,
    if I issue :
    alter system set events '1460 trace name errorstack off';
    Is there any query that can make me sur and help me to see the value of events '1460' ?
    Thank you.

    Is there any query that can make me sur and help me to see the value of events '1460' ?No one, because you turned off the trace level.
    Nicolas.

  • Alter system set events '1460 trace name errorstack level 10';

    Hi,
    If I issue :
    alter system set events '1460 trace name errorstack level 10';
    How can I come back after operation ?
    Thank you.

    SQL> alter system set events '1460 trace name errorstack level 10';
    System altered.
    SQL> alter system set events '1460 trace name off';
    alter system set events '1460 trace name off'
    ERROR at line 1:
    ORA-02194: event specification syntax error 230 (minor error 213) near 'OFF'
    SQL> alter system set events '1460 trace name errorstack off';
    System altered.

  • Enabling alter system set events '1422 trace name errorstack level 1'

    Hello, please i need some help:
    I need to set events '1422 trace name errorstack level 1',
    where does this sentence generate the trace logs?.
    Once collected the information how do i disable it?
    Thanks in advance.

    Normally user dumps are written to the udump database parameter destination. See v$spparameter or v$parameter.
    You can set the level to "0" (zero) to set tracing off.
    HTH -- Mark D Powell --

  • Help with "alter system set events = '1000 trace name ERRORSTACK level 3'"

    Hello.
    I am trying to find out wich sql code is creating the error ORA-01000 in my application (database release is 9.2.0.7). I have read this http://www.orafaq.com/node/758 and there they suggest doing this:
    Sometimes you will need to get a full stack trace of the problem by setting a trace for ORA-1000 as in:
    alter system set events = '1000 trace name ERRORSTACK level 3'
    or...
    alter session set events = '1000 trace name ERRORSTACK level 3'
    Then set open_cursors to a low enough number to catch the open cursor voilator in your net.I have no idea about this traces, so these are my questions:
    1. Do those commands force a trace every time the ORA-01000 errors rises in every session? (I have forced the ORA-01000 error in one sqplusl session after I wrote "alter session set events = '1000 trace name ERRORSTACK level 3'" in another sqlplus session)
    2. What does level 3 mean?
    3. I see that in the dump/user directory I have several trace files, how can I know which error traces are enabled in my db?
    4. How do I disable the traces once I find out to solve the problem?
    5. How do I identify in the traces the ORA-1000 error?
    Thanks in advance.

    Thanks for all the answers.
    What am I doing bad? I have tried ti find out what traces are enabled, and there seems to be none.
    SQL> r
      1  DECLARE
      2     OUT   BINARY_INTEGER;
      3  BEGIN
      4     DBMS_OUTPUT.put_line ('Init');
      5
      6     FOR i IN 1 .. 20000
      7     LOOP
      8        SYS.DBMS_SYSTEM.read_ev (i, OUT);
      9
    10        IF (OUT <> 0)
    11        THEN
    12           DBMS_OUTPUT.put_line ('i: ' || i || '; ' || OUT);
    13        END IF;
    14     END LOOP;
    15
    16     DBMS_OUTPUT.put_line ('End');
    17* END;
    Init
    EndBut, otherwise, there are trc files which have been modfiied recently? I seems as if this procedure can't detect all the tracles enabled:
    (oracle)mano1re(principal)$ ls -lt *.trc | more
    -rw-r-----   1 oracle   dba       348294 jul 14 18:35 reflex_ora_11706.trc
    -rw-r-----   1 oracle   dba       997820 jul  9 16:32 reflex_ora_15766.trc
    -rw-r-----   1 oracle   dba       399571 jul  3 15:23 reflex_ora_25955.trc
    -rw-r-----   1 oracle   dba      1637069 jun  9 15:34 reflex_ora_19742.trc
    PL/SQL procedure successfully completed.

  • Trace name graph xy

    Hi,
    How can i set the name of a trace (as an input control) in the Graph XY display ?
    i looked in the property nodes but i didn't find the solution.
    Would you help me please ?
    Samer,

    Thanks, i have another problem.
    In the VI enclosed i have a listbox of URLs. My goal is that each time i press on an element on the listbox i get a new plot in the graph XY(corresponding to theURL); but i want that the properties of a plot (color, style) remain for the same plot but each time i choose an element i see the properties of a plot transfered to the new plot.
    Could u tell me where is the problem in my VI ?
    Samer,
    Attachments:
    test_plot.vi ‏21 KB

  • Not able to get the actual plan from trace file

    Hi all
    I have a Db package and want to get actual execution plan of all the statements in that pakcage it does provides the plan for System's statements but does not displays the plan for Sql statements
    DB version 9.2.0 using the following sequence of insructions
    set timing on
    set serveroutput on
    alter session set events '10046 trace name context forever ,level 12';
    begin
    run_service.collect_data(sysdate);
    end;
    alter session set sql_trace=false;
    exit; ---exit from Sql
    now look at the output
    select distinct obj#,containerobj#,pflags,xpflags,mflags
    from
    sum$, suminline$ where sumobj#=obj# and inline#=:1
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.00 1 1 0 0
    total 3 0.00 0.00 1 1 0 0
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: SYS (recursive depth: 2)
    Rows Row Source Operation
    0 SORT UNIQUE
    0 NESTED LOOPS
    0 TABLE ACCESS BY INDEX ROWID SUMINLINE$
    0 INDEX RANGE SCAN I_SUMINLINE$_2 (object id 1614116)
    0 TABLE ACCESS BY INDEX ROWID SUM$
    0 INDEX UNIQUE SCAN I_SUM$_1 (object id 319)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 1 0.00 0.00
    SELECT SEQ_NUM, S_DATE, S_TIME, CSTATUS, G_SERVICE,
    B_REFERENCE, V_REFERENCE, M_PRIORITY
    FROM GL_HIST
    ORDER BY S_DATE DESC, S_TIME DESC
    call count cpu elapsed disk query current rows
    Parse 1 0.01 0.01 0 0 0 0
    Execute 2819 0.37 0.32 0 0 0 0
    Fetch 2819 2.50 20.47 2786 20164 0 2819
    total 5639 2.88 20.81 2786 20164 0 2819
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 15550 (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 2786 0.05 18.19
    latch free 4 0.04 0.06
    UPDATE G_ORIG SET G_SERVICE = :B1
    WHERE
    SEQ_NUM = :B5 AND S_DATE = :B4 AND S_TIME = :B3 AND
    C_STATUS = :B2 AND NVL(G_SERVICE, '+') <> NVL(:B1, '+')
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.03 0 0 0 0
    Execute 3731 0.74 0.99 261 18712 119 54
    Fetch 0 0.00 0.00 0 0 0 0
    total 3732 0.74 1.02 261 18712 119 54
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 15550 (recursive depth: 1)
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    db file sequential read 261 0.01 0.19
    latch free 9 0.01 0.04
    COMMIT

    Remove the line alter session set sql_trace=false and just exit/disconnect. The explain plain is contained in the STAT lines in the trace file and are only written when the cursor closes. If you turn off tracing before the cursor closes the STAT lines will not get written.

  • How to trace an application in Oracle 10g

    Hi,
    I want to trace a complete application in Oracle 10g end-to-end.
    Here is the scenario,
    The are two systems:
    System A: Oracle 10g server
    System B: Windows server
    The application runs on system B.
    How do I trace the complete application in oracle 10g?
    I read about the trcsess tool but will like to know if there is a way to collate all *.trc produced by the application.
    Thanks in advance!
    -Thanks
    Karthik

    Tracing the Oracle transactions is easy, but you need to decide what level of trace you want and identify the database sessions to trace.
    Tracing can generate huge amounts of logs, so think carefully if you really need to do this.
    The tracing will only capture the database transactions. It won't track what happens in the application (e.g mouse clicks etc)
    Options to enable tracing :-
    -- ALTER SESSION
    alter session set tracefile_identifier = 'robert_trace'; # so that the trace files from this session are easily identified
    alter session set events '10046 trace name context forever, level 8';
    -- ALTER SYSTEM
    alter system set sql_trace=true;
    -- DBMS_SESSION
    exec dbms_session.set_sql_trace(sql_trace => TRUE);
    -- DBMS_SUPPORT
    exec dbms_support.start_trace(waits=>TRUE, binds=>FALSE);
    -- DBMS_SYSTEM
    exec sys.dbms_system.set_ev(72,21237,10046,12,'');
    -- ORADEBUG
    select username, spid from v$process;
    ORADEBUG SETOSPID 21237
    ORADEBUG EVENT 10046 TRACE NAME CONTEXT FOREVER, LEVEL 12
    -- DBMS_MONITOR
    exec dbms_monitor.session_trace_enable(session_id=>75, serial_num=>21237);

  • How to trace an error

    Dear all,
    How to trace a purticular error ?
    from metalink
    Diagnose the issue by running the following trace
    alter system set events '1775 trace name ERRORSTACK level 3';
    Redo the import and reproduce the error. The trace file should be in the
    USER_DUMP_DEST directory.
    alter system set events '1775 trace name errorstack off';
    Trace file will show something like the following:
    ksedmp: internal or fatal error
    ORA-01775: looping chain of synonyms
    Current SQL statement for this session:
    SELECT COUNT(*) FROM SYS_IMPORT_TABLE_01
    I am getting the same ora 01775 error. But when I am tracing, I am not getting any result in my udump. Is there any other setting do I have to make to get the trace file?
    Thanks

    Your question can not be answered.
    Not only you don't include a version (this seems to be too difficult for most posters here), but you also include ambiguous sentences like 'When I am tracing'.
    This results in the question 'did you issue the alter system command and was it successful?'
    As far as I am aware the syntax is
    alter system set events='<errornum> trace name errorstack level 3';
    There are no other 'settings'
    The only other solution is to set up an afterserver error trigger.
    Works like a charm, 8i onwards.
    You uncover way too many things you don't even want to know!
    Sybrand Bakker
    Senior Oracle DBA

  • How to trace a USER in oracle?

    Hi Sir,
    I have a rquirement that I need to Trace a session created through the Application. The only data I have is that I know the application will connect to a Database schema and nothing else. How is it possilbe that I can create a trace file for it.
    Also is it possilble, that i can trace complete user. how to find all the trace as it create number of process inturn number of trace, how do I find it and combine. I read the documentation but can't understand it clearly?
    Any help will be great.

    sanora600 wrote:
    Aman, thanks for replying. This is the problem, they have not implemented dbms_application_info.
    That is the reason I want to know how to trace user(all session of a schema) and combine all the session generated trace(something like trcsess) and then generate tkprof. I am on Oracle 10g.Well, first off, users connect to databases, they don't connect to schemas. And as a follow on, users have sessions, schemas don't.
    That said, you might investigate a logon trigger that initiates a 1046 trace. Something like this:
    -- create a logon trigger for capturing extended trace data
    -- NOTE: must be run as SYS
    -- NOTE: Be sure to change both occurances of the target username
    -- ('user = xxx' and 'TRACEFILE_IDENTIFIER=') to the
    -- correct value for the session you want to trace.
    create or replace trigger logon_trigger
    after logon on database
    begin
    if (user = 'SCOTT' ) then
    execute immediate 'ALTER SESSION SET TRACEFILE_IDENTIFIER=''SCOTT_APP''';
    execute immediate 'alter session set timed_statistics=true';
    execute immediate 'ALTER SESSION SET EVENTS ''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12''';
    end if;
    exception
    when others then
    null;
    end;
    end;
    Of course, you can play around with the 'if' condition, and delete or disable the trigger when it is no longer needed. The resulting trace file can be run through tkprof.
    Edited by: EdStevens on Dec 19, 2008 9:03 AM

  • Reading trace file on the fly.

    I came across one cool trick mentioned by Tanel Poder, but it doesn't seem to work for me. Could anyone please help in reading trace file on the fly.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL> !uname -a
    Linux abc 2.6.16.60-0.34-smp #1 SMP Fri Jan 16 14:59:01 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
    SQL> select value ||'/'||(select instance_name from v$instance) ||'_ora_'||
      2             (select spid||case when traceid is not null then '_'||traceid else null end
                     from v$process where addr = (select paddr from v$session
      3    4                                               where sid = (select sid from v$mystat
      5                                                          where rownum = 1
      6                                                     )
      7                                          )
      8             ) || '.trc' tracefile
      9      from v$parameter where name = 'user_dump_dest'
    10     /
    TRACEFILE
    /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc
    SQL> host mknod /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc p
    SQL> set define off
    SQL> host grep "WAIT" /n01/oraadmin1/diag/rdbms/abc/inst1/trace/inst11_ora_28754.trc &
    SQL> set define on
    SQL> alter session set events '10046 trace name context forever, level 8';
    Session altered.
    SQL> select * from dual;
    D
    X
    SQL>
    SQL> select * from dual;
    D
    X
    {code}
    I dont get any WAIT printed into the pipe file created before tracing.
    Am i doing something wrong here ?
    Edited by: Yasu on Nov 12, 2012 10:14 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I tried manual method and yes i am able to find WAIT lines in trace file.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    SQL> select value ||'/'||(select instance_name from v$instance) ||'_ora_'||
               (select spid||case when traceid is not null then '_'||traceid else null end
      2    3                   from v$process where addr = (select paddr from v$session
      4                                               where sid = (select sid from v$mystat
      5                                                          where rownum = 1
      6                                                     )
      7                                          )
      8             ) || '.trc' tracefile
      9      from v$parameter where name = 'user_dump_dest'
    10     /
    TRACEFILE
    /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    SQL> alter session set events '10046 trace name context forever, level 8';
    Session altered.
    SQL> select * from dual;
    D
    X
    SQL> alter session set events '10046 trace name context off';
    Session altered.
    SQL> !ls -lrt /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    -rw-r----- 1 oracle oinstall 2738 2012-11-12 01:13 /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    SQL> !grep "WAIT" /n01/oraadmin1/diag/rdbms/proddba/proddba1/trace/proddba1_ora_23021.trc
    WAIT #1: nam='SQL*Net message to client' ela= 6 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704368368424
    WAIT #1: nam='SQL*Net message from client' ela= 4057810 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428142
    WAIT #1: nam='SQL*Net message to client' ela= 6 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428492
    WAIT #1: nam='SQL*Net message from client' ela= 195 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428892
    WAIT #1: nam='SQL*Net message to client' ela= 3 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704372428939
    WAIT #1: nam='SQL*Net message from client' ela= 46319788 driver id=1650815232 #bytes=1 p3=0 obj#=-1 tim=1352704418748740Not sure why using mknod fails in my case.
    Edited by: Yasu on Nov 12, 2012 12:48 PM

  • Add (name of bill-to-party )column in f-58 (form: F110_IN_AVIS)

    Hi, I'd like to ask ..how to show the name of Bill-to-party (add column) in the form F110_IN_AVIS in f-58
    I'm confuse about it.
    i just know REGUP-XBLNR is the invoice no...that i can trace the bill-to-party no and trace name.
    but should I need to write a program to get this form. (don't use its build-in program).
    do i have any other ways ..that just need to modify the form only?
    hope and Thx for your help

    Hi Soobhany Parvez,
    Please let me know if the update will be carry out successfully as currently I'm not very sure on steps involved on your side:
    1. VA02 & goto the Partners tab at the header level.
    2. Select the ship-to party by highlighting the row & click on the 'Business Partner Master Data' button (next to determination log button) which is located at the bottom of the screen.
    3. System should display 'General Data' of the Customer Master screen. Click on the 'Display->Change' button & proceed with updating the changes then follow by clicking the Save button.
    4. Changes is updated if you recheck from sales transaction.
    If the above is not the same you have experience, do not hesitate to let me know & I'm interested to find out the steps you have taken to check further.
    Hope this help. Thanks.
    Best regards,
    HC.

  • How does I read a HWS file that contains 2 traces, in labview? (error -21508)

    Dear experts,
    I have been using a PXI-5105 acquisition card to save data from 2 channels at the same time (coming from different sensors).
    Up to now I have been reading the files in Matlab, taking into consideration the group name, the trace name and the coefficients of each channel. I was able to do the post-processing of the data in Matlab. I attach an example of the kind of files I'm handling if it helps, inside a zip.
    Now I would like to implement this post-processing (FFT, etc.) in Labview. I have tried to use a couple of examples such as "hws_low_level_read.vi" or even the HI-HWS Express load utility to check the file, but it seems difficult to read it because of the 2 channels saved inside the same file.
    The error -21508 appears at the "niHWS Get Wfm reference.vi". That refers to:
    Error -21508 occurred at niHWS Get Wfm Reference.vi
    Possible reason(s): NIHWS:  There is no group in the file that matches the provided group name
    And it seems odd to me, as I'm using the same name for group (wfm_group0) and trace(vector0) than I was using in Matlab.
    Anything I'm missing? Any hint on how to read it in any way?
    Thanks you very much in advance for your help
    Best regards
    IñigoA
    Solved!
    Go to Solution.
    Attachments:
    EjempleHWS2channels.zip ‏44 KB

    Dear all,
    I have been struggling with that problem today and I just wanted to post here how I have finally found a way to read the data.
    It is so easy that I'm a bit ashamed, but I think it is worthy to answer in case anyone would need it.
    The "niHWS Get wfm Reference" is asking for a Group Name and for a waveform name. I have used the "niHWS Get Group Name" and the "niHWS Get wfm Name". Both have direct outputs (strings) with the information that "niHWS Get wfm Reference" understands. You can directly link them.
    But actually, in the reading of the data I found that the group name doesn't need to be fulfilled and the waveform name is "0" or "1" in cae you have 2 channels.
    So, you see, it was very easy for my HWS file: put a control and select "0" or "1" for waveform name. The simpler the better, jejeje.
    I hope it helps. And sorry for opening the question I'm now answering myself. I was completely lost yesterday.
    Best regards
    IñigoA

  • Traces are not being generated

    hi,
    I have 9.1.0.8 database on windows 2003 (32 bit). I am suing following statement to start system wide tracing but i don't see any tarces being generated at user_dump_dest location. any idea what is going wrong and what thing i am missing?
    ALTER SYSTEM SET EVENTS '10046 trace name context forever, level 8';
    Timed_statistics is set to true
    Salman

    Strange - what you have done should work, it works on my 10G database OK.
    Sorry but dont have much else to add ...
    I presume that if you just do it at session level it works ok?
    ALTER SESSION SET EVENTS '10046 trace name context forever, level 8';

Maybe you are looking for

  • Mini DVI to HDMI help please

    ok so I bought the two cables to connect my macbook to my HD TV but I have a few problems. First when I switch the TV over to HDMI it shows my computer screen but I have to drag whatever I want all the way to the right of my screen, off my computer a

  • How to call a Forms6i file from Forms10g

    Dear all, Can any one help me on how to call a x.fmb in FORMS6i version from a y.fmb in FORMS10G version.I used CLIENT_HOST( ) buitin for calling a 6i version x.fmb from 10G version y.fmb,but its not working.I gave this CLIENT_HOST( ) built in in whe

  • Agent Versions Incorrect?

    Good Afternoon, I have recently been given control of our SCOM infrastructure as the person before me has left and I've been given the reigns. We are currently running SCOM 2012 Service Pack 1 and have Cumulative Update 8 installed which is the lates

  • Quicktime 7.1.1 to 7.0.1 (Tiger Woods 2005 problem)

    Hi, I need to revert from QT 7.1.1 to QT 7.0.1 to run Tiger Woods 2005. Anyone know how to do this? I tried using the download for 7.0.4 to 7.0.1 but that's saying that my drive does not have a version of quicktime that can be rolled back by it. Than

  • Data Level security for specific Users

    Hi, Can you please suggest some ideas on by-passing the Data Level security for specific users or specific group? Currently, we have data level security defined on a group permissions for one group and for people belonging to another group, the secur