Skip to main content

yaq daemons for edaq sensor recording systems

Project description

yaqd-edaq

PyPI Conda yaq black ver log

yaq daemons for edaq sensor recording systems

This package contains the following daemon(s):

calibration

Following is an example you might use to apply callibration to the quadmf.

import yaqc

edaq = yaqc.Client(38000)
config = edaq.get_config()


print('Calibrate which channel?')
chno = input()
print(f'Will calibrate {chno}')
edaq.remove_calibration(chno)


calibpoints = config.get('calibpoints', 3)
calibvalues = config.get('calibvalues', [4,7,10])

for i in range (1,calibpoints+1):
    print(f'place probe in pH={calibvalues[i-1]} buffer, then press enter')
    input()
    edaq.add_calibration_point(chno, i, calibvalues[i-1])

print('Calibration Complete')

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page