m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
426 stars 198 forks source link

Add Shuttler test to artiq_sinara_tester #2411

Closed linuswck closed 4 months ago

linuswck commented 4 months ago

ARTIQ Pull Request

Description of Changes

This PR adds artiq_sinara_tester code for Shuttler. It should test the full functionality of Shuttler(Relay, ADC, DAC) + Remote AFE Board.

Sample Output(Passed)

*** Testing Shuttler.
Testing:  shuttler0
Check Remote AFE Board Relay LED Indicators.
Press Enter to Continue.

Testing Shuttler DAC
Voltages: 0.1 -0.1 0.2 -0.2 0.3 -0.3 0.4 -0.4 0.5 -0.5 0.6 -0.6 0.7 -0.7 0.8 -0.8
Press Enter to Continue.

PASSED

Sample Output(Failed)

*** Testing Shuttler.
Testing:  shuttler0
Check Remote AFE Board Relay LED Indicators.
Press Enter to Continue.

Testing Shuttler DAC
Voltages: 0.1 -0.1 0.2 -0.2 0.3 -0.3 0.4 -0.4 0.5 -0.5 0.6 -0.6 0.7 -0.7 0.8 -0.8
Press Enter to Continue.

FAILED
Shuttler Remote AFE Board ADC has abnormal readings.
ADC Readings: 0.10 -0.10 0.20 -0.20 0.30 -0.30 0.40 0.00 0.50 -0.50 0.60 -0.60 0.70 -0.70 0.80 -0.80

Type of Changes

Type
:sparkles: New feature

Licensing

See copyright & licensing for more info. ARTIQ files that do not contain a license header are copyrighted by M-Labs Limited and are licensed under LGPLv3+.