Overview:
VI demonstrates how to clear an specific error while working with files
Description:
This VI creates a file and then, has the functionality of generating an error and erase it using the clear errors VI and specifying the error to ignore.
Requirements:
LabVIEW 2012 (or compatible).
Steps to Implement or Execute Code:
*Specify the file name and extension
*Run the VI
*Press the write button and stop the VI
*Check in the File if the data is written.
*Run the VI again and press the Generate Error button
*Press the Write Button, the VI should still be running
*Change the Error To Clear value to any other value except 0
*Press again the Generate Error and Write buttons
*The VI Stops Automatically because it finds an error
different from the one it is searching for
Additional Information or References:
“**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.