LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating Scale via Graph Property causes Cursor deletion

Greetings

The purpose of this post is to seek assistance from the wider LV community.

I have a fairly complex LV ( 8.0.1 ) program that uses an XY Graph, cursors and Annotations, in which I am using property nodes to access the graph cursors, annotations and scales to enable code control of each.

The problem I am having occurs when I update the XYGraph.YScale.Maximum and XYGraph.YScale.Minimum which literally blows the cursors in action into the stone ages.  I had a similar issue with the XScale, but resolved that with the help of shift registers to store the X Data.

Any assistance, pointers or direction for the more learned always appreciated.

regards


Greg
0 Kudos
Message 1 of 6
(3,168 Views)
Is that just a simple problem of cursor going out of reach when you change the scale position, or is it something else ? Could you provide a downscaled version of your vi that present the problem more explicitely ?
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 6
(3,160 Views)
Charley,

The cursors are definitely deleted.  When I stop the vi and check the properties cursor tab, the two I created are gone.

I'll post a sample shortly.
0 Kudos
Message 3 of 6
(3,151 Views)
Greetings

OK... I created a version of the cursor control system (cut down of course) that worked for a few minutes then started to do exactly as I was saying earlier.  Its very odd behaviour, which may suggest a small bug is in that part of the code.  When creating the cursors there appears to be some problems with proper display of the cursor after deletion.

Give this a try, if it doesn't delete the cursors on your system, let me know how long you ran it for and what LV version you are on.

regards

Greg
0 Kudos
Message 4 of 6
(3,147 Views)
The cursor list was erased as soon as the vertical scale button was moved, simply because you forgot to wire the cursor list array wire inside (through) the Vertical Scale value change event frame. 🙂

Message Edité par chilly charly le 05-14-2006 02:55 AM

Chilly Charly    (aka CC)
0 Kudos
Message 5 of 6
(3,146 Views)
Charley

Thanks very much for that... so, that was really simple, not at all what I was thinking about.... cool
0 Kudos
Message 6 of 6
(3,139 Views)