LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do some of my cursors plot on a different scale than my datapoints?

I have an XYGraph with three plots.  All four scales are auto scaled.  When I plot the cursors on plot 0, all of the cursors appear correct.  When I plot the cursors on plot 1, only the x-axis cursors are correct.  The y-axis cursors are off by a factor of approximately 11.7.  I assume that this has something to do with a scale factor but I cannot isolate it.  I turned off auto scale and no change.  Any help out there?
0 Kudos
Message 1 of 8
(3,146 Views)
Can you attach a vi that demonstrates the problem?
________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 2 of 8
(3,143 Views)
Open both VIs and run the test.vi.  You will have to zoom out to see the horizontal cursors.

Thanks.
Download All
0 Kudos
Message 3 of 8
(3,136 Views)
Hi kc64,

This might be a big in LabVIEW. I'm going to take your example and test it a bit more. I'll let you know what I find out. Can you tell me exactly what version of LabVIEW you built these VIs on?

Thanks!

Asa Kirby
Applications Engineer
National Instruments
Asa Kirby
CompactRIO Product Marketing Manager
________________
Sail Fast!
0 Kudos
Message 4 of 8
(3,103 Views)
I ment to say "bug," not "big." I dont know what a "big" would be in LabVIEW 🙂

Asa Kirby
Asa Kirby
CompactRIO Product Marketing Manager
________________
Sail Fast!
0 Kudos
Message 5 of 8
(3,098 Views)
In your init cursor state, you are not assigning the cursor to a scale.  So it is always tied to the y scale for plot 0.  You need to tie it to the plot AND the scale.
0 Kudos
Message 6 of 8
(3,090 Views)
Thanks to all of you for taking the time to help me out.  I updated my vi to write the X Scale and Y Scale properties based on which plot I am indicating and it works great!
0 Kudos
Message 7 of 8
(3,073 Views)
I have attached the modified vi showing the cursor assignments in the Init Cursors state.
0 Kudos
Message 8 of 8
(3,025 Views)