Cursor values

hi all
         i am doing one application in that i am using intensity graph . y axis
401 frequency channel values varies from 25 -75 MHz .so using y axis
offset and multiplier i plotted the graph.and i added one cursor to
that plot , when user moves the cursor over the plot i need the channel
number which varies from 1-401 not the scalled values which varies from
25- 75 MHz. give some ideas.
Indrajit
| [email protected] | [email protected] .

hi
 here with i attached the vi.
1) where y axis is having 401 channels of frequencies...varies from 25-75 MHz so i added one more y axis ...
2) when i am plotting 802 channels instead of 401 channel automatically the another side of y axis want to change the axis values .. because i used the y axis offset is 25 and y axis multipllier is .125. ok but it was not changing ...i used active scale.....property to change the values this was not changing....any one plz help me.......
Indrajit
| [email protected] | [email protected] .
Attachments:
intensity plot_test_dis.vi ‏32 KB

Similar Messages

  • Problem while trying to load or access OracleTypes.CURSOR value

    Hi all,
    I configured my datasource as follow
    URL:  jdbc:oracle:thin:@192.10.1.230:1521:interp
    Driver Class Name: oracle.jdbc.xa.client.OracleXADataSource
    an my namedquery is
    +@NamedNativeQuery(name = "generaFoliosRenCot",+
    *+               query = "{ ? = call pkg_renovaciones.fn_rencot_auto(:ageid) }",+*
    *+               resultClass = FoliosGenerados.class,+*
    *+               hints = { @javax.persistence.QueryHint(name = "org.hibernate.callable", value = "true") })+*
    I'm using
    <org.springframework.version>3.0.5.RELEASE</org.springframework.version>
    <org.hibernate.version>3.5.4-Final</org.hibernate.version>
    <com.oracle.jdbc.version>10.2.0.4.0</com.oracle.jdbc.version>
    Weblogic 10.3.4
    when i run my app on junit its run fine
    but when i run my app on weblogic server the problem is when i call a function on oracle 9i the error is:
    +*[02/08/2011 10:00:00 ERROR ServiceThrowsAdvice:doRecoveryActionDataAccess:26] - :::: ** ::::Problem while trying to load or access OracleTypes.CURSOR value; nested exception is org.hibernate.HibernateException: Problem while trying to load or access OracleTypes.CURSOR value*+
    +*org.springframework.orm.hibernate3.HibernateSystemException: Problem while trying to load or access OracleTypes.CURSOR value; nested exception is org.hibernate.HibernateException: Problem while trying to load or access OracleTypes.CURSOR value*+
         at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:679)
         at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
         at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
         at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
         at mx.grupocp.inter.model.dao.impl.FoliosGeneradosDaoImpl.generaFoliosRenCot(FoliosGeneradosDaoImpl.java:28)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
         at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
         at $Proxy206.generaFoliosRenCot(Unknown Source)
         at mx.grupocp.inter.controller.scheduler.jobs.impl.ExecuteShellsImpl.generaFoliosRenovCot(ExecuteShellsImpl.java:86)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
         at org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:80)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.lang.Thread.run(Thread.java:619)
    *+Caused by: org.hibernate.HibernateException: Problem while trying to load or access OracleTypes.CURSOR value+*
         at org.hibernate.dialect.Oracle9Dialect.registerResultSetOutParameter(Oracle9Dialect.java:308)
         at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1609)
         at org.hibernate.loader.Loader.doQuery(Loader.java:717)
         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
         at org.hibernate.loader.Loader.doList(Loader.java:2294)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2172)
         at org.hibernate.loader.Loader.list(Loader.java:2167)
         at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:316)
         at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1832)
         at org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:165)
         at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:179)
         at mx.grupocp.inter.model.dao.impl.FoliosGeneradosDaoImpl$1.doInHibernate(FoliosGeneradosDaoImpl.java:34)
         at mx.grupocp.inter.model.dao.impl.FoliosGeneradosDaoImpl$1.doInHibernate(FoliosGeneradosDaoImpl.java:29)
         at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406)
         ... 37 more
    +*Caused by: java.lang.IllegalAccessException: Class org.hibernate.dialect.Oracle9Dialect can not access a member of class oracle.jdbc.driver.OracleTypes with modifiers ""*+
         at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
         at java.lang.Class.newInstance0(Class.java:349)
         at java.lang.Class.newInstance(Class.java:308)
         at org.hibernate.dialect.Oracle9Dialect.registerResultSetOutParameter(Oracle9Dialect.java:306)
         ... 50 more
    please help me

    Hi,
    Have a look at this tread:
    Re: Problems of hibernate calling oracle stored procedure
    Regards peter

  • Cursor values in a dynaic query

    Can we use cursor values in a dynaic query??
    e.g.,
    INSERT INTO tmp_table (
    bvr_version_desc,
    bvr_load_label_cde,
    ins_process_key)
    VALUES(
    rec.bvr_version_desc,
    rec.bvr_load_label_cde,
    21)
    I am facing error 'Ora 00984 Column not allowed here'

    Peter Gjelstrup wrote:
    Strange what a poorly asked question can doAgreed.
    Due to the reference particularly to dynamic SQL I assumed something more like
    BEGIN
    l_table := 'DUAL'
    OPEN v_emp_cursor FOR 'select * from ' || l_table;
      LOOP
        INSERT INTO tmp_table (bvr_version_desc,
                               bvr_load_label_cde,
                               ins_process_key
        VALUES      (rec.bvr_version_desc,
                     rec.bvr_load_label_cde,
                     21
      END LOOP;
    END;

  • Cursor Value from Tek DPO7000

    Hi,
    I am using Labview to do some data acquisition from Tek DPO7000 oscilloscope. I have setup the cursor on the scope manually and need to use Labview to store the cursor value in a file. I am not able to find a way of reading the cursor value in Labview. The type of the cursor is "Waveform" and its x axis will remain fixed throughout the measurement.
    Thanks

    Hi LV_Max,
    To be able to use the oscilloscope, you will need to download the instrument drivers from here.
    Then you will copy the files to the inst.lib in yout LabVIEW installation folder and under the Instrument I/O you will find the available options for the tasks that you can do with that oscilloscope.
    Regards,
    steve.bm
    AE | NI

  • Extrating cursor value

    I will like to extract the values of the cursors?  Is it possible?
    I am ploting the reel and imaginary part of the input impedance (Z11 calculated from the S parameter) on a X Y graph.  If I could get the cursors values (frequency, impedance and reactance) of both traces, I could calculate the equivalent circuit at the cursor position.
    Thank you
    Message Edited by fmethot on 07-12-2009 05:47 AM
    Solved!
    Go to Solution.
    Attachments:
    Extracting cursor 3.jpg ‏284 KB

    Alain,
    I attached the VI.  This is my first program and it is not finish.  It will not run on your computer because some file are missing to drive the network analyzer.  You will be able to modify the section for the cursor and post it back.  I appreciate your help.
    After extracting individual S parameter, I first convert the S11 or S22 for plotting on a Smith chart (which I have a ratio problem).  In the same FOR LOOP, I convert S to Z and used only the Z11re and im impedance to plot and calculate R, L and C.  I detect the sign of the Z11im and applied the XL or XC formula.
    I will like to move the cursor and show if it is a L or a C with the value (to be done).  I bring up the actcrsr and Cursor position but don't know what to do....
    With the Cursor Index, I extracted the value with an Index Array for the Frequency, the reel part and the imaginary part of the graph at the cursor position...but this work once when RUN.
    Thank you
    François
    Attachments:
    S2P and Display HP8753E Forum.vi ‏849 KB

  • How can I get the cursor value from a waveform graph

     Is there a way to get the value of cursor position on the waveform graph so mathematical calculations be performed on those values. We can see the value in cursor legend, but can we extract those values for future calculations in the block diagram somehow.

    Right-click on the waveform graph icon.  Select Create>Property Node>Cursor>Cursor Position.  That spits out a a xy cluster for the current cursor position.
    If you have more than one cursor, you can either set up a loop and set the Active Cursor property node (right click the property node and select "Change to Write") or you can pull everything you ever wanted to know about every cursor with the Cursor List property node. 

  • Any way to use cursor values inside other cursor by bulk collect?

    hi,
    Is there any way to use cursor get_tables value insdide loop get column if i am using bulk collect in both cursors?
    I tried a lot but i am nt able to do it.kindly help...
    create or replace procedure MULTIPLE_CURSORS_PROC is
    v_owner varchar2(40);
    v_table_name varchar2(40);
    v_column_name varchar2(100);
    cursor get_tables is
    select distinct tbl.owner, tbl.table_name
    from all_tables tbl
    where tbl.owner = 'SYSTEM';
    cursor get_columns is
    select distinct col.column_name
    from all_tab_columns col
    where col.owner = v_owner
    and col.table_name = v_table_name;
    begin
    open get_tables;
    loop
    fetch get_tables into v_owner, v_table_name;
    open get_columns;
    loop
    fetch get_columns into v_column_name;
    end loop;
    close get_columns;
    end loop;
    close get_tables;
    end ;

    hi there
    Refer this
    CREATE OR REPLACE PROCEDURE MULTIPLE_CURSORS_PROC
    IS
       TYPE scol IS VARRAY (10000) OF VARCHAR2 (32767);
       v_table_name    scol;
       v_column_name   scol;
       TYPE curtyp IS REF CURSOR;
       get_columns     curtyp;
       CURSOR get_tables
       IS
          SELECT   DISTINCT tbl.table_name
            FROM   all_tables tbl
           WHERE   tbl.owner = 'SYSTEM';
    BEGIN
       OPEN get_tables;
       LOOP
          FETCH get_tables BULK COLLECT INTO   v_table_name;
          FOR indx IN v_table_name.FIRST .. v_table_name.LAST
          LOOP
             SELECT   DISTINCT col.column_name
               BULK   COLLECT
               INTO   v_column_name
               FROM   all_tab_columns col
              WHERE   col.table_name = v_table_name (indx);
             FOR ind IN v_column_name.FIRST .. v_column_name.LAST
             LOOP
                DBMS_OUTPUT.put_line (v_column_name (ind));
             END LOOP;
          END LOOP;
          EXIT WHEN get_tables%NOTFOUND;
       END LOOP;
       CLOSE get_tables;
    END MULTIPLE_CURSORS_PROC;regards
    Hitesh

  • Problem in passing ref cursor values as parameter in where clau.Most Urgent

    Problem:
    1) I have used normal cursor (C_hubmsgid_set) with some select statement such as grouping and all.
    After executing the query it will return some resultset to the specified cursor.
    2) I am trying to use another cursor which is ref cursor but the problem is
    I want to give all the resultset based on all the conditions to the ref cursor.
    But the cursor will get only the last record due to overwriting .how to get all
    the result set in a ref cursor like
    cursor c1 is select .....
    loop
    open refcursor for
    Select * from ....where condition
    end loop
    After this the refcursor( p_sysaudithistory_cur) which should have all the resultset matched by the where condition.
    3. It should be java compatible one.
    4. I am not able to match cursor row = IN Pameter value
    Below is the query:
    CREATE OR REPLACE PROCEDURE SP_TEST_audit_history2 (
    p_start IN date,
    p_end IN date,
    p_msgcode IN varchar2,
    p_partnername IN varchar2,
    p_status IN varchar2,
    p_locationname IN varchar2,
    p_custbusunit IN varchar2,
    p_sysaudithistory_cur OUT plutotypes.ref_cursor,
    p_status1 OUT NUMBER) AS
    l_status NUMBER := 0;
    CURSOR C_hubmsgid_set IS
    SELECT DISTINCT MAX(tfm.datetime) datetime, tfm.hubmsgid
    FROM tfm_status tfm, vw_msgcode_part_locn vw
    WHERE
    tfm.datetime >= NVL(p_start, TO_DATE('01/01/1981','DD/MM/YYYY')) AND
    tfm.datetime <= NVL(p_end, TO_DATE('31/12/9999','DD/MM/YYYY')) AND
    tfm.msgcode LIKE NVL(p_msgcode,'%') AND
    vw.msgcode = tfm.msgcode
    AND vw.partnername LIKE NVL(p_partnername,'%')
    AND tfm.status LIKE NVL(p_status,'%')
    AND vw.locationname LIKE NVL(p_locationname,'%')
    AND vw.custbusunit LIKE NVL(p_custbusunit,'%')
    AND rownum < 250
    GROUP BY tfm.hubmsgid
    ORDER BY datetime DESC;
    /* Loop through the Cursor */
    BEGIN
    BEGIN
    OPEN p_sysaudithistory_cur
    FOR
    SELECT
    tfm.hubmsgid ,
    tfm.status || '-'|| nvl2(tfm.exception_id,'FAILED','OK') ,
    tfm.datetime,
    tfm.exception_id
    FROM tfm_status tfm
    WHERE tfm.hubmsgid = c_hubmsgids.hubmsgid /* here only i am getting error*/
    AND tfm.datetime = c_hubmsgids.datetime
    AND tfm.status like NVL(p_status,'%')
    and rownum =1;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    l_status := 1;
    END;
    p_status1 := l_status;
    END;
    Thanks in advance
    prasanth a.s.

    Please don't post duplicate questions. All it does is clutter the forums and result in fragmented threads and duplicate responses. Please see my response in the original thread at the link below.
    Please solve this Refcursor issue PLEASE

  • How to view cursor values while in DEBUG mode

    I am using SQL developer 1.5.1 and I am debugging my Stored Procedure.
    I cannot find how to view the contents of variables as I step through the code.
    For example, I have the following IF:
    IF NVL(rat_rec.rat_css_agency_cd, -1) != NVL(lclcssagencycd, -1) THEN
    lclupdate := TRUE;
    END IF;
    I want to be able to see what is the value of rat_rec.rat_css_agency_cd and also lclcssagencycd, to see why it is evaluating this IF statement to be true.
    In other words it is saying rat_rec.rat_css_agency_cd is NOT the same as lclcssagencycd, but I want to see what the differences are and need to be able to 'look' at the value of each variable.
    It is NOT showing on SMART DATA or DATA.
    I have not used SQL Developer much before, so must be missing something.
    (In VB, I can debug a routine and then stop on a variable and press SHIFT+F9 to see the contents of the fields. I want to do the same thing in SQL DEVELOPER).

    Yes, I do.
    I am able to step through the code and if I stop on a particular line of code, I want to be able to evaluate the variables or cursor fields that I am on to see what their contents are.
    Sean

  • Problem viewing cursor value in debug mode

    Hi eveybody!
    I'm French and new here.
    I know some topics deal with my subject but I don't really understand.
    Here's my environnement :
    Win2000 / ORA 9iR2 / SQL DEVELOPPER 1.0.0.15.57
    As some people say when i'm in debug mode (after compiling my procedure PL/SQL for debug) I can't see any value of my cursors !
    Ex :
    CURSOR cur IS
    SELECT COL1, COL2
    FROM TABLE1;
    v_cur cur%ROWTYPE;
    For v_cur in cur
    Loop
    If v_cur.COL1 = 'toto' then
    'do something' ;
    End if;
    End Loop;
    When I run this step by step in debug mode I can't see the data of my cursor in the data or smartdata pane.
    The values of my cursor is allways null !
    I guess I'm not the only one to see that bug.
    My question is should I wait a new release of sql developer or is there any solution for this problem?
    Anyway I want to congratulate the developers team who create this tool which is fabulous! It makes me forget TOAD and it's totally free.
    Thanks a lot for this job.
    Greg

    Here is a piece of code I use:
    CREATE OR REPLACE PROCEDURE sm_list AS CURSOR emp_cursor IS
    SELECT d.department_name,
    e.last_name
    FROM departments d,
    employees e
    WHERE d.department_id = e.department_id;
    emp_record emp_cursor % rowtype;
    BEGIN
    FOR emp_record IN emp_cursor
    LOOP
    DBMS_OUTPUT.PUT_LINE(emp_record.last_name);
    END LOOP;
    END;
    With this example, I agree, the smart data is null. Logged a bug. However, note that I do see values in the data tab and can modify and watch these values.
    When using cursors I've been looping and then fetching into cursor records, i.e.:
    FETCH emp_cursor
    INTO emp_record;
    emp_tab(i) := emp_record;
    and then the values display in the Smart data and data tabs.
    Sue

  • Cursor values manipulati​on in "Mixed Graph"

    I have two cursors on the "Mixed graph".
    Using Cursor Palette, I am reading the current values of both cursors. But when I manipulate them, it works only when the program is running. Is there any way to find the difference between the two even when the program is not running.
    Secondly, when I try to find the x-value using property node, it gives X- value of 2nd cursor only. how can I extract the X-value of 1st Cursor. 

    Billo000,
    Here are some examples on using Mixed Graphs and the cursor palette:
    https://decibel.ni.com/content/docs/DOC-3671
    https://decibel.ni.com/content/docs/DOC-2065
    https://decibel.ni.com/content/docs/DOC-2171
    https://decibel.ni.com/content/docs/DOC-3118
    I hope these get you going
    Sam S
    Applications Engineer
    National Instruments

  • Very slow if reference cursor value in another query

    I have a script like below:
    declare
    CURSOR c1 IS
    select rptd_by, total from (select rptd_by, count(rptd_by) total from LOCBUG_ALL_M group by rptd_by order by count(rptd_by) desc) where rownum < 2;
    begin
    FOR item IN c1 LOOP
    select count(*) into bug_num from locbug_all_m h, v_nbtbug b where (h.rptd_by like item.rptd_by) and (b.nls_related=7) and (h.rptno=b.bugdb_num);
    -- 6 more similar query
    END LOOP;
    end;
    It takes nearly 4 minutes to run.
    If in the loop, I change the item.rptd_by to a static value, it only takes less than 5 seconds.
    The query used for cursor only takes 0.02 second to run.
    Why there's such difference? How can I solve this problem? I'm running this script in HTMLDB and it could timeout if it takes minutes to run.

    What are you really trying to select in the loop?
    SQL> select * from locbug_all_m;
    RPTD_BY          COL2
    X1                  1
    X2                  2
    X3                  3
    X4                  4
    X5                  5
    X6                  6
    X7                  7
    X8                  8
    X9                  9
    X10                10
    X                  11
    11 rows selected.
    SQL> ed
    Wrote file afiedt.buf
      1  select count(*) from locbug_all_m
      2* where rptd_by like 'X'
    SQL> /
      COUNT(*)
             1
    SQL> ed
    Wrote file afiedt.buf
      1  select count(*) from locbug_all_m
      2* where rptd_by like 'X%'
    SQL> /
      COUNT(*)
            11
    SQL> select count(*) from locbug_all_m
      2  where rptd_by = 'X';
      COUNT(*)
             1

  • Cursor value into cursor

    Hi all;
    help please. I want to create a cursor which takes value from another cursor so as to limit the rows, in same procedure. how can I do this?
    Thanks
    vg.

    vg,
    If I have understood your question right, the following might help : (Tried out in the SCOTT schema)
    DECLARE
    CURSOR cdept IS
    SELECT DEPTNO
    FROM DEPT;
    CURSOR cemp(dept varchar2) IS
    SELECT EMPNO, ENAME
    FROM EMP
    WHERE DEPTNO = dept;
    ldeptno dept.deptno%TYPE;
    lempno emp.empno%TYPE;
    lename emp.ename%TYPE;
    BEGIN
    OPEN cdept;
    LOOP
    FETCH cdept INTO ldeptno;
    EXIT WHEN cdept%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE('**** Department No : ' || ldeptno);
    OPEN cemp(ldeptno);
    LOOP
    FETCH cemp INTO lempno, lename;
    EXIT WHEN cemp%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(' ---- Employee No : ' || lempno || ' Name : ' || lename);
    END LOOP;
    CLOSE cemp;
    END LOOP;
    CLOSE cdept;
    END;
    Please let me know if this answers your question.

  • Intensity graph Z cursor value

    Greetings!
    I am creating a scanning XY stage program using an intensity graph.  I have a cursor to drag around that moves the XY stepper motor stages; zooms, adjusts Z colors & "contrast", etc.  I have the data showing up fine.
    However I can't figure out how to get the Z value (so I don't have to show the big cursor legend).  As you know in the cursor legend as you move a cursor the X Y and Z values are shown.
    Can't find a property node for the Z value...  This must be simple 
    Thanks!
    Steve
    Solved!
    Go to Solution.

    Unless you use custom axis offsets and increments, it is just the value of the 2D array and the indices of the cursor positions, so index array should get what you want. If you use custom axis scaling, you need to apply the linear transform between cursor x, y values and corresponding array indices.
    In a better world, the cursor index property should give both indices of the 2D array and the method would directly work also for cases where the axis scaling is custom. This is the reason for my old idea here, so please vote for it!
    LabVIEW Champion . Do more with less code and in less time .

  • Refresh cursor value in a waveform graph

    Hello, I am tryig to do a vi that can read PNRF files from perception and then it will analyze the data of the waveform, but I am having some problems with the reading of the data
    After getting the waveform graph, I created an event of that waveform graph that would activate each time there is a cursor release, but it cannot work once the sequence reaches that point of the event.  I am working step by step on this vi, and after being able of having refreshed data I will do the same with a second cursor. Also, I cannot find the way to separate the waveformgraph channels into different displayed waveforms, is it because it is a waveform graph and not a waveform chart?
    I am attaching the used vi
    Attachments:
    LabviewPNRF_Reader.vi ‏77 KB

    I have simplified your vi just slightly. You dont need two while loops, two event structures, event structure timeout, sequence structure (read up on data flow using error terminals). I dont have access to the file you are reading so I have disabled that section with a simulated waveform.
    As you can see the cleanup  has messed up your comments etc. sorry about that.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.
    Attachments:
    LabviewPNRF_Reader[1].vi ‏111 KB

Maybe you are looking for