XY graph as a chart cursor question

I have several XY graphs that are behaving as a chart. On the graph when a user moves the cursor to a peak I read in the X and Y values. I also want to be able to follow that peak until the user moves the mouse again.
Currently when a new data point comes in the cursor stays in the same X location and I get updated data. What I want is, let's say the user moves the cursor to time 8:00:01. When the next update comes along the cursor should stay on time 8:00:01, but right now the cursor stays in position and I am reading in time 8:00:02. Does anyone know how to do this, without using property nodes? As I write this I realize that I can do this with an event structure and property nodes.

By far the best way will be with property nodes etc. The only other idea I had would be to somehow actually plot data as the cursor, therefore when more data comes in the "cursor" actually moves with it. However even to accomplish this I think you would still be using property nodes. So I would say use the property nodes to move a real cursor.

Similar Messages

  • Making different graphs like bar chart in excel sheet

    Hello,
    In my application i have to make different graphs like bar chart,pie chart etc which is present in the excel sheet.In the same excel sheet i have to make the graphs based on the data through java program.
    I am unable to do it.Can anyone suggest me how to do.Is there any api and documents(for reading )for it?
    thanks in advance
    chimpuk

    Hi, you might want to do a search before you post. At the top of the page is a link to advanced search. Right-click on it and choose 'open in a new window'. Now, in the 'with all the words' box type the word excel, then hit the space bar, then type the word chart[b], now down lower clear all the checkboxes except [b]Java Forums, now hit the Search button and you get a list of threads related to excel and chart. Read a few. I think most of your questions will be answered.

  • Copying Graphs and Pie Charts generated in Analysis View to Email item using Excel VBA Macro Code

    Hi
    I am currently working on an exce VBA macro code that would help me take snapshots of the Graphs and Pie charts generated in QC for a particular application and copy the same to an email item using excel VBA macro code.
    I was able to write the code to create an email item. But I have no clue of how i can take snapshot of the graphs in Analysis View using excel VBA
    Any help would be highly appreciated.
    Thanks in Advance
    Regards
    Amit

    useramit,
    You are in the consumer end products forum.  You will also want to ask your question over at the Enterprise Business Community.
    Click the plus sign (+) next to Discussion Boards to drop down all the options for servers, networking and any other professionally related problems.
    http://h30499.www3.hp.com/

  • Crating bar graphs and pie charts

    hi every body
    in my application there is a need of bar graphs and pie charts can any body help me how to draw them

    try http://www.jfree.org/jfreechart/

  • Add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit

    How to add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit. Assume like my test data is like below:
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7
    The above graph generated manually in excel. I want to generate the same using excel report generation toolkit. when I use Excel Insert Graph.vi where the input data is 2D array with numeric data but here labview converts the empty cells (eg.x -axis 1,data1- is empty) as zero and while plotting i am getting zero for empty cell values.
    Can anyone please help me on how to plot the graph without adding zero for empty cells?
    Thanks&Regards,
    Bharathi T
    TE
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7

    Hi Bharathi,
    The Excel Insert graph function takes in only 2d arrays as inputs. Since arrays can only have numeric values, any table with a null string is read as 0. Now to get a plot like you mentioned, you could read the table and replace blank Strings as NaN. NaN values in an array when plotted do not appear in the excel sheet. For reference I have attached a sample vi to help you understand.
    Regards
    Vijetha Nuthakki,
    Applications Engineer
    NI Systems India
    Attachments:
    Excel_graph_multiplot.vi ‏21 KB

  • Graph Cursor Question

    I have a cursor on a XY-graph that I'm trying to adjust (x position) via controls on the front panel.  I have one control that works great and adjusts one number at a time (ex. 500 to 501, etc).  I'd like to have two controls one like I have that would be a fine adjustment (I believe) and another for coarse adjustment that would adjust the value by 50 or whatever.  Hence this would be adjusted first (ex 550) and then the other control would be adjusted for fine tuning (ex to say 551 etc). 
    I'm having trouble figuring this out, and was hoping someone could giv eme some tips or ideas as to what to do.  I thought this might be something fairly common, but maybe not.
    Thanks in advance...
    Using Labview 7.0 and 2010 SP1 with Windows XP and 7.

    LabVIEW 8.0 would make these things much easier, because we have events for cursor movements! .
    In LabVIEW 7.0, you need to code around it. For example, you could place the cursor reads into a timeout event which is only active when the mouse is down on the graph (enable timeout with mouse down, disable with mouse up event).
    The attached shows one simple possibility (I don't think you need the course control).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    DualCursorControl3.vi ‏64 KB

  • XY graph datapoint display using cursor

    Hello to all, I am using XY graph to display amplitude v/s time. While running the vi, data is continuously plooted on graph till user stops the vi. I want to add a feature such that, while running the vi, when user click on the graph on particular position using cursor, it should display corresponding time value and amplitude value of that point. I mean value of Y-axis corresponding to X-axis not the cursor position. When using cursor position, it is ok with X-axis but it shows the position of cursor for Y-axis (as property says) , and I want datavalue of that point not y-axis position.
    I hope it is clear with question. Let me have some example...for y=x graph shown below, you can see for cursor x=4.4 and y=6.8, how to display corresponding datapoint which shoud be y=4.4
    Solved!
    Go to Solution.

    While creating (or even after you created), choose 'Snap to' Plot 0.
    Don't let it be 'Free Dragging'
    Example attached.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Snap to Plot 0.vi ‏10 KB

  • CR XI and charts -newb question within

    Hi All,
    Great website and resource!  I'm a CR newbie and need help with charts.  I'll be using CR to develop single page summary sheets that contain only charts and cross-tabs.  The data is identified by dates that range from 2002 to 2008, and certain charts will show data from certain time range. 
    Here is a theoretical sample:
    Date   Sales (units)
    1/01/02      5
    1/02/03      4
    1/03/04      5
    1/04/05      1
    1/05/06      4
    1/04/06      5
    1/03/07      2
    1/04/07      1
    1/05/08      5
    1/11/08      2
    3/04/09      6
    If I want a bar chart that plots all the sales from a certain year, how do I go about doing that? formula? groups?
    If I want a bar chart that plots cumulative sales from 2002 to 2008, how do I go about doing that?
    please help!!
    Thank You in advance,
    Frank

    Hi Raghavendra,
    Thank you for the great and prompt response!! To further clarify, on my first question, if I only want to display the sales of 2008, and not every year, how do I do that?
    New question: If i wanted to track the occurrences of sales, how would I do that?
    Using the same theoratical example:
    Date
    1/01/02
    1/02/03
    1/03/04
    1/04/05
    1/05/06
    1/04/06
    1/03/07
    1/04/07
    1/05/08
    1/11/08
    3/04/09
    I want to plot on a bar graph that in the month of January, 2007, there were 2 occurrences of sales, and in the month of January, 2008 there were 2 occurences of sales.  How would I do that? 
    Thank You very much!!
    Frank

  • Multiple Chart Types Question

    I have a chart with 4 data series.  The 1st 3 are column and the 4th is line.  The line is removed on the 4th series to show up as a data point.
         The data point for the 4th series shows up as in the middle of the 3 other series so it looks like the data point is related to the 2nd series.  I'm curious what controls this behavior?  Any way to shift it so it appears over the 1st series?
    Thanks!

    Closing Question
    Assigning Points

  • Chart Formatting Question: Line Bar Combo

    Hello -
    I have a quick question regarding the order of labels displayed in the legend on a line bar combo chart. I have figured out how to rearrange the order of bars in the chart (the order is determined by the order of fields in the criteria section), however, OBIEE seems to always put the "line" field before the "bar" fields in the legend.
    I was wondering if there is a way to set the chart to display the "line" field following the "bar" fields in the legend?
    Thanks for the help!
    Jason

    Hi Jason,
    Go for Pivot Chart rather than Chart... and
    Apply Order by s as you want inside pivot....
    Previously even i got the order by problem in chart.. but trying the pivot chart, i resolved my issue...
    So give a try..
    Hope you know about pivot chart. Select Chart Only option from drop-down available for chart position
    Thanks & Regards
    Kishore Guggilla

  • Ref cursor question

    Hi,
    I have stored proc that takes pl/sql table as IN parameter and returns a ref cursor.
    Data from pl/sql table is separated into two table type objects ... oType1 and oType2 based on some condition.
    following works fine...
    If oType1.Count > 0 then
         OPEN list_out FOR
         select col1, col2, col3, col4 ..... col20
         from TABLE(CAST(oType1 AS obj_table_t)) a,
         t1,
         t2
         where a.colvalue = t1.colvalue
         and etc....
    UNION ALL
         select col1, col2, col3, col4 ..... col20
         from TABLE(CAST(oType1 AS obj_table_t)) a,
         t3,
         t4
         where a.colvalue = t3.colvalue
         and different conditions etc....
    I have 4 UNION ALL's. Had to use this because of different where coditions.
    end if..
    The problem is with oType2......
    If oType2.Count > 0 then
    -- getting data from different database using dblink along with values from present database.
    -- resultset columns will be same as above
    -- Question is how to send these results in same refcursor.
    end if;
    Thanks for your time.

    Hi,
    I think that a plsql table is what you want and not a ref cursor. If you have a plsql table based on your user defined type you can keep assigning all the values you want to it and then pass it out of your procedure.
    null

  • "Shadow" next to cursor question

    Hello.
    Very basic question I'm sure but I only bought FCE as I couldn't adjust very well to the i-Movie change.....
    Anyway, I was happily dragging clips into the Timeline, putting some transition effects on them, adjusting, rendering and moving to the next bit. Very basic but what I needed to do.
    Now I must have changed some sort of mode as the cursor now has a small dark shadow to the right of it and I can no longer just grab a chunk on the Timeline and move it or adjust an effect in the same way as before.
    Blowed if I can find what I did or even where to start in the manual.
    Any help appreciated.
    Many thanks.
    Alastair

    I tripped over something similar a while back. I will describe mine and see if it matches yours. I have dozens of clips scattered over a few video tracks. I can select an individual clip then click select it and the 4 way move arrow shows up. I can then drag his clip anywhere. NOW here comes the tricky part.
    1 IF you choose to put this new clip on any particular track you will notice either a right arrow ( NOTE how your tracks are split into 2 parts by a long horizontal gray bar) if your cursor is above the horizontal divider the cursor showsa right arrow --OR a down arrow if your cursor is below that horizontal divider.
    Right arrow means insert ie it will drop your clip right there and shove everything on every unlocked track to the right
    Down arrow means superimpose - it will write over anything on the track you are dropping it onto. Nothing else gets shoved out of the way.
    THe fact it showed up in the middle of a project is bogus --- it may have showed up after you added enough effects etc to have not enough space to put your clip neatly in without over writing what is under it . I jsut tried it and i always see the 2 arrows when i move things around .
    In re only one frame transition i cant help you -- you can set those timers up in some place i cant find right now --
    -- ALso groping around ...

  • This should be an easy Excel Chart Newbie question

    I want to create a simple chart that compares the number of two rows with data in them.  Row A has 75 rows with data - Row B has 25 rows with data.  What would my "data range" look like for a chart to show one 75% one color
    and 25% different color.
    BTW - I don't need to programatically determine the number of rows - this is a one off and I can provide those values.
    Thanks for any help!

    Below should be your data set and resultant graph (you can generate any other type of graph also). 
    Left click 2 times (not double click) bar of B in chart so that only bar B is selected. If you click once only, both A and B will be selected.
    Now right click and Format it will required Fill colour.

  • Changing names of labels of plots of graphs or waveform charts

    I am using a formular vi to do multiple calculations whose answers i display graphically on a waveform chart.
    the problem is that labview does not allow me to change the name of label of the result from the calculation to what i want it to be displayed as to the front panel user.
    well... it does allow me to change it to what i prefer but as soon as i run the vi the label name reverts to "result"
    is there a way of getting around this problem?

    Ok... sorry for the confusion
    see what i meant below
    if for example i am doing an efficiency calculation i would need an input and an output then i would calculate the ratio of the output to the input.
    on my graph i would want to see a plot labels named input, output and efficiency
    in the example attached i have simulated two signals and i did the calculation with the formular vi
    on the front panel i can only see plots labeled DC, DC and DC(Formular Result)
    i want to display these on my graph as Input, Outpt and Efficiency respectively
    hope that clears the confusion
    that is my problem, please give me the answer
    Attachments:
    code example.jpg ‏32 KB
    front panel example.jpg ‏23 KB

  • Help please, I need a line graph from a chart with existing data.

    I am trying to put together a form for tracking my weaight loss. I have decided on a format that I like, but I can't figure out how to create a line graph to represent the chart that collects the data. The graph will need to begin with the "start weight" and track all chages throught the 42 cells until the final "net loss."
    Does anyone know how to set this up as a line graph? Your help would be much appreciated, thank you in advance.

    Skipping ahead and assuming I picked the correct direction then i have a possible solution:
    You need to get the weight loss numbers into a single column. If the table of 42 cells is called Table 1 and the table with the start weight is Table 2 and we call our new table Table 5:
    Cell B2 of Table 5 = Table 2::A2
    Cell B3 of Table 5 =B2+OFFSET(Table 1 :: $B$2,MOD(ROW()-3,7),QUOTIENT(ROW()-3,7))
    Fill down with that formula

Maybe you are looking for

  • Continuous acquisition and analysis in the same time

    Hi, I'm acquiring data with DAQmx at 300kHz. I'm using queues to store data for a moment and I want to analyse a block of data in the same time. How can I do this? I want to detect a variation in voltage and record only data just before the variation

  • How to pass Selection screen values to another program's selection screen

    Hello, I have a requriement where in which i need to pass the selection screen values (say list of pernrs) and few others of one program to selection screen of another.  One option that i came across is using Submit. But am unware how to pass only th

  • Best way to select from 2 tables, based on sum from detail table

    I have a "customer order line detail" table from which I want to report Order Number Customer Number Part Number Line Value { which is Unit Qty * (Unit price - discount%) } But only for orders which are above £1500. And lines which are not "Cancelled

  • Adjusting JTable column width

    I want to set the width of one column and let the other columns have the rest of the width in the table. Right now I am doing this by setting the width of each column. But can someone please tell me if it is possible to do programmatically. I have tr

  • Pathfinder not expanding in CS5

    Hi, Does anyone know why the expand function isn't  working, i've heard that adobe has done away with it, but i really need  to expand some text so i can have a gradient run through it all, and not  just each character. I've just upgraded from CS3 an