Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

horizontal progress bar来显示进度的问题。

我想用个horizontal progress bar 来显示一个for loop的进度,for loop的循环次数不是常数,每次运行都不一样,所以想通过for loop中的index来显示在horizontal progress bar上显示进度,
但是怎样设置总次数泥?设置在哪儿泥?
比如我的for loop只运行10次,这样连接起来的horizontal progress bar到十分之一的地方就停止了(总数100),
我想设置它为总数10,这样就可以显示for loop的进度。
如果总数为20,就自动改为20。
 
就像电脑在下载东西时候那个进度条一样。
只要达到一样的效果就可以了。不在乎是不时horizontal progress bar。
 
麻烦各位了
Cheers,
Nicosg

anico2127@yahoo.com.sg
0 Kudos
Message 1 of 5
(4,032 Views)
就是这个东西,怎么改泥?
Cheers,
Nicosg

anico2127@yahoo.com.sg
0 Kudos
Message 2 of 5
(4,027 Views)
不知道你是不是这个意思。
0 Kudos
Message 3 of 5
(4,001 Views)
Hi,seagullsxc
我把你给我的改了改就可以用了,你说的是这个意思吗?
见附件
Cheers,
Nicosg

anico2127@yahoo.com.sg
0 Kudos
Message 4 of 5
(3,995 Views)
seagullsxc
谢谢你,我的问题已经解决了。
如上程序所示。

帖子被nicosg在09-17-2007 02:59 AM时编辑过了

Cheers,
Nicosg

anico2127@yahoo.com.sg
0 Kudos
Message 5 of 5
(3,994 Views)