联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 绘图程序(1) 
按平台查找All LabView(1) 

[绘图程序] 十进制转二进制模拟

模拟十进制数到二进制数的转换过程,以LED来模拟各个二进制位,并能以动画方式模拟计数的过程。 选择手动方式时,将8个LED变成滑动条中数字的二进制(基数2)表示。例如,如果滑动条设置为数字10(在二进制中表示为00001010=(23)+(21)), LED的1和3点亮,其他LED为熄灭。 选择自动方式时,滑动条自动进行加1操作,实现0到255的循环计数;同时8个LED会实时显示滑动条数值所对应二进制数值。当滑动条大于255时,自动回0并重新由0开始计数。
Simulate the conversion process from decimal number to binary number, simulate each binary bit with LED, and simulate the counting process by animation. When manual mode is selected, the 8 LEDs are changed into binary (Radix 2) representation of the numbers in the slider. For example, if the slider is set to the number 10 (represented in binary as 00001010 = (23) + (21)), 1 and 3 of the LEDs are on and the other LEDs are off. When the automatic mode is selected, the slide bar will automatically add 1 to realize the cycle counting from 0 to 255; at the same time, 8 LEDs will display the binary value corresponding to the sliding bar value in real time. When the slider bar is greater than 255, it will automatically return to 0 and start counting from 0 again. (2020-11-28, LabView, 11KB, 下载0次)

http://www.pudn.com/Download/item/id/1606550498808330.html
总计:1