yuxie Posted September 22, 2007 Report Posted September 22, 2007 I have spent some time to study the new cursor-related features in LV8.0 and higher. I bet you all knew the cursor change event which is definitely a thumb-up thing. In addition, there is a new property node, called Label Offset in Cursor List. This new property node will slove a problem I have struggled in LV earlier versions. What I want to do is to show the cursor positions on the plot by setting the cursor name as the cursor position (string). But in earlier LV versions, it is hard to maintain the label string within the plot area. With the new property node, it is easy. But the tricky thing is the unit of the Label Offset which is however NOT well documented. Anyway, I figured out that it is not in pixel. It is also related to the offset and multiplier of both the X and Y axes. Therefore, in order to set the Label Offset, we have to map the relative offset in pixel to the absolute offset in the plot X-Y units. See the attached little example I made. Comments are welcome. Thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.