To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This code shows how a case structure can be used to selectively save some data to a file, or append it to an array.
Description
This code shows how a case structure can be used to selectively save some data to a file, or append it to an array. This is useful for if you'd like to do some simple text file logging, and you'd also like the faults to be displayed to a user.
Requirements
Steps to Implement or Execute Code
Additional Information or References
Front Panel

VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.