From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

请教一下大家采用什么方式实现“失效"避免用户误操作的

在LabVIEW界面设计的风水中讲到容错性,请教一下大家采用什么方式实现“失效"避免用户误操作的。
0 项奖励
1 条消息(共 4 条)
2,885 次查看

That's also called "idiot-proved"...

 

Examples including but not limited to...

 

  • Set range for a numeric input control for Voltage Control to prevent user from keying/ entering Voltage level that could cause damage to a PCB when it is being powered up.
  • Enable/ disable Enum/ Ring items for a given mode.
  • Many more....
There isn't fixed way of achieving such but depending on how user-friendly and "idiot-proved" you want to achieve on your particular software panel(s).

 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
2 条消息(共 4 条)
2,884 次查看
假如我的测试系统在运行的时候,不希望用户对硬件设置等对监测有影响的面板进行误操作,当打开设置面板的时候,使确定等按钮变灰,再次请教一下应该如何实现这类在主面板运行时子面板不能设置确定按钮变灰等类容错。谢谢。
0 项奖励
3 条消息(共 4 条)
2,881 次查看

Take a Boolean Control (Button) for example...

 

You may create a Property Node: Disabled for the control, set it to 0 to enable, 1 or 2 to disable the control.

For more information, you may read the context help for that property.

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 项奖励
4 条消息(共 4 条)
2,853 次查看