How Do I Pass a File Refnum to a Sub VI Containing a Write to Text File VI?Primary Software: LabVIEW Development Systems>>LabVIEW Base PackagePrimary Software Version: 8.0 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Problem: How do I Pass a File Refnum to a Sub VI Containing a Write to Text File VI? Solution: When you create a control by right clicking on the file input of a write to text file VI, a file path control appears. If you wish to append to a text file, rather than over write it, you must create a refnum control while generating your sub VI. In order to generate a refnum control in, follow these steps.
![]() Developer Zone Tutorial: SubVIs Attached are three files, the first SubVI.vi is the VI pictured above, the second Write to Text File With Headers, is an example of using a subVI with a Write to Text File VI, and the last file is the subVI used in that example. Related Links: Developer Zone Tutorial: SubVIs Attachments:
Report Date: 11/25/2008 Last Updated: 12/09/2008 Document ID: 4ROCKDW8 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

