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

[求助]为什么得到了不同的结果?大人帮忙啊

[复制链接]
qidudoo 该用户已被删除
发表于 2006-1-3 07:39:12 | 显示全部楼层 |阅读模式
1st attatched question :为什么这两个while loops 得到了不通的结果.
2nd attatched qusetion :为什么我用LV调用state bar ActiveX ,顺序结构的第一项(正在进行录入操作)不能在state bar 上显示,顺序结构的第二项可以正常显示.
十分感谢
<img src="attachments/dvbbs/2006-1/20061223363171523.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-1/20061223363171523.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
<img src="attachments/dvbbs/2006-1/2006122339033555.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-1/2006122339033555.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />

本帖子中包含更多资源

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

×
发表于 2006-1-4 03:08:30 | 显示全部楼层
<>第一图:我觉得结果应该是一样的,由于程序没有为‘响应按钮’定义事件,所以在运行时直接读取‘响应按钮’的默认值,另外while循环上数据通道的值以第一次读取的值为准,直到循环结束,而两个循环上数据通道的值很显然是相对应的,所以我觉得结果应该是一样的。----- 也许我理解错了呵呵</P>
回复 顶

使用道具 举报

发表于 2006-1-3 08:34:24 | 显示全部楼层
<>我没有用过这种菜单获取办法,我看名称感觉是菜单获取的!第二个图能不断地获取你的菜单,第一个图把获取的放在循环外面,可能一次也无法获取,所以不相同!</P>


<>不知道说得对不对,只是看名字来估计!</P>[em09]
回复 顶

使用道具 举报

qidudoo 该用户已被删除
 楼主| 发表于 2006-1-3 18:23:42 | 显示全部楼层
回复 顶

使用道具 举报

qidudoo 该用户已被删除
 楼主| 发表于 2006-1-4 22:32:54 | 显示全部楼层
<>楼上的,两个while的结果确实是不一样的,</P>[em06]
回复 顶

使用道具 举报

发表于 2006-1-5 18:58:24 | 显示全部楼层
<>發原程序啊,這樣才能看清楚!!要是光看圖還真不好說!!</P>
回复 顶

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-9-29 05:17 , Processed in 0.049979 second(s), 13 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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