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

Similar Messages

  • Multi plot cursor in Mixed Graph

    If Digital waveform and normal waveform graph is plotted in a mixed graph, and if I choose watch all plots(multi plot) in cursor, LabVIEW closes immediately with an error popup dialog
    I have attached the print screen image of that error popup
    Attachments:
    error.JPG ‏188 KB

    Hi Stephen,
               I found a considerable solution to overcome that error.
               Build all the array data at first and then generate digtal
    waveform in single instance.
               ie., With number of numerical array data, build a 2D array of
    numerical data and make a transpose and then generate a waveform.
               It generates number of digital waveform equal to that of the
    column size of 2D Array.
               Do not build generated digital waveforms. This creates an error
    while using multi plot cursor--> watch--> All plots.
               I have attached the modified, bug removed Vi with this message for
    your reference.
    Regards,
    Raja
    Project Engineer
    Soliton Technologies
    www.solitontech.com
    Attachments:
    Mixed Graph Modified without Error.vi ‏25 KB

  • Mixed Graph - Multi Plot Cursor Problem

    If I plot both Analog Waveform and Digital Waveform in a single Mixed Graph, and when I choose watch all plots in cursor legend, LabVIEW crashes with an error message.....
    I have also attached  the Print screen image of that Error
    Attachments:
    error.JPG ‏188 KB

    Jared Boothe,
               I found a solution to overcome that error.
               Build all the array data at first and then generate digtal waveform in single instance.
               ie., With number of numerical array data, build a 2D array of numerical data and make a transpose and then generate a waveform.
               It generates number of digital waveform equal to that of the column size of 2D Array.
               Do not build generated digital waveforms. This creates an error while using multi plot cursor--> watch--> All plots.
               I have attached the modified, error free Vi with this message for your reference.
    Regards,
    Raja
    Project Engineer
    Soliton Technologies
    www.solitontech.com 
    Attachments:
    Mixed Graph Modified without Error.vi ‏25 KB

  • 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

  • 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

  • Timing in Mixed Graph Signal

    Hi,
    I would like to graph digital and analog signals on Mixed Graph Signal. I have an option to see portion of these waveforms ( for example start at second one and plot 2 seconds of data). The problem I have is I need to check Autoscale ( X scale ) to see my waveforms but if I do this the X scale starts from bogus numbers. And if I programatically change Start , min and max of the X scale of the mixed graph then I can't see ,my signals .
    Could you pleae let me know how can I fix thois timing issue.
    Thanks

    You can also control autoscaling with property nodes - in fact the property nodes give you three option. On, Off and Autoscale one time right now.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • 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

  • Have more than 2 groups in Mixed Graph Signal

    Hi is it possible to have more than 2 groups in Mixed Graph Signal . I would like to graph my analog signals seperately like digital signals in Mixed Graph Signal but seems like I can have only 2 groups. 1 for digital and for analog. Is it possible to add another analog group so I graph my each analog signal in one group
    Thanks  

    Hi,
    This discussion has come up in a couple of previous posts:
    http://forums.ni.com/t5/LabVIEW/Mixed-signal-graph-Group-update/td-p/471000
    http://forums.ni.com/t5/LabVIEW/Programming-a-Mixed-Signal-Graph-s-Plot-Area-Name/td-p/1288066
    There still isn't any property node that enables us to do this programmatically.
    Thanks and Regards
    Supreeth.K
    Applications Engineer
    NIUK

  • 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. 

  • 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

  • Plot mixed graphs

    Post Author: dufernandes
    CA Forum: .NET
    Hi there,
    My problem is the following: I'm using MS Visual Studio 2005 with the standard version of Cyrstal Reports. I wish to design a bar chart along with a line chart (that represents the goal of the data being displayed). For that I thought of mixing the bar and the line charts, however, I could not find any way to do so using the version of Crystal Reports I have mentioned. Does anyone know how to solve this matter? Basically I need to draw a bar chart and a line (based on some data) along with this graph.
    Thanks,
    Eduardo

    Hello,
    The behavior I see is that the multi-plot cursor which is snapped to plot 0 seems to generally follow an "imaginary plot" which corresponds to a scaled version of plot 0, where the scale factor is the value wired to the XScale.Multiplier property.  I don't think this is desired behavior so I have filed a corrective action request to R&D to have this addressed.  I am sorry for the inconvenience - hopefully you can live with an X-scale multiplier of 1, or the single plot cursors for the time being.  It also takes the offset property similarly, offsetting the "imaginary plot" by whatever value is set there.
    In any event, if this poses a significant problem with additional contingencies, please let me know and I'll be sure to include any updated information in the corrective action request!
    Thank you,
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • How do I set cursor.index to anywhere in the graph array?

    I am using LV 8.5.1 and feeding an XY graph with an X-Y array of data. Only a section of the array is displayed on the graph. I have a cursor (single-plot).
    I would like to set Cursor.Index property node of the cursor associated with the plot to the maximum index value of the graphed array regardless of the XScale range. I don't seem to be able to do it. I cannot set it beyond a certain number. When I rescale the graph I have a new maximum number. Is this what should happen?
    To get around this, I am momentarily setting the XScale.ScaleFit property to 1, which then allows me to set Cursor.Index to maximum (I then immediately reduce my scale range appropriately). I am having to do this before every occurrence of setting the Cursor.Index in case the new setting exceeds the currently allowed maximum value. Just seems a bit clunky.
    Thanks for any help.

    This is no longer a problem. My data is too big to feasibly be fed into a graph so am having to chop it up and use my own index pointer.

  • How do I add a vertical cursor to a 2-plot xy graph?

    I have a 2-plot xy graph, and I would like to add a vertical cursor that can be dragged to any x position, and have the 2 y values displayed.  How do I do this?

    OK, my problem is deeper than reading cursor position.  My cursor disappears when the VI is first run, never to appear again.  I have the X-axis set up for absolute time, and I think that might have something to do with it. 
    Attachments:
    CC View Data Graph.zip ‏26 KB

Maybe you are looking for

  • Is using iWeb without a MobileMe account futile

    I have no need for a MobileMe account so it's way overpriced compared to an average host. I was able to do this much - publish an iWeb site to a local folder and use my Mac as a host (This shouldn't matter but I used the Safari server with MAMP - i.e

  • Flash Thumbnails in Bridge

    Will Bridge CS3 now show .fla and .swf thumbnails?

  • Contacts Sync with Outlook - Missing Indexes

    I wonder if anybody can help as I've run out of ideas. In the last week or so, my Blackberry (Curve 9300) is not syncing properly with my Outlook (2007) contacts. All records go across if I look in the database, and yet an undetermined number are not

  • In OSB , xquery issue with large volume data

    Hi , I am facing one problem in xquery transformation in OSB. There is one xquery transformation where I am comparing all the records and if there are similar records i am clubbing them under same first node. Here i am reading the input file from the

  • A way to amend the lightbox style - all lightboxes automatically update?

    hi guys, im setting up a video portfolio site and i was initially going to have multiple thumbnails on each page each triggering a lightbox containing one video. at a later stage i might want to change the size of the black box surrounding the video