Email text box/screen

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
BPJ
Posts: 8
Joined: Fri Apr 13, 2012 2:47 am

Email text box/screen

Post by BPJ »

Hi.
In e-designer it is possible to create a text screen with values from tags in it, and email it to specified receivers when a tag goes high. Example: generating an daily text report with measured values of the last 24 hour. And also get a confirmation that the email was sent by setting a tag high.
It's a function that is very important for my customer.
How do i create this in IX.

Thank you in advance.

Bendt Johansen
Engineer
Vandteknik ApS
Bendt P. Johansen

Technician /
Qualified electrician


Vandteknik ApS
Skalsbyvej 2
DK-4735 Mern
Denmark

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Email text box/screen

Post by mark.monroe »

For iX Developer an earlier thread answered a similar question.

There are two pertinent examples included with iX Developer; Script_Email and Script_Database_Export. Those examples are in the Samples tab that you get when iX Developer first opens up. You need to look at the screen scripts as well as the script modules.
Snap 2012-04-13 at 09.00.34.png
Snap 2012-04-13 at 09.00.34.png (69.85 KiB) Viewed 9132 times
You can view the tables in the database by using the DatabaseViewer in the installation directory of iX Developer. The Database that you want to open and test your queries on is in the Temp/Output directory of your project in the PC and is called "Database.sdf".
Snap 2012-04-13 at 09.03.13.png
Snap 2012-04-13 at 09.03.13.png (46.48 KiB) Viewed 9130 times
Snap 2012-04-13 at 09.04.36.png
Snap 2012-04-13 at 09.04.36.png (157.29 KiB) Viewed 9129 times
What you want to do is create an email and add the data that you get from an SQL query to the email. The data can be from a trend view history or data logger. The data for both of those are stored in the database.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

BPJ
Posts: 8
Joined: Fri Apr 13, 2012 2:47 am

Re: Email text box/screen

Post by BPJ »

Wow. That was fast. Thank you for your answer.
I will look at the examples you describe, and try to set it up.

Have a nice weekend
Bendt P. Johansen

Technician /
Qualified electrician


Vandteknik ApS
Skalsbyvej 2
DK-4735 Mern
Denmark

Post Reply