LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with cursors

Solved!
Go to solution

Hello,

 

I have a problem with cursors. I use a property node to set their positions x and y. The problem is that the cursors don't go to that position which I write. For example if I write 1480 to Cursor.PosX it sets the cursor's position to 1372. Same to Y. See my attachment. There are no other property nodes writing positions than that in the picture.

 

BR,

Jick

0 Kudos
Message 1 of 6
(3,047 Views)
Solution
Accepted by topic author Jick

Changing them to free cursors helps but I am still wondering what might cause the behavior like that with Single-Plot cursor?!

 

Jick

0 Kudos
Message 2 of 6
(3,038 Views)

hi jick,

  The problem is there because there might be no value of 1480,so it is rounding to near value which is normally the case in single plot...IN free drag mode,it is not such a limitation.

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


Message 3 of 6
(3,028 Views)

Thanks for your reply,

 

Ok. This kind of rounding sounds still strange...

 

BR,

Jick

0 Kudos
Message 4 of 6
(3,012 Views)

How is it strange? If, for example, you have the values 3 and 5 in your y array, you have the cursor locked to the plot, and you tell it to snap to a value of 4, it simply cannot lock to a value that does not exist. When you make it a free cursor, it does not know or care about actual values in the y array

0 Kudos
Message 5 of 6
(2,980 Views)

Yes, I understand the theory of rounding. It was strange because I didn't understand why there is such a feature which rounds wanted cursor position. Fortunately I found the free cursor!

 

Jick

0 Kudos
Message 6 of 6
(2,954 Views)