Error 1055 on Graph cursors.

I am using LabView 2010, expanding on one of the example vis for data acquisition.  I want to use graph cursors to allow someone to zoom in on a particular part of a graph.  To do so, I have been trying to use property nodes.  When a graph has more than one cursor, the property nodes seem to access only the highest indexed cursor.  So, I tried to apply a property node to a graph with just one cursor.  In particular, I tried to access the x-value of the cursor.  When I then run the vi, I get error 1055 "Object reference is invalid".  I had hoped to construct the property nodes for one cursor, then add another cursor, and attach property nodes to it.  There does not seem to be a way to use property nodes to specify which cursor I am accessing.  I have tried a property node with two properties: select cursor as an input, and x-value as an output.  The "select cursor" property input seem to have no effect at all.
Is there an example vi for programmatically extracting information from graph cursors?
Joe Rudmin
Solved!
Go to Solution.

Joe,
Please take a look at my screen shot as a reference for getting the x position for a cursor on a graph object. I hope this helps.
Right clicking on the graph and hover over create then property node, cursor, cursor position then cursor x. This should create a property node that gives the position of the cursor on the graph. I understand you are trying to use multiple cursors but this will get you started.
Kyle Hartley
RIO Product Support Engineer
National Instruments
Attachments:
cursor position.JPG ‏42 KB

Similar Messages

  • XY Graph cursor Error

    Hello
    This error was found, when I started using LabView 8, with my old LabView 6.1 VI's.
    I have encountered a minor error on my Graph display. I noticed my Y-Scale numbers go negative, if I Press and Hold my Graph cursor, while I am moving it.
    I run this same test using New LV 8 XY Graph and numbers do not go negative, but they surely flicker a lot + numbers still change some.
    Have you noticed this before? Is there some new property I need to set up, to make my LabView 6.1 Graph stable? Is this known bug or am I just doing something wrong?
    Here is VI for your testing. My LabView 8 version is 8.0.0.4005.
    Just run it and while moving yellow cursor (press+hold+move), after 1-2 seconds of holding something happens.
    Yours
                                         Kari
    Attachments:
    Cursor Test.vi ‏84 KB

    Hello Karik.
    I experience the exact same problem in the application I'm programming.
    The only solution I have come up with is having the cursors Y-axis
    centered in the visible area of the graph.
    However this is really bad because there is will create a smal "hole"
    in the cursor bar, it looks awfull. I think this is a bug in lv8 since
    in lv7.1 I could tie down the y-axis to like -10000 or something and
    the problem would not appear.
    Hope NI fixes this problem really really soon.
    //Andreas

  • Error 1055 using XY graph's node property

    Hello I'm using the node property block to specify the plot name of a XY graph (and other things). But is so strange because it makes an error 1055 , incorrect object. I'd run this application before and I'd no
    problems, what is the reason?
    Thank you
    Larson

    Error 1055 occurred at Property Node (arg 6) in 29-08.vi
    Possible reason(s):
    LabVIEW:  Object reference is invalid.
    This is the node property I'm using (case false and true). It runs correct but if I introduce the plot name attribute it makes this error. But this plot name is a constant.
    Attachments:
    case_false.bmp ‏1031 KB

  • I'm getting error 1055

    I'm getting an error 1055 in the report generation - my Labview ver is 8.6.1
    I don't know what to do here to resolve this  
    I thank for your help.
    Dana
    Solved!
    Go to Solution.
    Attachments:
    err vi.png ‏71 KB

    thank you very much that works !!

  • Error 1055 occurred at Property node

    Generating the error:
    "Error 1055 occurred at Property Node in ...   Possible reason(s):  LabVIEW object reference is invalid."
    when I try to wire the IMAGE OUT output from the IMAQdx Snap vi to the value property of an externally referenced image display control.
    To describe in more detail, I have a parent vi with an image display control and a child vi which has a control refnum linked to the parent vi display. In the child vi I create a value property for the refnum and try to write images to it, essentially to drive the parent display from the child vi.
    The technique works elsewhere, though I can't think of what I could have done differently to generate this error?

    Hi Mike - looks like I may not need to. I've been working away at this and have found the original cause and something else a bit weird...
    I deleted the objects from the sub-VI that was giving me errors, then cut and pasted the objects (image display refnum and value property) from a VI that was working and this solved the problem. So you might think that the issue was just some obscure configuration item, or I'd used the wrong type in my reference or something.
    I found the display reference in the parent VI was not even wired to the sub VI - duh! Error between keyboard and chair. So at least the original error message made sense, but I have no idea why it actually worked after pasting in the new objects. Are these references using some sort of auto-magic? Who knows. Safer to wire up my sub-VI's properly methinks.
    Sorry for wasting forum time on this one.

  • Build error after upgrading from 8.2.1 to 8.5 "Error 1055 occurred at Invoke Node..."

    After upgrading to 8.5, I'm getting the following error when trying to build an EXE:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1055 occurred at Invoke Node in AB_Source_Library.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  Object reference is invalid.
    I have been building this application for both Windows and Mac OS, and I even get the same error when building the .app on an Intel Mac.
    Things that I've already tried:
    * Mass-compiling all my code
    * Created the project from scratch
    * Enabled each panel of the "diagram disable structure" one at a time and compiled again
    Any ideas?

    Hi Travis,
    Ben’s advice if definitely the best place to start. Error 1055 is a very general LabVIEW error for “Object reference is invalid.” The cause is usually a bad install where important LabVIEW function aren’t placed in the right directory or aren’t installed at all.
    Charlie M. CLD

  • How do I get an event-based response to a graph cursor change?

    I want to respond to the user moving a cursor on a data (X-Y) graph. (LV 7.0)
    What I really want is an event called "Graph.Cursor.Value Change", which would supply me with the new coordinates, but I see no such event.
    If I use the MOUSE MOVE event to trigger obtaining the cursor values, it does not give me an event, until the cursor has stopped moving, the button is up, and the mouse moves off the cursor line.
    Sure, I could use a TIMEOUT event, and read it every 100 mSec, but I don't like the time lag.
    What I did was to set a flag TRUE on Graph.MouseDown and FALSE on Graph.MouseUp. I then choose an event timeout of 10 mSec or -1, depending on that flag.
    That works, but is there a more direct way that I'm missing?
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

    No, unfortunately there is not.
    To code around this limitation, I typically use the timeout event in a more complex way as follows:
    The timeout is wired to a shift register that is initialized with "-1" (no timeout). The value from the shift register then crosses the event structure and feeds to the shift register on the right in almost all event cases.
    I add two special event cases:
    (1) "graph-mouse down" puts a small number (e.g. 10ms) in the right timeout shift register
    (2) "graph-mouse up" puts again a -1 in the right timeout shift register
    (x) All other event cases (incl. timeout) wire the current timeout straight across to the right shift register.
    The timeout event contains the logic to read the graph cursors and associated actions.
    This way there is normally infinite timeout. Once the mouse goes down on the graph, the timeout executes at relatively rapid succession until the mouse is raised again. At which point everything quiets down.
    LabVIEW Champion . Do more with less code and in less time .

  • SQL*Loader-925: Error while parsing a cursor (via ocisq)

    Receiving the following error message when trying to use SQLLoader (on NT) >>>
    SQL*Loader-925: Error while parsing a cursor
    (via ocisq)
    ORA-00942: table or view does not exist
    Trying to use the application for the first time, logon using userid for which sqlplus operates, and the table does exist under the user schema, as owner.
    ctl and dat file are correct. Log file gives me no further detail of the errors.
    Are there any configuration settings or something required for this app?
    Thanks

    Thanks Warren. I was concentrating more on the first line of the error.
    You are right. The issue was of insufficient privileges. The table did not have all the necessary grants provided.

  • Graph Cursor Controls

    On the graph cursor control (the 4 sectioned diamond that appears withthe cursor legend) I'm wondering what the top and bottom diamond do if anything. The left and right ones are simple enough (forward or back one sample) but the top and bottom ones don't seem to do anything from what I can tell. Are they just for decoration?
    Solved!
    Go to Solution.

    Dan,
    I never noticed that before but you're right, in a multi plot graph the up/down diamonds will attach the cursor to a different plot. I never noticed before because I usually change my cursor style so as to not show the horizontal line (just shows the vertical stripe for the cursor).

  • Xy graph cursor blinks

    Hi All,
    I have an xy graph and i cud find that the graph cursor always seems to blink....
    I never had such a problem before...
    Anybody knows solution for this
    Thanks in advance

    Hi,
    I attached the screen shot and example VI for you.You can right click on the Curosr tool and select snap to cursor.MAy be you can send me the screen shot of your VI ,so can see what going on.
    Regards.
    Syed.
    Attachments:
    gengraph.llb ‏32 KB
    XY.JPG ‏170 KB

  • 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

  • XY Graph Cursor Problem in Labview 7.1.1?

    Hallo,
    I am  using Labview 7.1.1 and I am facing one problem with XY graph cursor. If I am moving cursor in one graph, I am expecting same movement in another Graph. But when I move cursor in Graph1, cursor in second graph moves but not to exact X value of Graph1.
    Property of Cursor in both graphs must be "Lock to Plot"
    If any body knows about this please let me know ASAP. I am attaching example VI for your reference.
    Thanks,
    Sashi
    Attachments:
    XY Graph Cursor Problem.vi ‏101 KB

    It's a curious effect. Probably the floating point coordinate is sensitive to the exact pixel alignment (I mean that this would not happen if we had for example 1 pixel per point in the X direction).
    Anyway, if you use Cursor Index instead (which is an integer) the behaviour is as expected.
    Paolo
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • 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

  • Application builder error 1055

    ed. cross-post: http://lavag.org/topic/18047-application-builder-error-1055/
    Hello everyone
    I have a big problem with building applications lately. The build is running fine until the end, when it throws:
    Error 1055 occurred at Property Node in VISL_findDependentVISvr.vi->VISL_findAndProcessVISvrList.vi->VISL_detectAndCopyVISvr.vi->AB_Engine_Copy_CustomIOServer_Files.vi->AB_EXE.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW: Object reference is invalid.
    Has anyone seen this error in app builder? Does anyone have any idea how can I resolve this problem?

    Lennard, Valko
    I'm using LV 2013 f2. Let me give you some more details and... The story how I fixed it:
    The project is pretty big (~1500 VIs) and highly object-oriented (~300 classes). It has RT (PXI) and PC part. Some of the classes are shared between PC and RT. The problem with build was present only on PC - build for RT was ok.
    I had DSC module installed, but it was not used in this project at all. Despite that, when I found information from Lennards link, I've tried to build it using "Enable Enhanced DSC Run-Time support". It didn't help. I started to wonder if the sharing of classes between RT and PC has something to do with the problem. So I refactored the project, splitted it into two projects (one for PC, one for PXI) and reduced number of shared classes (especially some specific classes, which implement "threads"). Afterwards, the build could be done just fine, but only in those refactored projects.
    Now for the plot twist: before refactoring, I've tried to build the project on another computer. It was build without any problems! So I started to look for the differences. First of all, just before the build I've updated one of our internal libraries in VIPM and changed its name - so it was my main suspect (I needed to update dependencies in project as the change of VIPM package name changed it folder in vi.lib). This + disconnecting code from VIs and I though that I've just found another way of destroying LV compiler completely. Still, I couldn't fix it in any way...
    As per Valko suggestion I've uninstalled DSC module completely. Once again - my project does not explicitly use this module at all! Removing the module didn't broke anything in the project. And guess what? The build was done without problems! I've even tried to do this build again on the code revision before refactoring, and the build was done!
    tl;dr: REALLY NI!!?!? REALLY!? YOU'VE BROKEN SOMETHING IN THE MODULE WHICH I DON"T EVEN EXPLICITLY USE AND MADE ME LOSE FEW DAYS OF WORK JUST TO FIND IT OUT? REEEEAAAAALYYYYY!?

  • 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

Maybe you are looking for

  • The latest Firefox update, which I have installe on my macbook Os 10.68, seems full of bugs

    I am so fed up with the latest version of firefox. It is incredibly slow, when I enter one url in the web bar it will send me bouncing off to a random address that is on my bookmards toolbar. Before the latest firefox update, I had already noticed it

  • No wireless Internet after updating to iOS 4.3.3 and other bugs

    Hello, Yesterday I updated my iPhone 4 to the latest version (4.3.3), and have noticed that the network is only showing EDGE (E icon) eventhough 3G is enabled. Before this 3G internet was working fine. I checked the APN settings, and they haven't cha

  • Managing statistics for object collections used as table types in SQL

    Hi All, Is there a way to manage statistics for collections used as table types in SQL. Below is my test case Oracle Version : SQL> select * from v$version; BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production PL/SQL Re

  • Issues in Deploying the Sample code

    Hi, I downloaded  BusinessObjects Enterprise Java SDK Sample Code from SDK Developer Library.  I unzipped the content to a folder(Sample) in tomcat/webapps.  Now when I launched the application using the following url http://localhost:8080/Sample/sta

  • ITunes Update Removed All File Associations in iTunes

    This is ridiculous. I installed the latest iTunes update and when I opened iTunes, all of my music was gone. Did this happen to you? I found a way to fix this problem. Your music should still be in MyDocuments/iTunes in individual folders for your ar