Emailing Data from LabVIEW


In some applications, it's useful to program your LabVIEW application to notify someone by email or send data by email programmatically. LabVIEW has several VIs for sending email on the Data Communication>>Protocols>>SMTP Email palette. These VIs have options for sending text-only email, email with attachments, and email to multiple recipients (see Figure 16.6).

Figure 16.6. SMTP Email palette


These VIs require that you specify the Simple Mail Transfer Protocol (SMTP) server's hostname or IP address that will be used for sending emailthe same type of settings that your desktop email application uses. You must be able to communicate with this server in order to send email. Also, these VIs do not support SMTP servers that require password authentication. You might need to talk to your company's Information Technology (IT) department or your Internet Service Provider (ISP) in order to learn your SMTP server address and settingsthey can hopefully help you find a workable solution. Finally, if you do need support for password authentication with your SMTP server, visit OpenG.orgthere you can find some free SMTP VIs that support password authentication.





LabVIEW for Everyone. Graphical Programming Made Easy and Fun
LabVIEW for Everyone: Graphical Programming Made Easy and Fun (3rd Edition)
ISBN: 0131856723
EAN: 2147483647
Year: 2006
Pages: 294

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net