ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

取消
显示结果 
搜索替代 
您的意思是: 

How to create 2d slider?

已解决!
转到解答

How to can i create 2d slider, something like square with mouse controlled point in it in the upper left corner on picture, so I don't need to use 2 seperate sliders for x and y?

 

 

0 项奖励
1 条消息(共 5 条)
4,016 次查看

Try using the mouse over event.  It give you coord on the control you are using it on.

0 项奖励
2 条消息(共 5 条)
4,006 次查看

Create a point style cursor (no lines) and use cursor move events to get x and y.

0 项奖励
3 条消息(共 5 条)
3,993 次查看
解答
接受人 gmilek

 


@altenbach wrote:

Create a point style cursor (no lines) and use cursor move events to get x and y.


 

Here's what I had in mind (LV 8.0). Modify as needed.

 

下载全部
4 条消息(共 5 条)
3,987 次查看

This is another nice example, but a little more complicated.

The advantage , that it can be implement on every Control/Indicator kind.

 

 

0 项奖励
5 条消息(共 5 条)
3,624 次查看