Moxa TC-6110-T-LX [59/117] The t sensor log

Moxa TC-6110-T-LX [59/117] The t sensor log
TC-6110 Linux User's Manual Moxa’s Rcore Software Packages
4-3
The T-sensor Log
The configuration file for the temperature sensor log files is /etc/mxsensor.conf. The temperature sensor
logs may be configured for temperature scale (Celsius or Fahrenheit) and log mechanics (on/off, file path,
logging interval, and max. file size).
1. The temperature sensor configuration file is the same as the accelerometer configuration file:
mxsensor.conf. In the screenshot below you see the portion of the configuration file relevant to the
temperature sensor. Edit this to configure how the temperature sensor will be logged.
moxa@Moxa:~# sudo vi /etc/mx_sensor.conf
2. Save the file and exit your editor (in VI, that is done by typing :wq).
3. Restart Safeguard so that the changes will take effect:
moxa@Moxa:~# sudo /etc/init.d/mx_safeguard restart
4. If the tempature log status is set to 1 (enabled), a log file will be recorded at the specified path.
5. Below is a sample temperature log.
The Accelerometer (G-Sensor) Log
The configuration file for the temperature sensor log files is /etc/mxsensor.conf. The temperature sensor
logs may be configured for log mechanics (on/off, file path, max. file size, and logging interval).

Содержание

Похожие устройства

Скачать