LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cursor limits on a non-autoscaling intensity chart

Hi Everyone,

I have a small question about something bugging me at the moment.

I have an intensity chart from a CCD camera, and have a couple of cursors on the chart for defining a binning area. The problem is that when I move the cusror towards the edge of the chart, it starts changing the scale of the chart. The scales are set to not autoscale.

Is there a way to limit the range of a cursor? I have tried this in the past be brute force re-setting the location of the cursor when it's found to be outside the "required" range, but I was wondering if there's a nice way to do this in LV 6.1?

If there's a really simple way which I've simply overseen, please put me out of my misery (Regarding this problem that is 😉 )

Thanks

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 1 of 11
(3,616 Views)
Shane,

I'm with you--it seems like the cursors provide a loophole that allows the user to circumvent any natural attempt by the programmer to constrain the portion of the graph that is showing.

I especially like that, if you make the cursor Lock to Plot, it obediently does so, but the user can still drag past the edge of the graph, leave the cursor behind, and explore undiscovered territories with the crosshairs! Considering that this doesn't happen with a locked cursor when using the Cursor Legend directional pad to control the cursor, I'd say it's officially in "bug" territory, as opposed to "nebulous behavior," at least for the case of a locked cursor.

--John
Message 2 of 11
(3,601 Views)
Thanks Johnner,

At least I have re-assurance that I'm not the only one with this problem.

Is this still the case in 7.1?

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 3 of 11
(3,595 Views)
Yes, I tested using 7.1.1.

--John
Message 4 of 11
(3,467 Views)
Hi, john.
Actually, the advanced submenu has a "cursors scroll graph" option. If you uncheck it, the graph won't scroll. So a programmer sharp enough to remember this during development (I probably wouldn't be) can at least solve this problem.

___________________
Try to take over the world!
Message 5 of 11
(3,569 Views)
Hi tst,

Is this in LV 7.1? I certainly don't recall something like this in LV 6.1.

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 6 of 11
(3,564 Views)
I have it in 7.0. I presume it exists in 7.1. I haven't found any property for it, I can only see it in the Advanced submenu you get when you right-click the graph.

___________________
Try to take over the world!
0 Kudos
Message 7 of 11
(3,557 Views)
I just looked in 6.1 and it does exist there.

___________________
Try to take over the world!
Message 8 of 11
(3,556 Views)
Hi tst

Fantastic! I didn't know this even existed. One more question: Is there any property node setting to reflect this in the code? I kind of assumed that everything which can be set on the fornt panel is accessible through property nodes.

Thanks

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 9 of 11
(3,553 Views)
I already answered that - I couldn't find any property, and while my search was quick (about 30 secs), I think I went through all the relevant places. It is possible I missed it. I'm not sure which things aren't available through properties, but just as another example, I couldn't find Synchronous Display either.

___________________
Try to take over the world!
Message 10 of 11
(3,549 Views)