LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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
0 Kudos
Message 1 of 10
(4,710 Views)
hi there
 
please post some code
 
best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 10
(4,701 Views)
You are probably setting a non-existent plot as the active plot. The number of plots is determined by the number of visible plots in the plot legend or by the number of plots you actually wire into the graph (the higher number). Make sure the plot exists and that your reference to the plot is valid.

___________________
Try to take over the world!
0 Kudos
Message 3 of 10
(4,701 Views)
 
hm,
 
that returns error 1077 "Invalid property value" (LV 7.1, chart and graph control), not 1055
 
best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 4 of 10
(4,699 Views)
Setting the non existent plot returns a 1077, but using the invalid reference returns 1055 (assuming Larson has 2 seperate property nodes).

___________________
Try to take over the world!
0 Kudos
Message 5 of 10
(4,695 Views)
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.
 
 
 
 
0 Kudos
Message 6 of 10
(4,692 Views)
oops....and the case true
0 Kudos
Message 7 of 10
(4,691 Views)

You have no reference wired into the property node!!! How do expect it to work?

This isn't an explicitly linked property node (the kind you get if you right click a control and select Create>>Property node), so you need to get a reference to the graph and wire it into the property node's reference input.

I would guess that you copied the property node from somewhere without copying the control it linked to at the same time.


___________________
Try to take over the world!
0 Kudos
Message 8 of 10
(4,682 Views)
This property node has been create...rigth click create property node.....but to make the picture i've sent you I've donw a copy paste to a new vi and the link has loosen. But this is not the problem because this node property works perfect, i've prove it....but when i include the last attribute (plot name) it appears the error I've explained before....without this attribute  (this constant string) the node and the plot runs correctly
0 Kudos
Message 9 of 10
(4,676 Views)
Try adding an ActivePlot property before the PlotName property and set it to 0. See if that helps. If it doesn't, I suggest you post the actual VI, so we can have a real look at it.

___________________
Try to take over the world!
Message 10 of 10
(4,671 Views)