Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
修改时间 11-27-2016 10:26 PM
在子面板中调入子vi,里面有多个波形图,vi属性设置为调整窗口缩放所有对象。当一般缩放子面板时,各个波形图显示按比例缩放,正常。但是,当将子面板缩到最小后再拉大,里面的波形图布局相对位置完全不对了。尝试了一些方法,都没法解决。
请问有否子vi重绘方法(保留波形图曲线不变,比例不变,自动适应子面板新尺寸)?或者能够限制子面板的最小宽度和高度?
已解决! 转到解答。
修改时间 11-27-2016 11:01 PM
唯一能保证的方法是将面板分割成多块, 每个控件一块. 但不知在子面板中是否仍有效.
每个VI 都能够限制面板的最小宽度和高度. 不知在子面板中是否仍有效.
修改时间 11-27-2016 11:54 PM
我也试验过在子vi中分栏,但是单窗格的滚动条和比例缩放功能不能用了,子vi在子面板显示效果不好。
在主vi中移动分栏,窗格大小事件不能触发啊,只能整个主窗口改变尺寸才能触发。本来一种办法是重新调整子vi里面各波形图的坐标和尺寸的。请问移动分隔栏或者子窗格改变大小触发什么事件?
修改时间 11-28-2016 09:54 AM
Pane Size event.
修改时间 11-29-2016 01:40 AM
Pane Size event. 移动分隔栏不能触发啊,
修改时间 11-29-2016 09:14 AM
版本太老?
LabVIEW 2014 works ok.
修改时间 11-29-2016 09:58 AM
谢谢提供代码。原来是我处理事件写错了,以为没触发。可以做为重绘的触发事件。
但是似乎不能给图形的位置大小属性幅值,只能删vi再打开,效果还可以
修改时间 12-04-2016 04:25 AM
可以设置每一个窗格的最小尺寸,防止子面板里子vi的控件排列异常
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!