LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instensity Graph Property Node Error

Hello,
 
I  am running LV 8.2 (recently upgraded from 7.1) on Windows XP SP2.  I am trying to use an Intensity Graph Property Node (Pallette:Active Tool).  I would like to select the cursor function type via a menu ring rather than the usual chart icon window. 
 
When I do this, the proper cursor is selected, but when I do a mouse click in the graph (for example to move the cursor) I get an error:
 
Error 1077
LabView Error: Invalid Property value
Property Name:Palette:Active Tool
 
A test VI with example code is attached.
 
I have used this technique in LV 7.0 and 7.1 with no problem.
 
Any ideas?
 
Thanks,
 
G
0 Kudos
Message 1 of 5
(4,142 Views)
Hi G,
 
I've been playing around with your VI today, and the -1107 error seems to occur if you are actively manipulating this graph at the same time you try to write to the Active Tool property. It is not isolated to just intensity graphs either -- it can occur on any kind of graph (XY, Waveform, etc). This issue was reported to R&D (# 41PFS83Q) for further investigation.
 
A possible workaround might be to use an event structure to lock the fron panel while you change the property -- this would avoid any potential race conditions. I have attached a modified version of the code you posted to demonstrate this idea. Basically, when there is a value change event for the ring control, it locks the front panel, updates the property, then resumes normal operation.
 
I hope this helps some -- let me know if I can answer any questions for you. Have a good one!
Charlie S.

Visit ni.com/gettingstarted for step-by-step help in setting up your system
0 Kudos
Message 2 of 5
(4,118 Views)

Cool 6 years later and still not fixed!!!! It took me quite a while to figure out source of this errors in one of my apps.And yes I am using Event structure but when you zoom and have the tools mapped to predefined keys (Mouse down event) the error will occur anyway when you switch them.

LV 2011, Win7
0 Kudos
Message 3 of 5
(3,475 Views)

1] Run the VI
2] Press and hold key "a" on your keyboard. As long as you hold the key the palette tool is set to 'Pan'. When you release it it switches back to 'horizontal zoom'
3] To reproduce the error start the horizontal zooming and while in the process press the "a" key.

see the video here: http://screencast.com/t/G79E2ZfpZd

 

tested with LV 2011 and LV 2012 beta2

LV 2011, Win7
0 Kudos
Message 4 of 5
(3,473 Views)

LABVIEW 2013 (not SP1) still have the same problem. i'm using an XY Graph. bah....

 

Smiley Mad

0 Kudos
Message 5 of 5
(3,337 Views)