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

What data type is refnum? initializing refnum?

Hello,
 
I've attached my Labview 6.1 VI.   The VI allows the user to save and view the data of  up to 12  DAQ channels.   The VI uses a case statements and the the checkbox to determine whether or not to open and save data to a file.  My problem is that for a False condition, the File refnum is unconnected.  I believe I corrected the problem with the error out not being connected by initializing it using a cluster constants.  However, I haven't tested it yet.  How can I resolve the problem with the unconnected refnum.
 
Thanks,
Stephen
0 项奖励
1 条消息(共 3 条)
3,025 次查看
In the palette under the files section is a "Not a Refnum" VI constant you can use for the False case.
Or depending on the version of LabVIEW you have you can right click the output tunnel and change it to "Use default if unwired".
 
In you save case check to make sure the Refnum is valid before saving or even giving this option...
 
 
0 项奖励
2 条消息(共 3 条)
3,016 次查看
Thanks!  极度高兴的表情
0 项奖励
3 条消息(共 3 条)
3,013 次查看