setup provides functions to read and write the setup

setup.py

This module provides example routines for changing Satlink’s setup

setup.alarm_in_setup_change()

script task should be setup when system goes into alarms to increase meas and tx rate

setup.alarm_out_setup_change()

script task should be setup when system goes out of alarms to slow meas and tx rate

setup.copy_measurement_setup(n1, n2)

copies the setup of one measurement to another :param n1: source measurement which will be copied :param n2: destination measurement whose setup will be overwritten :return: success

setup.measurement_setup(n)

function takes the entire setup of a single measurement and places it into a dictionary :param n: measurement index :return: dictionary where the setup field name is the key, and the setup field value is the value

setup.save_measurement_setup(n, m)

function saves provided measurement setup to Satlink’s permanent storage :param n: measurement index :param m: a dictionary containing the measurement setup to save; the setup field name is the key, and the setup field value is the value :return: success