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.



テキストファイルにヘッダを作成する方法について



使用ソフトウェア:
使用ソフトウェア・バージョン: 8.0
使用ソフトウェア・バージョンに特化: N/A
二次のソフトウェア: LabVIEW Development Systems>>LabVIEW Full Development System

問題: どのようにすればテキストファイルにヘッダを作成することが出来るのでしょうか

解決策:

ヘッダを載せたいファイルをファイルを開く/作成/置換関数で初期化し、添付の"Text File Header.vi"を使ってヘッダを作成します。
"Text File Header.vi"から出力されるrefnumを"Write to Text File.vi"に渡すとテキストを追加することができます。

サンプルとして添付の"Write to Text File with Headers.vi"をお試しください。



関連リンク:

Writing to Text Files(8.6)



添付:

Text File Header.viTextFile_Header.vi
Write to Text File with Headers.viWrite to Text File With Headers.vi






報告日時: 11/19/2008
最終更新日: 12/07/2008
ドキュメントID: 4RIE7NW8