User`s guide

MASSA PRODUCTS CORPORATION
Product Manual- April 24, 2012 12 M3 Wireless Ultrasonic Level Sensor
3.0 Operating Modes for Gateway and Sensor
3.2 Setting up gateway with multiple dia.yml
There are several ways to set up how the gateway will operate.
One method is to use one dia.yml that is edited and reloaded for
the different functions (configuring the sensor, obtaining
diagnostics data - waveforms, firmware upload or a listening only
mode for automated status messages). A second method is to
write multiple yml files and give them their own unique name that
is enabled in the “Auto-start Settings”. Here it will be described
the multiple dia.yml method versus editing the same dia.yml to
perform different functions.
3.2.1 General Operation – No Action at Power Up (listen only)
After the sensor has been configured for your application to automatically send
its status message upon awake, you should set up a dia.yml so there are no
settings that will be written to the sensor or XBee on subsequent power cycles or
reboots. The dia.yml file can utilize the comment line indicator '#' for all
controls. See example in Appendix B.
3.2.2 Configure Sensor settings with dia_configure.yml
To configure the sensors settings, edit the dia_configure.yml file for the
desired sleep, awake, outgoing message mode, and other settings. Then
load it into the python manage files. Check off “dia.py dia_configure.yml”
in the Python “Auto-start Settings” UI. When gateway is booted, sensors
settings will be updated when they wake up. For validating sensor
settings, enable the setting log_dia: 'true'. The log file named “dia_log.txt”
will be created in the python manage files. This file will contain sensor
settings as seen in Section 3.1.26. Upon successfully changing the
settings, revert back to listening only mode. See section 3.1 for
configurable sensor settings. You may configure multiple sensors at a time
with the yml file.