Python Example ScriptsΒΆ
- The example scripts are hosted on GitHub:
Please note that the scripts shown here may be out of date. Please see GitHub for the latest.
The following scripts are supplied as examples:
alarm
Increase the measurement and transmission rates when the system is in alarmAlpha_display
demonstrates writting data to an Alpha Display module over RS232auto_sampler_eight_triggers
Automated sampler program triggers on multiple varied conditions.auto_sampler_volume
Triggers sampler based on volumebin6_four
demonstrates how to create 4 byte pseudobinary encoded numberscontrol
demonstrates triggering a digital output based on a tipping bucket leveldaylight
demonstrates accumulating minutes of daylightdga
demonstrates formatting a message in DGA formatevapo_transpiration
Computes evapotranspirationevent_based_logging
Event based logging for a measurementfile
Demonstrates file operationsgeneral_purpose
provides functions to access General Purpose Variables (gp)gps_tracker
GPS Position Logging Programhttp_post_file
demonstrates TCP/IP TXMODE via HTTP POST of an imagehttp_post_message
demonstrates TCP/IP TXMODE via HTTP POST of telemetry datainsat
INSAT custom formatting utility routineslog_simple
demonstrates log accesslog_task_trigger
demonstrates custom logging based on an event triggerlog_txformat
demonstrates custom tx formatting from the logmeas_daily_roc
Rain during the last 24 hours, Rate of change measurementsmeas_rain_sliding
Computes rainfall during the last 60 and last 90 minutesmeas_simple
demonstrates some simple custom measurementsmedian
Computes a median value from many samplesmoving_sum
Computes a moving sum value from previous samlesmqtt_raw_transmission_demo
demonstrates TCP/IP TXMODE by publishing a MQTT messagenever_log
How to prevent Sat/XLink from logging a measurementNFDRS_TX_Format
demonstrates SHEF reformatted to NRDRS transmission format using string comprehensionparity
demonstrates adding parity bits to a stringrating_table
demonstrates rating table to interpolate flow based on stagerating_table_gp
demonstrates an interpolation table using general purpose variablesRS232_demo
demonstrates writing to the RS232 portsdi12
Module provides SDI-12 examplessetup
provides functions to read and write the setupsms
send an SMS (text) message to a phone numberSonTek_RS232
demonstrates reading the SonTek RS232 sensortxformat_group_table
telemetry data is formatted in group (aka table) modetxformat_simple
demonstrates some simple TX format scripts