fixed error in chans setup (in f_ch_setup was adc_range value instead of channel mode). This error was breaking ADC setup process => ADC clock was internal, instead of SYN2_RISE

This commit is contained in:
2025-10-16 18:49:40 +03:00
parent 5a817dc910
commit fcde0a3d2b
3 changed files with 16 additions and 5 deletions

View File

@ -4,7 +4,7 @@ from decimal import *
from sys import argv
t_x502_sync_mode = ["INTERNAL", "EXTERNAL_MASTER", "SYN1_RISE", "SYN1_FALL", "SYN2_RISE", "SYN2_FALL", "???"]
t_x502_sync_mode = ["INTERNAL", "EXTERNAL_MASTER", "SYN1_RISE", "SYN1_FALL", "none 1", "none 2","SYN2_RISE", "SYN2_FALL", "???"]
t_x502_lch_mode = ["COMM", "DIFF", "ZERO", "???"]
t_x502_adc_range = ["+-10V", "+-5V", "+-2V", "+-1V", "+-0.5V", "+-0.2V", "???"]