Placing a cursor in multiplot graph

We are currently using LABVIEW 7.1 to display multiple parameters such as speed, temperature, flow rate, pressure etc.in a single graph. All these parameters are being acquired using NI hardware.These parameters are displayed graphically in a single graph. We need to have a vertical cursor(not a cross-hair) such that the digital values of all the above parameters at the cursor location are displayed at the bottom of the graph. We also need that the digital values of all the above parameters should change dynamically when the cursor location is changed. Is it possible to have the above feature using LABVIEW 7.1?

I do not know if you have a question about cursers or your issue in general so I will start with the graph and cursors. Right click on your graph and goto "properties". From here you will see a "cursors" tab. From here you can add cursors, name them, and select their line style to be only vertical.
To have the cursor display the data from multiple plots you will need to use a property node to pickup the X location of the cursor. With this X location you will be able to output the Y data for you different params...pressure, temp, flow etc. You can put these indicators somewhere close to your graph so as the user moves the cursor...the values of your params will change to indicate the current location.
let me know if you have further questions.
Brett Burger
Applications Engineer
National Instruments

Similar Messages

  • Placing a cursor in multiplot graph to display all values at the cusor location

    We are currently using NI based DAq system which uses LABVIEW 7.1.We would like to know whether it is possible in LABVIEW 7.1 to place a cursor in a graph having multiplot that will disply all the values of parameters at the cursor location?

    If I understand the question correctly, yes, LabVIEW can display many parameters of a cursor, including the cursor position (in X and Y coordinates), the array index of the point to which the cursor is locked, the line and point style and thickness, etc. You can also read or set how a cursor locks and whether a cursor is visible or not as well as other properties of cursors. All of this is done using property nodes in LabVIEW and can be done with multiple plots and multiple cursors.
    TylerS
    Applications Engineer
    National Instruments

  • How do I stop firefox from automatically placing the cursor in a textbox?

    How do I stop Firefox from automatically placing the cursor in a text box? On certain pages such as Google.com the cursor will be moved to the search text box automatically after a couple seconds from the page loading. So I'll be typing in the address bar or something and then half of what I am typing in the address bar becomes cut off and starts being entered in the Google.com text box for search. The same happens on Facebook.com and the cursor is automatically moved to the Status Update text box. I assume this is a built in "feature" of the web page, but it's damn annoying. Especially when I start typing in my status update box on Facebook before the page completely loads and then halfway through typing (once the page is done loading) my cursor is moved to the starting position of the text area and my text is cut off.
    Just the be clear the actual mouse pointer isn't being moved, just the prompt for entering text.
    How can this be stopped?
    == This happened ==
    Every time Firefox opened
    == Started since I can remember

    This problem has grown worse over the last couple of years. I use Firefox on Mac and Windows. I consider this problem to be a bug. Here's why: Event Driven interfaces, e.g., OSX and Windows, are never supposed to change typing-cursor focus WHILE SOMEONE'S TYPING!!!
    Firefox allows websites to change focus WHILE USERS TYPE!
    Hey, sorry for the caps, but I haven't used those for awhile and that's kind of fun. But really, more and more websites steal typing-cursor focus WHILE USERS TYPE.
    Efff them, but really, Eff Firefox for allowing this.
    It's almost like a symptom of our hyper scattered age where our attention jumps here and there.
    But really... I love Firefox, some of my best friends are Firefox, they're good people, don't get me wrong, but damn it, WHEN SOMEONE IS TYPING THE UNASSAILABLE RULE OF EVENT DRIVEN DESIGN IS NOTHING ELSE SHOULD CHANGE FOCUS WHILE SOMEONE IS TYPING!!!!
    FIX THIS PLEASE.
    Oh, I just ran out of capital letters. :) :) :)

  • Firefox is placing a cursor in the html window of pages that cannot be edited messing up the scroll option using the arrow keys

    Whenever I click in a window pane to scroll using my arrow keys it is placing a cursor in the window and scrolling off of it, instead of scrolling the entire page by using the arrow key it is scrolling by the cursor location inside of the window like a word document.

    Hit '''F7''' to turn off caret browsing.
    http://kb.mozillazine.org/Accessibility.browsewithcaret

  • Automatic Cursor Movement in one Graph, in accordance to the cursor in another graph

    I am using two XY graphs each with 4 cursors. I want to assign each cursor of graph A to each cursor of graph B such that the corresponding cursors in graph B moves in accordance to the cursors in graph A.
     I have used Active cursor, Cursor.PosX and it works for one cursor. However when I use the same concept to change the active cursor value and faciliate the automatic movement for all cursors they do not work.
    Message Edited by Chathuri on 08-13-2009 06:26 AM
    Solved!
    Go to Solution.

    Hi,
    As requested I would like to post the solution as to how I tacked the problem. It was actually small mistake on my part. When I connect the two property nodes for each XY graphs I should connect ActiveCursor to ActiveCursor and Cursor.PosX to Cursor.PosX. What I did was connect the Active cursor of A graph to the cursor.index of B graph. I have attached a small screen shot of connecting the first cursor of A graph to the 1st cursor of B graph so that the cursor in B graph follows the cursor in A graph.
    In order to connect more cursors as in my case, the only change to be made is the change in the Acitve cursor constant to, 1,2,......
    Chathuri
    Attachments:
    CursorMovement.JPG ‏7 KB

  • Linking property nodes to two cursors in one graph

    Hello,
    I have got one graph with 2 cursors. And I need to by able to set the coordinates of each cursor by using property nodes. However, if I click right button mouse button - create - property node - cursor - cursor position - -then there are only 3 possibilities "All elements", "X", Y" which links only to one of the cursors (actually I don`t know which). How is possible to link 2 cursors`s position property nodes to 2 cursors in one graph?
     Thank you a lot for discussion.
    Martin Pekar
    Solved!
    Go to Solution.

    Also, if you have more than a few cursors, you can make the code more scalable by using an array of positions and a FOR loop as follows.
    Now the code automatically adapts th the number of cursors you actually have.
    (Of course all other common sense applies, for example only set this when the position changes. Don't write the same cursor postions with every iteration of the loop over and over. )
    Message Edited by altenbach on 05-06-2009 06:25 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    MulticursorII.png ‏4 KB

  • Cursors in XY Graph are blinking

    Hello,
    The graph at XY graph component should be repainted too often (2 - 3 times in second). The graph doesn't blink, because "Update smoothing" option is on.
    But cursors at this graph are repainted every time so they are blinking very strong and customer says it annoys.
    Is it possible to avoid this?
    Thanx

    Hallo Thanx,
    one idee which i had, is to use the property nodes of the XY-Graph to setting the Courser to a fixed position or make them invisibil
    while the measurment is running. One thing about property nodes you should know, they are not very performant, so use them only
    to initialization or deinitialization your processes.
    Best regards
    Lorenz Casper

  • Line using cursor in xy graph

    hi
    how i can draw line using cursor in xy graph
    Solved!
    Go to Solution.

    Hi bijal,
    Not sure what you are planning to do. But you could start with:
    Creating a XY graph. 
    Right click on the XY graph >> Visible Items>> Cursor Legend. 
    Right click on the cursor legend >> Create Cursor >> Free. Up to this step, you should able to create the cursor.
    To obtain the data from the cursor, go to your block diagram >> right click on the XY graph terminal at the block diagram >> Create >>  Property Node >> Active Cursor. This should create the property node for your XY graph. To change a selected property to write, right click on the active cursor >> Change to Read and it should be like below:
    Just input 0 to access the first cursor
    Expend it to access an additional properties >> on the second property, click on it >> Cursor >> Cursor Position >> Cursor X. 
    Expend the properties until you see as below:
    It Cursor.PosX and Cursor.PosY isn't changed to write, do change it to write by right clicking on Cursor.PosX >> Change to Write. Do the same for Cursor.PosY
    Up to point 6, you should be able to obtain data from the XY graph cursor.  
    Use those values to plot into the XY graph. I believe you'll need to find a way to plot XY graph by building an array of clusters. 
    Hope it helps
    Warmest regards,
    Lennard.C
    Learning new things everyday...

  • Restrict the movement of cursors on xy graph

    hello.
    I have an XY graph, with values of 0-10 in X, and of 0-10 in Y. I have two cursors in the graph.
    I do not want the cursor is out of the graph area of 10 * 10, I disabled the auto scale, but the cursor can get out of the area of 10 * 10.
    I also hope that the value of X of the cursor0 does not exceed the value of X of the cursor1.
    I hope you can help me with these restrictions on movement, thank you very much.

    Hey there, If you want to restrict the value of the cursors you can use property nodes to do so..
    Here is an example; you just need to get the value on X of the active cursor (0 or 1) and then compare those values; if the value is smaller; you can use a case structure and a property node to coerce the values.
    Hope this info helps.
    Greetings
    Attachments:
    Untitled 3.vi ‏11 KB

  • Programmatically disabling/enabling cursor in intensity graph

    Hello all,
    I am building a LV interface (LV2011) for a stepper XY stage.  The system "scans" a surface, displaying it on the graph.  I set up to cursors to zoom into a region of interest (ROI).  Pressing a button resizes the scales to the ROI (zooming in on the area).  Sections of code move the XY stage, and read a device.  When done I want to zoom into a ROI and use a THIRD cursor to manually move the XY stage.  I have this working with TWO graphs, based on the "region of interest.vi" I found in the dev zone.  
    What I would like to do is have a boolean toggle controlling ONE GRAPH between setting min/max (cursors 0 and 1) and manual stepper position (cursor 2).  If cursor 2 is visible I want cursors 0 & 1 not showing and visa versa. Can I do this?
    I attached the example - bascially what I did was add a cursor to the 2nd graph, grabbing the XY vales and sending to the stepper controllers. Works great!  I am trying to "combine the two" by resizing the orig graph with a button click (works fine) and then click another button to show the XY stage cursor (and hiding the min/max cursors) - thats the brick wall
    On a seond note - controlling a XY stage using the intensity graph's cursor is really nice; however it would be great if I can control the cursor similar to a slider's "coerce" - has anyone done this?  I assume I have to write a routine in the event that performs some modulo function. Just curious!
    Thanks,
    Steve
    Solved!
    Go to Solution.
    Attachments:
    roi.llb ‏40 KB

    Your exmaple works perfect. Howver I am having probs with Val(sngl) on the XY graph.  On the example you gave, lets say I move the cursor with the mouse - event fires, everyone is happy. If I move the cursor with CODE - nada.  I even read the "Value" of the graph and wrote it to "Val(sngl)" to try to fire the event.  How does one force a trigger on an XY chart when you move a cursor (say cursor idx2) using code?
    Better yet - why when I read the Val and write to Val(sngl) does the event not fire??? I have been searching for a basic XY table with sensor -type project but havent found one yet.  Everyting works great - draginng the cursor moves the XY stage. Now I need to do the auto-scan part  Use code to place the cursor - trigger the even that moves the stage.
    Thanks
    Steve
    Attachments:
    XY_Stage_Rev8.vi ‏53 KB

  • Adobe acrobat text feild value changing when placing a cursor

    Hi,
    I am using adobe acrobat 9 for printing some letters.
    I have a pdf document in that there are bundle of letters. In all letter there are some common text fields are existing.
    Here issue is, the content of first letter values are appearing in all remaining letters common fields when i am placing cursor over the field.
    While i am printing also the first letter are appearing in all letters.
    But when i use adobe 5 the issue is not occurring.
    Please help me, to get rid of this issue.
    Thanks in advance.

    I have pdf document, which consists of multiple letters. All letters have common content but the date field, name of client, address and control number are differ for individual letter.
    Issue is, while i am looking at the letter everything is fine, i mean data is distinct for each letter. The i printed the pdf doc but all letters have same date field, name of client, address and control number which are as of first letter.
    And when i click on text field the content of field is changing and showing same as first letter. When i remove cursor its again distinct.
    For example in first letter date field is 15th feb 2015. In second letter its showing 16th feb 2015. But when i place cursor over the field its changing to 15th feb 2015. while i remove the cursor its showing 16th feb 2015. i printed the letter and its showing 15th feb 2015 in both letters.
    Here the issue is not with the batch program which is placing the data to the doc. As this issue is coming while using Adobe Acrobat 5 to generate the pdf doc.
    I am suspecting some properties change is causing this issue. i try to change one property of text field like back ground color, then the text field value is not changing and if i print also the value is not changing.
    I cant share the pdf document as it has some confidential information.
    please suggest me to resolve this issue.

  • How to set the ChartLength in a multiplot graph

    I have a multiplot chart and I need to set the total number of visible points in the graph. The CNiGraph::ChartLength() sets the total number of points for each plot, not for the whole graph. How can I do that ?

    There is no way to do this automatically with CNiGraph. You should be able to do it manually, but it will require some work. The best way I can think to do this would be to create an array of CNiReal64Matrix instances. Each instance in the array corresponds to one of the plots that you have now. When a new data point is available, add it to the appropriate CNiReal64Matrix instance (instead of calling ChartXY). Then, call CNiPlot:lotXY and pass it the CNiReal64Matrix instance that contains the data. You could keep a running count of the total number of points that are in all of the CNiReal64Matrix instances in the array. When you reach the total number of annotations that you have, you will have to shift the data in one of the matrices. Unfortunately, there is not an easy way to do this with CNiMatrix alone. When it is time to shift the data, the easiest way I see to do it would be to call CNiMatrixT<>::CopyRow to extract CNiReal64Vector instances for each row in the matrix, call CNiVectorT<>:ubSet to shift the data, and call CNiMatrixT<>::AssignRow to put the data back into the matrix, and then plot.
    Will this approach work for you?

  • Cursor in XY-Graph

    Hi,
    I´m using Labview 6.02 and have a question about the cursor in an XY-Graph.
    My task is to set the cursor at the beginning to the zero-position (X). Of
    course this is working only in free-mode. The next task is to prevent
    scrolling. I have done this with the entry
    scrollGraphCursors=FALSE
    in the labview.ini-file. But this doesn´t work I expect. Now it´s possible
    to move the cursor out of the draw-area (so the cursor is not visible). If
    you release the mouse now you will never get control to the cursor again.
    But I can´t use the ´lock to plot´ mode because of my task #1.
    Has anyone a good idea?
    Thanks in advance.
    Best regards,
    Uwe.

    Uwe Rößner wrote:
    > Hi,
    > I´m using Labview 6.02 and have a question about the cursor in an XY-Graph.
    > My task is to set the cursor at the beginning to the zero-position (X). Of
    > course this is working only in free-mode. The next task is to prevent
    > scrolling. I have done this with the entry
    > scrollGraphCursors=FALSE
    > in the labview.ini-file. But this doesn´t work I expect. Now it´s possible
    > to move the cursor out of the draw-area (so the cursor is not visible). If
    > you release the mouse now you will never get control to the cursor again.
    > But I can´t use the ´lock to plot´ mode because of my task #1.
    > Has anyone a good idea?
    > Thanks in advance.
    >
    > Best regards,
    > Uwe.
    You don't need to use the ini file for anything. You can use property
    nodes
    to get control of the cursor. Set the active cursor to cursor 0
    then lock to plot, then set the cursor X position to 0. Then set allow
    drag to true. The user will then be able to drag the cursor in the x
    axis and the cursor will follow the plot values in the y axis. So, you
    must use the property nodes of the graph to control the cursor.

  • 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

  • Multi-plot cursor in xy graph

    I am using an XY graph with 5 curves which belong to one of two y axes each. All curves share the same array of x values. I do not like the cursor legend so I want to read out the values of the one cursor programmatically. I can create a multi-plot cursor which watches all the 5 curves but I cannot find how I can read out the 5 corresponding y values of my cursor. Any help?
    Thanks,
       LX (using LV2014)

    Use the cursor index property value and wire that to an index array function for each y array.

Maybe you are looking for