Urgent ! help ! Pop-up panel invalidates graph cursor to snap to plot point.

I used PlotXY in the graph control with cursor attribute of '"sanp to point" and produced a plot. Everything is OK before popup a pop-up panel. After the pop-up panel removed, the cursor can't snap to any point of the plot. I tried "SetPlotAttribute (... ATTR_PLOT_SNAPPABLE, 1)","SetPlotAttribute (..., ATTR_PLOT_ZPLANE_POSITION, 0)", they don't work.  I don't know how to solve this problem. I need your help! Thanks!

You are using an undocumented data structure for the multiplot. (one x,  two y, e.g. as seen here).
Each plot needs it's own x!
If you do the following, things work just fine. (same if you use bundle, of course)
... and please add a wait to that while loop. It is actually not even needed. Cursors lock even back in edit mode, of course.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
XYLock.png ‏4 KB

Similar Messages

  • Cursor list "snap to plot"-Cleaning

    Hi!
    When I snap a cursor to a plot the context-menue shows lots of plots that arent actually in the graph anymore.
    How can I clean that up?
    Greets CtheR

    @ABC-Programs,
    this looks promising!
    What do you think is the best way to clear my plot-list up (programmaticaly) since I can only address the plots one by one and not as a whole?
    Wiring an empty array to my xy-graph does not help. And when I remove the plot names the list looks like that:
    @Gak : Hmm, this just deletes my cursor ffrom the list...

  • Xy graph in PDA module does not plot points or update

    The XY Graph for PDA does not plot points or update. Input data is simple cluster of floating point data (x,y)in while structure. The axes scale properly with Configure PDA XY Scales.vi. Cursor legend also OK. Checked line and point attributes-OK. Running 7.0F1 and pocketPC2003. Please help.

    Garret,
    Can you attach the VI so that we can see it? If you think it is a bug in the toolkit, rather than a programing thing I would suggest sending an e-mail to NI. In addition are you using eVT 3 or 4 or both?

  • Snapped cursor jumps when new plot added

    I have an XY graph in while i have a "snap to point" cursor on. When I add a new plot to it.. the cursor moves plots.. but I would like it to stay still... if anyone knows.. why would this happen? not to mention.. how would I go about getting it to stay still. I have a attachment of what Im doing, on top is before adding a plot.. then below is when i added the plot.. (i have it set up so it changed the color of the plot when the cursor is snapped to its point, so thats what the color change is.)
    Attachments:
    xygraph19735.gif ‏52 KB

    You may also try either setting the Active Plot Property of the graph to the original plot number before and after adding new data or read the cursor's index position prior to adding the plot and simply resetting it to that position after the data is loaded.
    See the example attached.
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    Cursor.vi ‏50 KB

  • Urgent  help needed(java frames)

    Hi,
    I need urgent help for correcting a piece of code.
    I have written a piece of code for building a gui with some buttons, drawing some geometric shapes.The code consists of two files called Graph and Frame.
    The problem I suppose in the last part of the Graph file, which Rectangle and Circle are called together, the only shape that the program draws is rectangle.Here is the code:
    //Graph
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import java.util.*;
    public class Graph extends JPanel {
    LinkedList color;
    LinkedList figures;
    public Graph() {
    setBackground(Color.white);
    figures = new LinkedList();
    color = new LinkedList();
    int z;
    class Point {
    int x;
    int y;
    public Point(int x, int y) {
    this.x = x;
    this.y = y;
    public Point(Point p) {
    x = p.x;
    y = p.y;
    public String toString() {
    return "(" + x + ", " + y + ")";
    public void move(Point dist) {
    x += dist.x;
    y += dist.y;
    abstract class GeomFigur {
    public abstract void move(Point p);
    class Line extends GeomFigur {
    Point p1, p2;
    public Line(Point p1, Point p2) {
    this.p1 = new Point(p1);
    this.p2 = new Point(p2);
    public String toString() { return "Line from " + p1 + " to " + p2;  }
    public void move(Point dist) {
    p1.move(dist);
    p2.move(dist);
    class Rectangle extends Line {
    public Rectangle(Point p1, Point p2) {
    super(p1, p2);
    public String toString() { return "Rectangle from " + p1 + " to " + p2; }
    class Circle extends GeomFigur{
    Point centre;
    int radius;
    public Circle(Point centre, int radius) {
    this.centre = new Point(centre);
    this.radius = radius;
    public String toString() {
    return "Circle, centre " + centre + ", radius " + radius;
    public void move(Point dist) { centre.move(dist); }
    public void addRectangle(int x, int y, Color col) {
    Rectangle r =new Rectangle(new Point(x,y),new Point(x+20,y+20));
    figures.addLast(r);
    color.addLast(col);
    repaint();
    public void addCircle(int x, int y, Color col) {
    Circle c =new Circle(new Point(x,y), 1 );
    figures.addLast(c);
    color.addLast(col);
    repaint();
    public void paintComponent(Graphics g) {
    super.paintComponent(g);
    for (int i=0;i < figures.size();i++) {
    Rectangle rect = (Rectangle)figures.get(i);
    //Circle circ = (Circle)figures.get(i);
    g.setColor(Color.black);
    g.drawRect(rect.p1.x,rect.p1.y,20,20);
    g.setColor((Color)color.get(i));
    g.fillRect(rect.p1.x,rect.p1.y,20,20);
    //g.setColor(Color.black);
    // g.drawOval(circ.centre.x,circ.centre.y,20,20);
    // g.setColor((Color)color.get(i));
    // g.fillOval(circ.centre.x, circ.centre.y, 20, 20);
    //Frame
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class Frame extends JFrame implements ActionListener {
    JButton button1, button2, button3, button4, button5 ;
    Graph gr;
    JComboBox cbx;
    JComboBox cby;
    JComboBox col;
    JMenu filemenu;
    JMenuItem quit;
    JMenuBar menubar;
    int x=10;
    int y=10;
    Color color=Color.red;
    public Frame() {
    menubar = new JMenuBar();
    filemenu = new JMenu("File");
    filemenu.setMnemonic('F');
    quit = new JMenuItem("Quit");
    quit.addActionListener(this);
    quit.setMnemonic('Q');
    quit.setAccelerator(KeyStroke.getKeyStroke('Q',Event.CTRL_MASK,false));
    filemenu.add(quit);
    menubar.add(filemenu);
    setJMenuBar(menubar);
    button1 = new JButton("Rectangle");
    button1.addActionListener(this);
    button2 = new JButton("Circle");
    button2.addActionListener(this);
    button4 = new JButton("Ellipse");
    button4.addActionListener(this);
    button5 = new JButton("Triangle");
    button5.addActionListener(this);
    button3 = new JButton("Reset");
    button3.addActionListener(this);
    String[] elements_x= {"10","20","30","40","50","60","70"};
    cbx = new JComboBox(elements_x);
    cbx.addActionListener(this);
    cbx.setActionCommand("cbx");
    String[] elements_y= {"10","20","30","40","50","60","70"};
    cby = new JComboBox(elements_y);
    cby.addActionListener(this);
    cby.setActionCommand("cby");
    String[] elements_color = {"Red","Blue","Green","Orange","Yellow" };
    col = new JComboBox(elements_color);
    col.addActionListener(this);
    col.setActionCommand("col");
    gr = new Graph();
    JPanel top = new JPanel(new BorderLayout());
    JPanel inputs = new JPanel(new GridLayout(6,1));
    inputs.add(button1);
    inputs.add(button2);
    inputs.add(button3);
    inputs.add(button4);
    inputs.add(button5);
    inputs.add(cbx);
    inputs.add(cby);
    inputs.add(col);
    top.add(gr,BorderLayout.CENTER);
    top.add(inputs,BorderLayout.WEST);
    getContentPane().add(BorderLayout.CENTER, top);
    setSize(500,300);//set window size
    //take care of actions
    public void actionPerformed(ActionEvent e) {
    String command = e.getActionCommand();
    if (command.equals("Quit")){
    System.exit(0);//terminate program
    else if (command.equals("Rectangle")){
    //add Rectangle to graph at
    //position x,y and with certain color
    gr.addRectangle(x,y,color);
    else if (command.equals("Circle")){
    gr.addCircle(x,y,color);
    else if (command.equals("Reset")){
    else if (command.equals("Triangle")){
    else if (command.equals("Ellipse")){
    else if (command.equals("cbx")){
    x=Integer.valueOf((String)((JComboBox)e.getSource()).getSelectedItem()).intValue();
    else if (command.equals("cby")){
    y=Integer.valueOf((String)((JComboBox)e.getSource()).getSelectedItem()).intValue();
    else if (command.equals("col")){
    String temp=(String)((JComboBox)e.getSource()).getSelectedItem();
    if (temp=="Red") color=Color.red;
    else if (temp=="Blue") color=Color.blue;
    else if (temp=="Green") color=Color.green;
    else if (temp=="pink") color=Color.pink;
    else if (temp=="lightGray") color=Color.lightGray;
    //main program
    public static void main(String [] args) {
    Frame appl = new Frame();
    appl.setVisible(true);
    Thanks in advance
    Marina

    Hi,
    You are very lucky that I'm currently boored. You should never tag a question as urgent. It might be urgent to you, but not to us who answer. And you should also use code formatting when you post code (see the formatting tips, or use the code-button).
    I made some changes to your Graph class. The most important thing is the abstract draw method that I added to the GeomFigur class.
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class Graph extends JPanel {
        LinkedList figures;
        public Graph() {
            setBackground(Color.white);
            figures = new LinkedList();
        int z;
        abstract class GeomFigur {
            protected Color color;
            public GeomFigur(Color color) {
                this.color = color;
            public abstract void move(Point p);
            public abstract void draw(Graphics g);
        abstract class Line extends GeomFigur {
            Point p1, p2;
            public Line(Color c, Point p1, Point p2) {
                super(c);
                this.p1 = new Point(p1);
                this.p2 = new Point(p2);
            public String toString() {
                return "Line from " + p1 + " to " + p2;
            public void move(Point dist) {
                p1.move(dist.x, dist.y);
                p2.move(dist.x, dist.y);
        class Rectangle extends Line {
            public Rectangle(Color c, Point p1, Point p2) {
                super(c, p1, p2);
            public String toString() {
                return "Rectangle from " + p1 + " to " + p2;
            public void draw(Graphics g) {
                System.out.println("Draw rectangle at " + p1 + " with color " + color);
                g.setColor(Color.black);
                g.drawRect(p1.x, p1.y, 20, 20);
                g.setColor(color);
                g.fillRect(p1.x, p1.y, 20, 20);
        class Circle extends GeomFigur {
            Point centre;
            int radius;
            public Circle(Color c, Point centre, int radius) {
                super(c);
                this.centre = new Point(centre);
                this.radius = radius;
            public String toString() {
                return "Circle, centre " + centre + ", radius " + radius;
            public void move(Point dist) {
                centre.move(dist.x, dist.y);
            public void draw(Graphics g) {
                System.out.println("Draw circle at " + centre + " with color " + color);
                g.setColor(Color.black);
                g.drawOval(centre.x, centre.y, 20, 20);
                g.setColor(color);
                g.fillOval(centre.x, centre.y, 20, 20);
        public void addRectangle(int x, int y, Color col) {
            System.out.println("x,y,col " + x + ":" + y + ":" + col);
            Rectangle r = new Rectangle(col, new Point(x, y), new Point(x + 20, y + 20));
            figures.addLast(r);
            repaint();
        public void addCircle(int x, int y, Color col) {
            System.out.println("x,y,col" + x + ":" + y + ":" + col);
            Circle c = new Circle(col, new Point(x, y), 1);
            figures.addLast(c);
            repaint();
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            for (int i = 0; i < figures.size(); i++) {
                GeomFigur drawable = (GeomFigur)figures.get(i);
                drawable.draw(g);
    }/Kaj

  • Urgent help needed for hysterical female!

    I need urgent help in editing a pic that has been emailed to me, I do not know which Adobe programme to upload it too.  Currently use Picasso - usually brilliant, but now gets jammed with a pop up box asking me to either accept or deny picnik.  When I googled picnik, it now belongs to Google - don't know how to do a damn thing now!!  Extremely Frustrated, can anybody suggest/help me

    The only Adobe program I know that can edit images is Photoshop.
    If you have troubles with Google software, you need to post in the appropriate Google forum.

  • Urgent help to save a waveform as jpeg to a specifi folder on my pc

    Hello
    I'm practically very new to labview and maybe even to the forum that I might be posting this question in the wrong place (sorry about that).
    I need urgent help on the following issue (prob. a very easey one)
    here is a picture copy of one portion of my vi:
    I'm able to save the data in text format, no problem there. it saves the dat file into C/NLdat folder. this is ok.
    I also want to save the waveform chart into same folder NLdat. I did the right click on "waveform > create invoke node> get image" but doing this is not saving my jpeg anywhere. could you please show me step by step how to save it (what type of things I need to use specifically, as I feel like a idiot now)
    Thank you so much!
    Attachments:
    gk jpeg.jpg ‏42 KB

    You also need to make sure that getting the image happens after the xy-graph has been updated. Currently both things happen in parallel and there is no guarantee what happens first. there is a 50% chance that the image contains stale data.
    LabVIEW Champion . Do more with less code and in less time .

  • I need urgent help to remove unwanted adware from my iMac. Help!

    I need urgent help to remove unwanted adware from my iMac. I have somehow got green underline in text ads, pop up ads that come in from the sides of the screen and ads that pop up selling similar products all over the page wherever I go. Its getting worse and I have researched and researched to no avail. I am really hestitant to download any software to remove whatever it is that is causing this problem. I have removed and reinstalled chrome. I have cleared Chrome and Safari cookies. Checked extensions, there are none to remove. I need to find an answer on how to get rid of these ads. Help please!

    You installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/Application Support/VSearch
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchAgents/com.vsearch.agent.plist
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    Restart and empty the Trash. Don't try to empty the Trash until you have restarted.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. It must be said that this failure of oversight is inexcusable and has seriously compromised the value of Gatekeeper and the Developer ID program. You cannot rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • URGENT HELP!!!!! Deauthorization!!!!!

    I need urgent help!! I have authorized my account on my computer and one other computer, but recently i copied some music onto my friends ipod from my computer. He went home to his house, and plugged in his ipod, a messege came up and he now has access to ALL my music i have payed for!!!! I wish to deauthorize all but i cant becuase i need 5 computers... Do i have to go to his house and delete all my music from his ipod and deauthorize my account on his computer???? Apple, you really need to fix this. I wish to just have my music on MY computer, now my friend can access ALL MY MUSIC!!! :@. what do i do? please respond FAST. I think his account maybe authorized on my computer, thats how i got to copy my music onto it, usually you cant copy music to another ipod that isnt mine, i dont know why i can copy onto his ipod!!! his ipod is for HIS computer!! for somereason i could copy all my music, even my paid music!!! *** DO I DO PLEAE HELP URGENTLY!!!!

    ok well this is exactly what he said to me in an email:
    "Jack
    My ipod has just popped up with an error
    It says all files will be deleted unless this computer authorizes its authenticity. Please authorize to continue use.
    When I clicked authorize it came up with your mothers account on apple and thus explains why you could use my ipod.
    So... this means I have been taking advantage of your account and when I checked it showed everything you paid for has also been delivered to me!!!!
    ahahahaha"
    So..... what do i do now? i dont think it's my mother though. it would be mine. So what do i do? i have copied a couple of "paid" songs to his ipod, so would i just have to delete ALL the songs from his ipod first, then deauthorize it?? becuase if i deauthorize my account, and he has only just one song, the messege might pop up again??? and he can access all my music again? what should i do?

  • Implementation Restriction 'DBMS_LOB.READWRITE'  Urgent Help

    *"Implementation Restriction 'DBMS_LOB.READWRITE' Cannot directly access remote package variable or cursor"*
    Hello,
    I need urgent help in implementing DBMS_LOB package.
    I need to write data in LOB object using DBMS_LOB object
    following code is written in PRE-UPDATE Trigger for the block CTX
    on the form i have taken Clob_Desc_f as non database field of type CHAR(26000)
    After querying the data I change Clob_Desc_f and enter the new data when saved it shoud empty the lob field based on the key value with empty lob
    and then write the data into lob
    DECLARE
    w_Description_Clob CLOB;
    BEGIN
    Here Clob_Desc is the lob field in table cxt
    UPDATE Cxt
    SET Clob_Desc = Empty_Clob()
    WHERE Cxt.Key_Field = :Cxt.Key_Field RETURNING Clob_Desc INTO
    w_Description_Clob;
    Dbms_Lob.OPEN(w_Description_Clob, Dbms_Lob.Lob_Readwrite);
    Dbms_Lob.WRITE(w_Description_Clob
    ,Length(:Cxt.Clob_Desc_f)
    ,1
    ,:Cxt.Clob_Desc_f
    Dbms_Lob.CLOSE(w_Description_Clob);
    END;
    The above code gives error saying
    *1] RETURNING clause is not supported in client-side program.*
    *2] For the statement*
    Dbms_Lob.OPEN(w_Description_Clob, Dbms_Lob.Lob_Readwrite);
    gives error as " Implementation Restriction Dbms_Lob.Lob_Readwrite : Cannot directly access remote package variable."
    How can I use Dbms_Lob.OPEN
    Thanks in advance.
    Regards,
    Sourabh

    Hello,
    Here is the constants you can use directly:
    * file_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readwrite CONSTANT BINARY_INTEGER := 1;
    * lobmaxsize CONSTANT INTEGER := 4294967295;
    * call CONSTANT PLS_INTEGER := 12;
    * session CONSTANT PLS_INTEGER := 10;
    * warn_inconvertible_char CONSTANT INTEGER := 1;
    * default_csid CONSTANT INTEGER := 0;
    * default_lang_ctx CONSTANT INTEGER := 0;
    * no_warning CONSTANT INTEGER := 0;
    10g
    * file_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readonly CONSTANT BINARY_INTEGER := 0;
    * lob_readwrite CONSTANT BINARY_INTEGER := 1;
    * lobmaxsize CONSTANT INTEGER := 18446744073709551615;
    * call CONSTANT PLS_INTEGER := 12;
    * session CONSTANT PLS_INTEGER := 10;
    * warn_inconvertible_char CONSTANT INTEGER := 1;
    * default_csid CONSTANT INTEGER := 0;
    * default_lang_ctx CONSTANT INTEGER := 0;
    * no_warning CONSTANT INTEGER := 0;
    Francois

  • XY graph cursor position bug

    I have reproduced the bug mentioned here:
    http://forums.lavag.org/Graph-Cursor-XY-Position-Bug-t1366.html&gopid=40859#entry40859
    I've reproduced this bug (?) in Labview 8.5, with an XY graph doing
    much the same as Jack. The attached zip file contains a stripped down
    version of my program (originally written by my coworker, Andrew
    MacDonald). Run "RENA3 Data Viewer.vi" and follow the instructions.
    As Jack said, changing Cursor.PosX to Cursor.Index solves the problem.
    I did not find this bug mentioned anywhere other than the above link.
    Fraser
    Attachments:
    XY Graph Cursor Bug.zip ‏142 KB

    Hi Karla,
    Sorry if that wasn't as obvious as I thought! :-)  Hopefully the attached image makes it clear.  On the front panel, 'Cursor Channel' is inputted.  This is directly wired to Histogram.Cursor.PosX.  Immediately following, Histogram.Cursor.PosX is read and wired to the front panel indicator 'Cursor.Cursor Position:Cursor X'.  There is always a difference of 15 or 16 between the two values.  If there was no bug, these two values should be identical!  I can only conclude that Labview is doing something funny...
    As I mentioned before, changing Cursor.PosX to Cursor.Index fixes the problem.
    A bit of background:  my FWHM function outputs the peak channel, and the cursor is supposed to go through the peak so you can have a visual check that it is analyzing the right peak.  I noticed that the line would never go through the peak; the line would always have an offset.  After wasting a couple of hours, it became clear that I was wiring the correct value into 'Cursor.PosX', but something was going wrong beyond that.
    Cheers,
    Fraser
    Message Edited by fjharris on 01-25-2008 11:34 AM
    Message Edited by fjharris on 01-25-2008 11:36 AM
    Attachments:
    Labview Bug.png ‏27 KB

  • Mixed Signal Graph: Cursor Position Property for Multi-Plot Cursor

    I'm working 6 waveforms on 3 different plot areas in a mixed signal graph in LV2009.  When I try to pull the Cursor.PosY property from my cursor (in which Watch All Plots is True, and is set to Multi-Plot in the graph properties), it returns the value of only the first plot in the cluster of waveforms fed into the graph.  I've tried changing the active plot, active plot area, nothing changes.  I am able to retrieve each value via the cursor legend, but I cannot pull each of those values into another portion of my program.  Also, I noticed that when setting events in an event structure, any events relating to a cursor drag aren't present as they are in a waveform graph.  My workaround is to create an indicator for the Cursor.PosX property and monitor when that value changes, but I feel there should be an easier way.  Any help is appreciated.
    Thank you in advance!

    Jeanius,
       I am not quite sure why the cursor pos in the Wavegraph reference does not change when you change the active plot, but if you grab a reference to the specific cursor and then change the active plot things you receive the expected behavior.
    Ben J.
    National Instruments
    Applications Engineer
    Attachments:
    MODDEDmixed graph cursor ex.vi ‏41 KB

  • Qucik Graph Cursor Legend Questions

    Hi all,
    I have a couple of quick questions regarding my graph cursor legend:
    1. Is it possible to move the position of the cursor legend during runtime? I cannot seem to drag it around the graph?
    2. Can I hide/remove the cursor mover? This is not needed and is for this vi as I need to be able to manually drag the cursors only.
    I am accessing the cursor legend during runtime through a right-click and selecting "visable items:.
    Thanks,
    Jack

    Hi please check Using Cursor Legend in this link if it is helpful
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/customizing_graphs_and_charts/
    Sorry i don't know exact answer for questions, But did you try property node of Cursor.
    -To access it, right click the graph indicator in Black Diagram and go to create>>Property Node>>Cursor.
    -Lot of options regarding cursor available there, you can make selected property to write or change the parameter. and check this for help on cursor properties
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/cursor_p/
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • Change mouse cursor over graph cursor.

    Is there a way to change the mouse cursor as it moves over graph cursors when using trackmode TrackDragCursor? To indicate that you can position the cursor.

    You could accomplish this with the graph's CursorMouseMove event. For example, create a new project with the NI Measurement Studio AppWizard and follow these steps:
    Add a graph to the dialog. Right-click on the graph in the dialog editor, click "Class Wizard ...", click the Member Variables tab and add a member variable for the graph called m_graph. Click OK.
    Right-click on the graph in the dialog editor and click on "Events ...". Add an event handler for CursorMouseMove called OnCursorMouseMove and add an event handler for PlotAreaMouseMove called OnPlotAreaMouseMove. Click OK.
    Go to the header file for your dialog class and add this to the bottom of the class declaration:
    private:
    bool m_cursorChanged;
    HCURSOR m_defaultCursor;
    HCURSOR m_crossCursor;
    Go to the source file for your dialog class and add this to the end of the
    OnInitDialog method:
    m_graph.TrackMode = CNiGraph::TrackAllEvents;
    m_graph.Cursors.Add();
    m_cursorChanged = false;
    m_defaultCursor = ::LoadCursor(NULL, IDC_ARROW);
    m_crossCursor = ::LoadCursor(NULL, IDC_CROSS);
    Add this to your CursorMouseMove event hander:
    if (!m_cursorChanged)
    :etCursor(m_crossCursor);
    m_cursorChanged = false;
    Add this to your PlotAreaMouseMove event handler:
    if (m_cursorChanged)
    :etCursor(m_defaultCursor);
    m_cursorChanged = true;
    Run the application. You should see that the mouse cursor changes to a cross when you mouse over the cursor.
    Hope this helps.
    - Elton

  • Unexpected Windows cursor/Waveform Graph cursor behavior

    Hi,
    I got a very strange Windows cursor behavior with waveform graph. Simplified VI is attached.
    LabVIEW 2014 SP1
    The problem is:
    The VI contains only one waveform graph.
    1. I start the VI. Cursor Movement Tool is selected in the Graph Palette by default. Corresponding “Cross with dot” Windows cursor appears when mouse is moved over the plot area (see image). So far so good.
    2. I select Zoom in the Graph Palette and use it two-five times (second image).
    3. I select Cursor Movement Tool in the Graph Palette again but Windows cursor does not change as it should. It is an open cross now (third image); i.e. the same as shall appear when cross of Graph Cursor Lines is reached.
    4. I click mouse three-seven times anywhere in the plot area and the cursor becomes normal (as in the first image).
    The problem is not only in shape of the Windows cursor. The whole Graph cursor functionality does not work properly if the Windows cursor has the wrong shape.
    Please advise what could cause this problem.

    It seems, i cannot explain the question in good way
    It is not about my data or zooming. It is about strange bahaviour of the Graph. The following sequence of steps illustrates the problem and shows that the zooming is not the issue (or, at least, not the main issue):
    I do the following:
    1. Start the VI.
    2. Select first Graph cursor in Corsor palette and use pop-up menu "Bring to Center".
    3. Zoom couple of times (not too much) keeping the Grapg cursor visible.
    4. Select Cursor Movement Tool in the Graph Palette.
    5. "Open cross" Windows cursor appears from the beginning. I cannot pick up the Graph cursor.
    6. Click left button of the mouse several times in any poin of the graph area.
    7. Windows cursor is changed to the normal "cross with central point".
    8 Now I can pick up the Graph cursor.
    I would suspect problems with zoom until p.5. However p.6-8 are done without any change of the zoom.
    By the way, I found more:
    If I try to move the Graph cursor after p.5, the whole graph moves and fires event "Scale Range Change". It must not happen with Cursor Movement Tool selected.
    I can guess only about some strange setting of the graph. May be I am not aware about them

Maybe you are looking for

  • Invoking ORACLE Stored Procedure

    Hello guys, I have an ORACLE stored procedure which I need to invoke. I'm currently unable to invoke the stored procedure since I'm always getting the same error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing

  • Passing gif as parameter to report

    I am doing a conversion of my web app from using CR4E to BOE XI V3.1 and using the RAS for server side printing.  With CR4E we have a OLE picture object in our reports and we send the image the customer wants to use in their reports as a parameter. 

  • Updateable blog containing text and pics

    Hi, I've managed to create a text box that displays text contained within a text file in the same directory as the swf. Now the user wants this to be a scrollable blog where they can add text and pics as and when they need to. Is there a way to do th

  • General ipod

    I have music on my ipod which isnt on my library meaning my ipod is not backed up. I have 2200 songs on 'ipod' but only 1100 songs in my library. how do I balance the two? Ihave the u2 special edition ipod (not colour). what generation is that? I wan

  • I cannot send emails on my iMac.10.7.5. All has been working well with icloud etc..I can still recieve but I cannot send, anyone help please?

    My emails have been working well on my IMac 10.7.5 and icloud. Then for some reason, I cannot send emails! I can still recieve but I cannot send. When it comes up with that error message I try all the other servers it suggests but none of them work.