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

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

文件保存按钮

已解决!
转到解答
如何实现点击按钮,弹出对话框选择文件,保存数据,谢谢
0 项奖励
1 条消息(共 2 条)
3,825 次查看
解答
接受人 redred

You would use...

 

(Boolean) Save Button to trigger a CASE

The CASE contains File Dialog (to prompt user to enter new filename or select an existing file etc.)

If user OK the File Dialog with valid filename, save your data with appropriate File I/O function(s). Else, if user cancel the File Dialog, prompt warning message to warn of i.e."data not saved" or simply do nothing etc.

 

You should able to code it 😉 

Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
2 条消息(共 2 条)
3,821 次查看