Count Failed Inspections and Email Notifications in Vision Builder AI Using the Run LabVIEW VI Step
Downloads
Filename: countemail.llb
Requirements: View
Filename: countemail_sourcecode.zip
Requirements: View
Filename: countemail.zip
Requirements: View
Description:
The front panel of the VI is opened if it is not already open. A global array is used to store the fail count and the corresponding index is incremented by one when a fail is detected. The count is then graphed. If a particular step fails more than 5 times, an email is sent.
To run the example inspection:
1. Unzip CountEmail.zip to the Vision Builder AI Product folder, typically at C:\Program Files\National Instruments\Vision Builder AI 2.6\Products.
2. Launch Vision Builder AI and open the inspection Count and Email Inspection.
3. Edit the Run LabVIEW VI step.
4. Under the VI Controls tab, click Configure and set constants for Mail Server, Recipient, and Return Address.
5. Click OK.
To view the VI block diagram:
1. Unzip CountEmail_SourceCode.zip.
2. Load EmailFail.vi in LabVIEW.
NOTE: You must have the LabVIEW Internet Toolkit or LabVIEW Full Development System to view the source code. Neither is necessary to run the example script in Vision Builder AI.
To use the example VI in your own Run LabVIEW VI step:
1. Download CountEmail.llb.
2. In the Run LabVIEW VI step, browse to the location of the LLB and select EmailFail.vi.
3. Configure the inputs of the VI.
Requirements
Filename: countemail.llb
Software Requirements
Application Software: LabVIEW Full Development System 7.1
Toolkits and Add-Ons: LabVIEW Internet Toolkit 6.0
Language(s): LabVIEW
Software Requirements
Application Software: LabVIEW Full Development System 7.1
Toolkits and Add-Ons: LabVIEW Internet Toolkit 6.0
Language(s): LabVIEW
Software Requirements
Application Software: NI Vision Builder for Automated Inspection 2.6
Language(s): LabVIEW
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
