I’m working on a college automation project using a FE7370WE-4G HMI programmed with FStudio.
The HMI is connected to the internet and stores historical data internally. I have successfully configured the date-range selection and data filtering on the HMI.
The workflow up to this point is working:
Select From Date → Select To Date → Filter historical data
The remaining problem is with the Generate Report and Send Email functionality.
The HMI already has an option to export the stored data to a USB drive, and I can successfully generate the data in CSV and PDF formats.
What I want to achieve is:
- Select the From Date and To Date.
- Filter the historical data according to that range. (Already working)
- Press Generate Report to generate a report containing only the filtered data.
- Press Send Email and have the generated CSV/PDF report sent directly from the HMI to a Gmail address.
- The recipient should be able to receive and view the report on a phone or PC.
Current setup
- HMI: FE7370WE-4G
- Software: FStudio
- Internet: Yes
- Historical data: Stored internally in HMI
- Data volume: Potentially thousands of records
- Export formats: CSV / PDF
- USB export: Working
- External IoT/gateway: Not being used
- Email service: Gmail
- Date-range filtering: Successfully configured
- Main issue: Generating the filtered report and sending it via email
I’m specifically looking for a way to implement:
From Date + To Date → Filter Data → Generate CSV/PDF Report → Send Email from HMI
I have not been able to figure out how to make the Generate Report and Send Email functions work for the filtered historical data.
Has anyone worked with the FE7370WE-4G / FStudio and knows how these functions can be configured?
Can this be done using FStudio scripting, SMTP, macros, APIs, or any other built-in functionality of the HMI?
I would prefer a solution where the HMI itself sends the email, without requiring a PC, Raspberry Pi, or external gateway.
Any help would be greatly appreciated!