Hello Carlos
in the Installation Guide of the FLX 3402 Extension Card,
you can find in Section 8 the values that will result from the different Inputs.
If you create a Testrig that provides for example 10V, you can check if the Input shows the corresponding Value 65535
(You need to setup the Extension Card as explained in the Installation Manual)
You can then monitor the Value by creating a Tag for the Analog Input you are testing and taking a look on the local Webpage. (In View Mode)
You wrote you want to be notified.
Be aware:
Changes of the Value might result from small changes in the power supply.
So it might be good to add a bit of a Deadband to not be notified of every little change.
Here you can find the Basics on Alarming:
https://www.ewon.biz/e-learning/library/flexy/alarming
If you have setup your Tag and your Alarm and you want to be notified via e-mail or SMS (over Talk2M)
you can use this Solution Sheet:
Email & Text Messages (SMS) Relay Using Talk2M
There is no need to program in Basic for sending alarms. It can just be configured.
But if you want to trigger sending an e-mail or SMS via Basic Code the command to send an e-mail or SMS is included in the above Document.
You would just need to choose the trigger you want.
The Ewon is based on Events and in the Reference Guide you will find these Events that can be used to trigger actions
all starting with ONXXXX
You can find the Reference Guide and an example
here: https://developer.ewon.biz/content/basic-1
search for the example:
Customise the Alarm eMail (or SMS)
It will show you how to access a TagValue and send it as a String.
The Value is in a Tag. (As explained above you need to configure a Tag to get the Value of the Analog input of your Extension Card)
So you need to Access the Tag.
Get and Set System are used to change the configuration of the Flexy.
br
Franziska