Graph between cursors

Hi, 
I have a problem with cursors.
I have a waveform graph with some signal and two cursors. (annex 1)
I would like to see a signal which is between the two cursors on the second waveform graph.
Thank you for your help
Solved!
Go to Solution.
Attachments:
1.png ‏83 KB

Hi,
Does the attached help?
Don't forget to turn off "Autoscale X" for the 2nd graph and you may want have a seperate 'condition' if cursor 2 is at a lower value than cursor 1.
Attachments:
Waveform_Adjust_Scale.vi ‏15 KB

Similar Messages

  • Is it possible to mirror xy graphs between VIs?

    Hi,
    I've got an application where the main interface is a tab control.  Each of the 6 tab pages has a subpanel.  In each subpanel, there is a subVI that displays a number of controls and an XY graph.  The graphs vary a bit between the subVIs, with each graph having different cursors, maybe different axis labels, etc.  
    I've recently received a request from a user that in addition to the tabs the system has now, they want an additional page on the tab that will show them the graphs from all 6 subVIs simultaneously.  
    Is there some way I can "mirror" an xy graph control in a subVI and display the mirror in another?  I can get references to the original graph, and I only need to update the data once a second or so.  This is for viewing only - the user will not be able to interact with the mirrored graph (no cursor movement, no changing the axis, etc.).
    Thanks,
    JasonP

    Hi Jason,
    You have some options.
    You could use a reference and get the value of the graph.
    This would require polling to get new values and property nodes can be slow.
    Or you could use a Queue or a User Event to get the data to the main vi as shown in the attached examples.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    Graph Mirror Q.vi ‏18 KB
    Graph Mirror UE.vi ‏17 KB

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

  • TO get graph between month and value

    Hi Gurus,
    Please help me , i had to make Graph between values and month and for every year lines should be different .
    its basically a stock vs time graph thorough ABAP coding.
    i had itab which have value for every month , but how to plot it i not able to get it.
    please do help me.

    Perhaps have a look at the programs starting GRBUS* (and other GR* entries) as they demo some of your graphical options.

  • How do i plot with the operating system time in one plot and show lines between cursors in another using the same XY graph?

    I am having some trouble graphing two plots at once. One plot is to show the current temperature inside a chamber as a function of time. I am trying to pick the current time and temperature each second and plot it with each point being connected by a line. I am able to show a moving, blinking dot each second but I can't figure out how to develop an actual line with these dots. To make matters worse, the blinking dot is back in the year 1903. I understand that it uses seconds elapsed since 1903, and am trying to find out how to graph the current temperature with the system time.
    The second plot is just 5 moveable cursors that are to be connected by a line. I am able to move the cursors and retrieve the position information, but I can't make a line between them.
    I have attached my main .vi, though you may have to pick the graphing part off to have it work for you.
    Attachments:
    Main Module Chamber Testing I_O every 30 sec.vi ‏288 KB

    You're not creating the XY graph data correctly. I've attached an example with a couple of simple XY Graphs. One is using a couple of shift registers to hold the spearate x and y arrays. I think this is what you were trying to do. The other one uses a VI from the shipping examples called XY Chart. It makes an XY Grpah act like a chart. I've also shown the correct way to display current time.Message Edited by Dennis Knutson on 05-12-2005 03:51 PM
    Attachments:
    XY Graph.vi ‏41 KB

  • Dent/dip in motion graph between keyframes

    I've noticed that ever since upgrading to AE7, I occasionally get this strange dip/dent in the line/curve between keyframes that I can't seem to get rid of.
    Commonly, it occurs like this:
    I set a keyframe at the first frame, then move the layer/item and set another keyframe at (say) frame 30. Everything's fine... Then I move to (say) frame 40, move the item, and set a keyframe. When I look at the graph, rather than the usual line going from one keyframe to the other, I have a kink/dent in the line going from keyframe 2 and 3, as if a keyframe of a different value was place in between the two keyframes.
    I've tried toggling linear/bezier interpolation, and even removed and redid each of the keyframes, yet nothing gets rid of the kink.
    Has anyone else experienced this, and does anyone know why this is happening? This has prevented me from finishing even simple animations, because there doesn't seem to be any way to fix it.
    I never had this problem with previous versions, so I'm really puzzled by what is causing this. Just 3 keyframes, and it does it... nothing else complex or unusual.

    I think what you're talking about is bounce or rebound. If you change the spatial interpolation from bezier or auto bezier to linear the bounce will go away. You can't change spatial interpolation directly in the timeline graph editor. You change it by going to Keyframe Interpolation by right clicking (or Control + click on a one button mouse mac) on your selected keyframes in the timeline window and picking Keyframe Interpolation or by using the keyboard shortcut Ctrl/Cmnd + Alt/Option + K, or by going to Animation>Keyframe Interpolation from the menu bar.
    While the graph editor will give you an indication of the position of the layer, you can only manipulate the time values in the Timeline Window. In the Composition window, you can only adjust the spatial (position, rotation) property. If you look closely at the keyframes in the Composition window before you change spatial interpolation, you'll see bezier handles on the path. They are really difficult to see on a straight path, but they are there. Changing Spatial Interpolation to linear will get rid of these handles, but you can also do it manually by holding down the G key while hovering close to the motion path and when the cursor changes to an open arrow you grab the path bezier handle and drag it to the keyframe.
    Hope this helps. It's a rather common problem that's easily solved once you realize that you're adjusting the when in the timeline and the where in the comp window.

  • Xcontrol Cursor (XY Graph) with cursor release

    I try to build a Xcontrol who give the values of a cursor.  The only data I send to the Xcontrol is the reference of a XY Graph.  It is working fine when using the boolean left  and right (see drawing).  When I try to to utilize the "cursor release event" (in the Xcontrol) it is not working and the cursor freezes, any idea?
    Jean-Marc
    Jean-Marc
    LV2009 and LV2013
    Free PDF Report with iTextSharp
    Attachments:
    Xcontrol image.jpg ‏50 KB
    Curseurs XY.zip ‏97 KB

    Jon S. wrote:
    Hello J-M,
     I think I figured out what was causing the hang in LabVIEW when you moved the cursor.  You need to put an Unregister for Events at the output of your Event Structure in the Facade of your Xcontrol.  After I did this LabVIEW didn't hang.  The values didn't update in your cluster but the hang didn't occur.  You might need to do some more coding the case for "Mouse Up".
    This actually is bad advice.
    What it does is unregister the event refnum every time the VI is run, this means that the event only is registered during execution of the XControl.
    The fact that the FP gets locked means that there is a valid registration that has the 'Lock FP during processing'==True.
    For dynamic events you need to right click on the registration node and deselect that option.
    What might work is setting the timeout of the event node to -1 and not stop the while loop. However I am not sure what happens in these cases.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Waveform graph:move cursor automatically to know coordinate

    Good Day
    Can i know how to move cursor automatically in the waveform graph
    example: i have known Y =2 what is the value of  x is...
    which properties in property node should i use?
    attached also my vi (Coordinate of XY data using cursor)
    Best Regards
    Ahmad Tarmimi
    Solved!
    Go to Solution.
    Attachments:
    coordinate XY.vi ‏40 KB

    Good Day
    I was trying to program the cursor automatically but it does'nt seem working for me..
    Can you please advise me on this matter... 
    Attached also my study pupose vi
    Best Regards
    Ahamd Tarmimi
    Spoiler (Highlight to read)
    Attachments:
    cursor adjustment.vi ‏53 KB

  • Mixed Signal Graph, Selected Cursors, and Cursor Position Problems

    I'm trying to work around an issue with a single multiplot cursor on a mixed-signal graph (doesn't work right, R&D bug report #100830) by grabbing the selected cursor x-position and updating that position across all four cursors, as seen below:
    However, I'm having two problems. 
    One, the selected cursor is not always the actual selected cursor.  Quite often, especially when selecting and dragging cursors 3 & 4 (indexed 2 & 3), the selected cursor shows up as 0 or 1.
    Two, and the one I'm more concerned about, is the fact that the four cursors X-positions never completely line up.  In every case, whichever cursor is deemed to be "selected", the other three will align to some point (the same for all three) that is offset from the actual value.  Please note that the X-values in my demonstration are identical (1000 points from 0.001 to 1) so I don't see this as being some snap issue where the value is offsetting to the closest available on the other arrays.
    I've attached my scratchpad demo.vi as an illustration. 
    Any help or insight is appreciated.
    Thanks,
    Mike Webster
    Attachments:
    demo.vi ‏47 KB

    I believe I found where the issue resides at least and a workaround.  This is a problem with XY graphs in general when trying to programmatically control the cursor position.  Somehow, the software goes looking for the nearest point instead of the identical point and has some sort of issue with its search algorithm.  Switching from attempting to match position to copying the cursor 'index' completely cleared up the problem I was having.  In the particular application I'm working on, the four graphs have identically spaced data on the X-axis, so this solution should work fine for me.

  • Fix axes in intensity graph with cursor

    Hi all,
    I try to use the intensity graph as an xy-input device. The user should be allowed to drag the cursor to enter the value. However, the user can always move the cursor outside the plot area, which causes the corresponding axis to rescale. I want to have strictly fixed upper and lower limits. Is there any way to achieve this? One possible solution would be to reset the min/max values every time the cursor was moved (and coerce the cursor position back into the range). A simpler approach would be appreciated!
    Regards,
    Matthias

    > I try to use the intensity graph as an xy-input device. The user
    > should be allowed to drag the cursor to enter the value. However, the
    > user can always move the cursor outside the plot area, which causes
    > the corresponding axis to rescale. I want to have strictly fixed upper
    > and lower limits. Is there any way to achieve this? One possible
    > solution would be to reset the min/max values every time the cursor
    > was moved (and coerce the cursor position back into the range). A
    > simpler approach would be appreciated!
    >
    You don't say what version of LV you are using, but if it is relatively
    recent, right click on the graph and go to Advanced and uncheck the
    option to have Cursors Scroll Graph. The user can still drag and
    release the cursor und
    er the edge of the graph, but this will not change
    the scales. You can pretty easily filter cursor points that are out of
    range and even write back to the cursor value if you need to. I believe
    that if there is data in the plot and the cursor is set to lock to the
    plot, then it cannot be dragged outside the data either, and that is
    another solution.
    Greg McKaskle

  • Identify peaks on graph using cursors

    I have a piece of analysis software that is supposed to identify event shapes based on peaks in a histogram (attached, along with a sample data set). Following the advice of users in my last thread, I rewrote the program in what I hope is a much improved way. My first question as a LabVIEW newbie: please critique my code. Suggestions for improved style/readability are more than welcome.
    Currently, the program automatically detects peaks in the histogram and fit them, which works fine. However, for more noisy data sets where peaks overlap or there may be many small peaks, it does not do as good a job as it does for the sample data provided. To that end, I would like to be able to have users specify peak locations, ideally by clicking on the graph. It would be relatively simple to have them input them numerically (something like this, for example: https://decibel.ni.com/content/docs/DOC-2238), but I would like to learn to user cursors at the same time if possible. So, my idea is this:
    After plotting the raw histogram without a fit, users would be prompted to enter a variable number of peak locations by clicking on the graph, which would then be used to split the graph up into pieces containing a single peak and fit, just as is already done in the program. Basically I want to replace the Peak_Detector.vi with user input. I believe from reading around that the way to do it would be to use cursors, but I haven't been able to find an example showing me how to do it. A push in the right direction would be appreciated!
    To run it, feed the input file the attached .csv and take the default values. If anything is unclear, let me know.

    (disclaimer : I haven't looked at your VI).
    One way to use the cursors would be to create one (in EDIT mode) and have it snap to plot 0.
    It will therefore always be on your plot.
    You can show the readout (Cursor Palette) if you like.
    In the code, it's just a property of the graph.
    You could respond to changes in cursor position and provide your own readout, if you like.
    Provide a button (or menu item) to DO IT, and when the button is clicked, you remember the X and Y cursor value (read the properties) and use that Y value as your peak.
    you could also look up some other value at that X location, if that does anything for you.

  • Saving "Waveform graph" with cursors, set of different colors, in an image file

    Hello:
    I'm trying to save to a file, a waveform of a "waveform graph" that has cursors, which have different colors. When opening the file I can see that the waves are plotted defined color, but the grids and cursors are colored black.
    Someone can tell me what to do, so that the file is saved with the original colors of the "waveform graph"?
    Best Regards

    Probably this is happening because you are using the Invoke node Image Export, which captures an image with less information. However, if your application allows, using the Invoke Node Get Image, which captures your control, displays all the colors of your waveform, include cursors and grids colors.
    In this link bellow, you can see how use this Invoke Node:
    http://digital.ni.com/public.nsf/allkb/5AE4ADCBB65A6D8F86256FBF007A1AC1?OpenDocument
    I hope this helped you. Success in your application.
    Regards.
    Wesley Rocha
    Applications Engineer
    National Instruments Brazil
    www.ni.com/suporte
    Wesley Rocha
    Application Engineer
    National Instruments Brazil
    Visite a nossa comunidade em PORTUGUÊS!!!

  • Need to click on desktop between cursor clicks when in firefox - can anyone help?

    Most of the time I have to click on the desktop outside the firefox window in order to be able to activate any cursor commands within firefox
    i.e. when I finish writing this I will have to submit it. In order to click any submit button I will probably need to move my cursor to the desktop, click it, then come back into firefox and click submit

    Before rettoring you need to place the iPod in recover ymode and then restore. For recovery mode:
    iPhone and iPod touch: Unable to update or restore

  • Consistant Scrolling position between cursor keys and mouse - how to do it??

    When I read with Adobe Reader, I often use the mouse on my laptop and scroll the pages down with the scrollbar and then become engrossed  in reading the article.
    Being engrossed, however, I also sometimes press the cursor down key, with the expectation that it will scroll the page down from the current position I am reading from.
    Unfortunately it jumps to whereever it was 50 or so pages before, or to the start and I have to mess around trying to find my place.
    It's deeply, deeply irritating and slows down my reading significantly.
    I have read all the Adobe reader help and settings, but cannot find anywhere I can change this behavour. I
    Anyone else affected by this and if so how did you overcome it?

    I shoud be clearer and say that it jumps to wherever the cursor was last placed by the cursor keys.
    Can't believe its just me who has this problem....

  • Updating graphs between two VIs

    I have a VI (event-structure based) that generates and displays waveform chart. Due to lack of space on the main VI, I want the graph to be displayed onto another VI. Could anyone please help me with an example, how to implement this? 
    My attempt doesnot update the graph using sub-VI.
    Thanks
    Rajeev
    RY
    Solved!
    Go to Solution.

    A simple example is attached along this email. The subVI is invoked from the MainVI which attempts to zoom the graph, but it does not continuously update the graph data as in MainVI. Thanks 
    RY
    Attachments:
    MainVIGraph.vi ‏51 KB
    SubVIGraph.vi ‏12 KB

Maybe you are looking for

  • Install Solution Manager in RedHat Enterprise 6 with Oracle 11

    Hello , In the marketplace-PAM,  RedHat Enterprise 6 is not listed as approved for EHP1 Solution Manager 7.0 64 bit (unicode) with Oracle. Does anyone have any information on this subject? Has anyone installed the Solution Manager 7.0/Oracle with Red

  • I accidently deleted Safari, so have installed again from my disc. Since then it randomly crashes. Help neededplease

    I accidently deleted Safari, and have had to install again from the disc. Since then it just crashes randomly. After reading other posts,  I have created another account to see if it still does it, but it still crashes. Any suggestions please?

  • PDF watermark service

    Dear All, I have the following scenario: 1. I need to checkin a document to UCM 2. Post the checkin, i need to generate an image dynamically using my custom java code & checkin that image also to UCM as a new revision of content id say img_001. 3. On

  • Flashbuilder 4 and ZEND AMF

    Hello, i have the following setup: This is my ValueObject: <?php class PurchasedSongVO      public $txn_id;      public $article_id;      public $song_id;      public $songName;      public $artistName1;      public $songIcon;      public $songPrevie

  • PS CC crashes keyboard

    A new one on me--After using PS CC for some minutes the entire keyboard hangs. I am still able to use pointing devices and the enter key, but every other key stops functioning. Interestingly, my keyboard is illuminated, and has a few second inactivit