How to use cursors on Smith Chart?

Hi everybody,
    Last 7 days , i was trying to point some markers on Smith chart.
Please suggest any method to implement this. i want to mark some points on smith chart and get data.
thank you,
dg7318
Solved!
Go to Solution.

thankyou nyc,
I am seeing the demos.llb but nothing is mentioned about using cursors or markers. 
I am plotiing impedance on smith chart. I want to put some markers on the chart. I also want to control the placement of those markers. I wish to get data (impedance and frequency) wherever the marker is positioned. 
Again thanks for ur help.
dg,
the things that seems to be impossible first, after completion gives u real happiness..

Similar Messages

  • How to use cursors in abap

    Hi,
        How to use cursor(sql Cursor) in abap program  could any one help me..
    Advance Thanks
    Regards
    Guhapriyan

    Hi Guhapriyan,
    Have a look at demo programs DEMO_SELECT_CURSOR_1, DEMO_SELECT_CURSOR_2 and DEMO_SELECT_CURSOR_3.
    Thanks
    Lakshman

  • How to use cursor function for nested xml

    Hi,
    i have a query for XMLQuery like
    select * from bills where bill_id=????
    it results in something like
    <bills>
    <bill>
    <city>london</city>
    <amount>44</amount>
    </bill>
    <bill>
    <city>london</city>
    <amount>988</amount>
    </bill>
    <bill>
    <city>new york</city> <amount>59</amount> </bill>
    </bills>
    but i want xml output to be sorted for city names adding one more level location like
    <bills>
    <location city="london">
    <bill>
    <amount>44</amount>
    </bill>
    <bill>
    <amount>988</amount> </bill>
    </location>
    <location city="new york">
    <bill>
    <amount>59</amount> </bill>
    </location>
    </bills>
    it should be possible to iterate through the same table to gather informaton with the help of cursor function, but never used CURSOR before.
    any idea?

    sreese wrote:
    p_desig works as a comma delimited string without the NVL function, that's not the issue.
    It IS the issue .. you need to provide  a SAMPLE so we can see what you're doing ..
    How are you "passing it in" ?
    option A:
    procedure ( in_var  in  VARCHAR2 )
    AS
    and nvl(sn.c_attribute1,'x@#$%') in nvl(in_var,'x@#$%')
    option B:
    and nvl(sn.c_attribute1,'x@#$%') in nvl(&1,'x@#$%')
    .. or some other method?

  • How to use cursor in php?

    for example:
    CURSOR CUR_ORDER IS
    select distinct a.sales_branch segment2,a.order_number,
    a.delivery_id,
    a.sold_to_customer_id customer_id,
    a.bill_to_customer_id,
    a.ship_to_customer_id,
    a.purchase_order,to_char(a.ordered_date,'yyyy-mm-dd') order_date
    from vv_ar_temp_tl a;
    how to use it in php program?

    Hi,
    I do not know what exactly is Your question about. I'll try to give an overview:
    1. "CURSOR CUR_ORDER IS" is PL/SQL syntax, not PHP
    2. result of oci_parse call is in fact a CURSOR, so I think You already know how to use it.
    3. if Your question is on how to pass cursor between PL/SQL and PHP, I use:
    a) PL/SQL procedure:
    CREATE OR REPLACE
    PROCEDURE TEST_P (PO_REF_CURSOR OUT SYS_REFCURSOR) AS
    BEGIN
    OPEN PO_REF_CURSOR FOR -- Opens ref cursor for query
    SELECT OBJECT_NAME, OBJECT_TYPE FROM USER_OBJECTS WHERE ROWNUM <= 5;
    END;
    b) in PHP:
    $conn = ocinlogon($database_user, $database_passwd, $database); // connect database
    $outrefc = ocinewcursor($conn); //Declare cursor variable
    $mycursor = ociparse ($conn, 'begin test_p(:curs); end;'); // prepare procedure call
    ocibindbyname($mycursor, ':curs', $outrefc, -1, OCI_B_CURSOR); // bind procedure parameters
    $ret = ociexecute($mycursor); // Execute function
    $ret = ociexecute($outrefc); // Execute cursor
    $nrows = ocifetchstatement($outrefc, $data); // fetch data from cursor
    ocifreestatement($mycursor); // close procedure call
    ocifreestatement($outrefc); // close cursor
    ocilogoff($conn); // close database connection
    var_dump($data); // show content fo $data variable
    Now $data contains arrays of columns with arrays of rows from query.
    Hope it helps You,
    Regards,
    Pawel

  • How to use Cursor Paramter

    Hi all,
    My query will written values by passing 5 parameter values.
    Now i want to use this query in plsql cursor, For that i need to use cursor parameter concepts and its very new to me. so pls any one help me how to use this cursor parameter to pass the values when i run my procedure.
    Regards
    Ajantha

    If you mean writing cursor with parameters you could try this way.
    CURSOR c1 (name VARCHAR2, salary NUMBER) IS SELECT ...
    --- open the cursor:
    OPEN c1(emp_name, 3000);
    Link for more info
    http://download-uk.oracle.com/docs/cd/B10501_01/appdev.920/a96624/06_ora.htm#36656
    Thanks

  • How to use Item value in chart query

    Hi Folks,
    I am looking to use calander item value in sql query used to populate flash chart. I tried with following query where P2_DATE1 is the calander item name. This says no data found. I am not sure if I am missing some thing with BUTTON settings which I am using to put data into chart.
    Select null "link",to_date(entry_date,'dd-mon-yy hh:mi:ss') "Time in GMT", to_number(load_avg_5,'99.99') "Load Avg 5 Min" from oracle_ocm.top_load_avg --where trunc(entry_date)=:P2_DATE1
    I am new to APEX
    Please help

    Here are few things for you to try:
    Hardcode the value and see if it works. "where trunc(entry_date) = to_date('01-May-2010', 'dd-Mon-yyyy')". If it works, then click Session link at the bottom of the page, and check the value of the item P2_DATE1. If null, then you have a problem. If not null, please ensure that you use TO_DATE function as shown above with proper format mask.
    Good luck.
    Ravi A

  • How can I flip a smith chart picture to plot admittance?

    I need to rotate the smith chart 180 degrees in order to plot admittance rather than impedance.

    I do not think there is going to be an easy fix. You are going to have to dig into the control to make the changes.

  • How to implement cursor in waveform chart?

    Hi,
    i have used visa tools for making .dat file of data values...i used waveform chart to graphically represent data of that file.i want to implement cursor in that can you help me out how to do it.
    Regards,
    vijtin
    Solved!
    Go to Solution.

    Hi vijtin,
    replace your chart with a graph to enable a cursor legend...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to use cursor data in more than one location in form?

    hi all.
    is it possible to make cursor as global or public in the form so i can use its data in more than location for testing like in buttons triggers.
    for example:
    if i declare the following cursor in "WHEN-NEW-FORM-INSTANCE" trigger
    CURSOR cur
    IS
    SELECT ID, NAME
    FROM PERSON;how can i use this cursor in other triggers in other buttons in the form?
    thanks

    kareem wrote:
    now i have the old data- from cursor and the new- from tableNo, you have not. When you open the cursor you get the state of the database at the current SCN.
    If you
    - open your cursor, fetch the data and close the cursor
    - update some data
    - open your cursor, fetch the data and close the cursor
    you will get the updated data from your cursor the second time (unless your update isn't a uncommited autonomous transaction but I wouldn't go down that route).
    You will have to save your data somewhere or you might take a look at flashback: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i20759
    cheers

  • How to use cursor data in more than one location in the form?

    hi all.
    is it possible to make cursor as global or public in the form so i can use its data in more than location for testing like in buttons triggers.
    for example:
    if i declare the following cursor in "WHEN-NEW-FORM-INSTANCE" trigger
    CURSOR cur
    IS
    SELECT ID, NAME
    FROM PERSON;how can i use this cursor in other triggers in other buttons in the form?
    thanks

    kareem wrote:
    now i have the old data- from cursor and the new- from tableNo, you have not. When you open the cursor you get the state of the database at the current SCN.
    If you
    - open your cursor, fetch the data and close the cursor
    - update some data
    - open your cursor, fetch the data and close the cursor
    you will get the updated data from your cursor the second time (unless your update isn't a uncommited autonomous transaction but I wouldn't go down that route).
    You will have to save your data somewhere or you might take a look at flashback: http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i20759
    cheers

  • How to use Cursor's Fetch to return multiple column Data

    Hi ,
    This is my Table :
    SQL> select * from Login;
    USERNAME PASSWORD CONFIRMPASSWORD
    RAvi SAI SAI
    Kiran Keyboard Keyboard
    VARNU JAINA JAINA
    This is my stored Procedure , for that Table , this is working fine , where he Cursor's Fetch is returning only a Single column of Data .
    CREATE OR REPLACE PROCEDURE getEmpName(EMP_ID IN VARCHAR2)
    IS
    EMPNAME VARCHAR2(50);
    CURSOR MYCUR
    IS
    SELECT USERNAME from login where USERNAME=EMP_ID;
    BEGIN
    OPEN MYCUR ;
    LOOP
    FETCH MYCUR  INTO EMPNAME;
    DBMS_OUTPUT.PUT_LINE(EMPNAME);
    EXIT WHEN MYCUR%NOTFOUND;
    END LOOP;
    close MYCUR ;
    END;
    Now , I have a requirement as , i need to get the Password also along with Username ,
    Please tell me how can i use FETCH of Cursor to populate Details into the Declared Variables
    FETCH MYCUR  INTO EMPNAME;
    CREATE OR REPLACE PROCEDURE getEmpName(EMP_ID IN VARCHAR2)
    IS
    EMPNAME VARCHAR2(50);
    PASSWORD VARCHAR2(50);
    CURSOR MYCUR
    IS
    SELECT USERNAME , PASSWORD from login where USERNAME=EMP_ID;
    BEGIN
    OPEN MYCUR ;
    LOOP
    FETCH MYCUR  INTO EMPNAME; // Help needed here**
    DBMS_OUTPUT.PUT_LINE(EMPNAME);
    EXIT WHEN MYCUR%NOTFOUND;
    END LOOP;
    close MYCUR ;
    END;
    Edited by: user10503747 on Oct 14, 2010 11:51 AM
    Edited by: user10503747 on Oct 14, 2010 11:52 AM

    1) I'm hoping that this is a homework assignment. You would never, in the real world, store a password in clear text. And you would never, from a database design, have separate Password and ConfirmPassword columns.
    2) The INTO clause can accept a list of variables. So
    FETCH your_cursor_name INTO local_variable1, local_variable2;would be valid.
    3) You would generally want to avoid having local variables that share the name of a column-- that leads to some pretty serious confusion related to scoping. One common convention is to prefix local variables with a "l_".
    4) You would generally want local variables to inherit the type of the column rather than explicitly declaring the length of a string in your procedure. That way, if you change the table in the future, your code will continue to work.
    5) And finally, a procedure that just calls DBMS_OUTPUT would cause all sorts of red flags in reality. It would make far more sense for this to be a function that returns a value than a procedure that tries to write to a buffer that the client application may or may not have created.
    Justin

  • How to use the "Clear PDA Chart .vi" in LabVIEW 7.1 PDA module?

    In my iPAQ application, I try to use the LabVIEW 7.1 PDA module's "Clear PDA Chart .vi" to clear the graph. But I do not know how to do it. I always get error when I call it.
    My code is attached. The code is to draw a sin wave and then clear it.
    Attachments:
    sin.vi ‏69 KB

    Hi,
    I verified the behavior that you reported. I got error code 260055065 on running the VI. It does not matter if you wire a control ref or tabbing order number to the Clear PDA Chart.vi.
    This is a known bug and LabVIEW PDA developers are already working on it. Hopefully it will be fixed in the next release of the PDA module. Thanks for bringing this to our attention.
    Regards,
    Ankita A.
    National Instruments

  • Using Cursor in Select statements? How to do this?

    I am getting an error whilt passing a cursor to a select clause:
    SELECT dbms_xmlquery.getXML('select deptno, dname, '||
    'cursor(select empno, ename, sal from emp e where e.deptno = d.deptno) employees '||
    'from dept d where d.deptno in (10, 20)')
    FROM dual;
    DBMS_XMLQUERY.GETXML('SELECTDEPTNO'||'CURSORIS(SELECTEMPNOFROMEMPEWHEREE.DEPT=D.
    <?xml version = '1.0'?>
    <ERROR>oracle.xml.sql.OracleXMLSQLException: ORA-00923
    : FROM keyword not found where expected
    </ERROR
    THIS IS DUE TO THE CURSOR AND ITS FROM STATEMENT?
    CAN ANY ONE PLEASE GUIDE AS TO HOW TO USE CURSORS IN A SELECT STATEMENT PLEASE?

    Another duplicate thread. See my response Select CLAUSE error using CURSORS & XSU.Please SEE..
    Cheers, APC

  • How to create store procedure using cursor, and looping condition with exce

    Hi,
    I am new in pl/sql development , please help me for follwoing
    1. I have select query by joining few tables which returns lets say 100 records.
    2. I want to insert records into another table(lets say table name is tbl_sale).
    3. If first record is inserted into tbl_sale,and for next record if value is same as first then update into tbl_sale else
    insert new row
    4. I want to achieve this using store procedure.
    Please help me how to do looping,how to use cursor and all other necessary thing to achieve this.

    DECLARE
       b   NUMBER;
    BEGIN
       UPDATE tbl_sale
          SET a = b
        WHERE a = 1;
       IF SQL%ROWCOUNT = 0
       THEN
          INSERT INTO tbl_sale
                      (a
               VALUES (b
       END IF;
    END;note : handle exceptions where ever needed
    Regards,
    friend
    Edited by: most wanted!!!! on Mar 18, 2013 12:06 AM

  • How to use the chart option in bex analyzer

    Hi Expert
    i want to know how to use the Chart in Bex Analyzer.
    Next week i hve End user Training. my user wanthow to use the chart option in Analyzer.
    plz let me know how to use chart & any Document on that plz reply me.
    Reagards
    siva
    Edited by: patel siva on Sep 16, 2008 4:34 PM

    Check here:
    https://reporting.uky.edu/BWBExContextMenu.pdf
    http://help.sap.com/saphelp_nw70/helpdata/EN/8b/4ffd9b07474279b3bbee75a60db41f/content.htm
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/5b/30d43b0527a17be10000000a114084/frameset.htm
    Thanks..
    Shambhu

Maybe you are looking for