找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 2471|回复: 10

旋钮的精度怎么改

[复制链接]
发表于 2006-5-13 19:55:57 | 显示全部楼层 |阅读模式
为何我在旋钮属性里把小数点后位数改成1,确定后怎么还是6位?
发表于 2006-5-13 20:08:25 | 显示全部楼层
你指的是旋钮旋转后的输出还是指它自身的digital display呢兄弟?我这里调了之后它自身的digital display是可以显示按要求的!但是输出给其他DBL控件的话,他的长度仍然不变,还得调其他控件的精度!
回复 顶

使用道具 举报

 楼主| 发表于 2006-5-13 20:17:14 | 显示全部楼层
<>是digital display,我用的是dbl,digits of precision,digits设成1,我这里还是不行</P>
回复 顶

使用道具 举报

发表于 2006-5-13 20:28:20 | 显示全部楼层
<>兄弟,这个旋钮和下面的digital display感觉好像是分开的,你需要另外设定这个digital display控件,右击它,然后设它的精度, 这样试试就可以 了!</P>
回复 顶

使用道具 举报

 楼主| 发表于 2006-5-13 20:51:55 | 显示全部楼层
<img src="attachments/dvbbs/2006-5/200651312512540051.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-5/200651312512540051.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 顶

使用道具 举报

 楼主| 发表于 2006-5-13 20:54:31 | 显示全部楼层
还有一张图传不上来了,老是提示请正确选择要上传得文件
兄弟,你试试这个knob,我这里还是不行
回复 顶

使用道具 举报

 楼主| 发表于 2006-5-13 20:56:42 | 显示全部楼层
<img src="attachments/dvbbs/2006-5/200651312563666338.bmp" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-5/200651312563666338.bmp\');}" onmousewheel="return imgzoom(this);" alt="" />

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复 顶

使用道具 举报

 楼主| 发表于 2006-5-13 21:00:47 | 显示全部楼层
konb的刻度改过来了,但是那个display始终改不了
回复 顶

使用道具 举报

 楼主| 发表于 2006-5-13 21:04:49 | 显示全部楼层
还有个相同的问题,graph 的cursor y显示数据的小数点位数也是改不了,或者是我方法错误。老大看看
回复 顶

使用道具 举报

发表于 2006-5-15 07:42:58 | 显示全部楼层
digital diplay的可以改的,你按我的方法试试,改成2!这样才有2位小数!
回复 顶

使用道具 举报

发表于 2006-5-15 07:46:46 | 显示全部楼层
graph的用同样的方法也是可以改的!我刚才试过了的兄弟!
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-29 09:46 , Processed in 0.059281 second(s), 13 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表