Use this page of the Import Shared Library wizard to specify how you want the VIs the wizard generates to handle errors. Select Tools»Import»Shared Library to launch the Import Shared Library wizard.
This page includes the following components:
Error Handling Mode—Specifies how the generated VIs handle errors. You can select from the following options:
No Error Handling—Use this mode if you want to call the generated function without any error handling.
Simple Error Handling—Use this mode if you want to call the generated function only when there are no errors in.
Function Returns Error Code/Status—Use this mode if you want to call the generated function only when there are no errors in. The function returns an error or warning code and converts the error or warning code to an error cluster.
Call Another Function to Check Errors—Use this mode if you want to call the generated function only when there are no errors in. Calls a separate error query function after calling the generated function to retrieve possible error or warning codes. If you select this mode, the wizard creates a subVI to handle the errors. After you generate the wrapper VIs, open each wrapper VI and modify this subVI to call the error handling function.
Example Block Diagram—Displays an example of the block diagram of a wrapper VI with the error handling mode you select.