LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursors - bring to center (Labview 8.0 only)

Bring to center does not bring cursor to center unless scale multipler = 1.0
if multiplier is 1.0 and your x-scale is 0.0-100.0, then bring to center will set the cursor to 50.0 (correct)
Waveform graph , graph, properties, scales, multiplier = 2.0 (anything but 1.0) then
scale will be 0.0 - 200.0 and  "Bring To Center" for that cursor will not consider the scale factor and will put cursor at 50.0 (not in center).
If your scale multiplier is 0.5 (your graph scale is 0.0-50.0), Bring To Center will set cursor at 50.0 which is at end of graph(not in center).
Labview Version 6.1 worked fine in this area. Is this a Labview 8.0  bug?
0 Kudos
Message 1 of 7
(4,665 Views)
The bring to center function works as expect in 7.1 too and like you described in 8.0.  Looks like it may be a bug.
 
Message 2 of 7
(4,652 Views)

I agree...it is most likely a bug. Thanks for drawing our attention to it.

I have filed a request to R&D so they can investigate it further.

Regards,

Ankita

0 Kudos
Message 3 of 7
(4,630 Views)
Hello,
I can't find "Bring to center". Is it method of cursor?

Thanks

Using 7.1

Edit: I've found it (cursor legend...) but does it exist like method as well or must I do it programmatically when have cursor legend hidden?

Message Edited by ceties on 02-13-2006 06:49 PM

LV 2011, Win7
0 Kudos
Message 4 of 7
(4,564 Views)

Hi Ceties,

Here is an excerpt from LabVIEW help :

  • Bring to Center—Centers the cursor on the graph without changing the x- and y-scales. When the cursor mode is Single-Plot or Multi-Plot, this option centers the cursor on the plot on which the cursor is currently positioned and updates the cursor coordinates in the cursor legend. When the cursor mode is Free, this option centers the cursor in the plot area and updates the cursor coordinates in the cursor legend.

There is no built-in property to directly bring the cursor to center programmatically. However you can use the Cursor Position property to change position of the cursor programmatically.

Hope this helps,

Ankita

 
0 Kudos
Message 5 of 7
(4,543 Views)
Setting the cursor to center (progamatically) would be a solution if I only somehow could know that he had made the
 request to BRING TO CENTER. Then I could repair the Labviews mis-calculation of what it thinks is 'center'.
There is no event that occurrs which would tell me that he has asked for that operation.
0 Kudos
Message 6 of 7
(4,415 Views)
 

This was reported to R&D (# 3T59HQG8) and was fixed in LabVIEW 8.2. Here is a link to the current evaluation software download for LabVIEW.

Thanks!

Travis H.
LabVIEW R&D
National Instruments
0 Kudos
Message 7 of 7
(4,301 Views)