摘要
在虚拟仪器软件的应用中,VB图片框的刻度可通过ScaleWidth和ScaleHeight属性自定义创建。并将采集到的二进制值转换为屏幕显示的像素值,通过重建波形绘制图形。用ScaleWidth和ScaleHeight属性设置VB刻度时,可将移动鼠标到图片框,以鼠标Y坐标值作为任意波形发生器的二进制输出值。
In the application of virtual instrument software, the scale of VB picture box could be created automatically by the attribute of ScaleWidth and ScaleHeight. The collected binary value was transformed into screen-displayed pixel value, through reconstructing wave to draw the picture. When user set VB picture box by ScaleWidth and ScaleHeight and drews graphics in the picture box by mouse action, the Y coordinate of the mouse would be used as binary output of the arbitrary wave generator.
出处
《兵工自动化》
2006年第8期91-92,共2页
Ordnance Industry Automation