text: # HTConstants module
  
  
  # Trigger Type
  AUTO = 0b001
  ROLL = 0b010
  SINGLE = 0b100
  MAX_CH_NUM = 4
  
  
  DC = 0
  AC = 1
  GND = 2
  X1 = 0
  X10 = 1
  X100 = 2
  X1000 = 3
  
  EDGE = 0
  PULSE = 1
  VIDEO = 2
  CAN = 3
  LIN = 4
  UART = 5
  SPI = 6
  IIC = 7
  ALT = 4
  FORCE = 0x80
  ALT = 8
  
  RISE = 0
  FALL = 1
  AUTO = 0
  NORMAL = 1
  SINGLE = 2
  
  MAX_USB_DEV_NUMER = 32
  
  FREQUENCY_UNIT_HZ = 0
  FREQUENCY_UNIT_KHZ = 1
  FREQUENCY_UNIT_MHZ = 2
  MAX_FREQUENCY_UNIT = 3
  
  BUF_4K_LEN = 0x1000
  BUF_8K_LEN = 0x2000
  BUF_16K_LEN = 0x4000
  
  CH1 = 0
  CH2 = 1
  CH3 = 2
  CH4 = 3
  REF = 4
  MATH = 5
  
  MAX_TIMEDIV_NUM = 36
  TIMEDIV_OFFSET = 2
  FUN_DDS = 2
  CALI_2mV = 2
  CALI_5mV = 6
  CALI_10mV = 12
  CALI_20mV = 30
  CALI_50mV = 60
  CALI_100mV = 120
  CALI_200mV = 30
  CALI_500mV = 60
  CALI_1V = 120
  CALI_2V = 30
  CALI_5V = 60
  CALI_10V = 120
  CALI_FACTOR = 0.6
  TRI_SEN_2MV = 30
  TRI_SEN_5MV = 14
  TRI_SEN_10MV = 8
  TRI_SEN_20MV = 5
  TRI_SEN_50MV = 2
  TRI_SEN_100MV = 2
  TRI_SEN_200MV = 5
  TRI_SEN_500MV = 2
  TRI_SEN_1V = 2
  TRI_SEN_2V = 5
  TRI_SEN_5V = 2
  TRI_SEN_10V = 2
  DRIVERVERLEN = 8
  AUTOSET_TIME1 = 19
  AUTOSET_TIME2 = 18
  ZERO_START_VOLT = 5
  
  YT = 0
  XY = 1
  YT_NORMAL = 0
  YT_SCAN = 1
  YT_ROLL = 2
  PEAK_START_TIMEDIV = 5
  
  MATH_ADD = 0
  MATH_SUB = 1
  MATH_MUL = 2
  MATH_DIV = 3
  MATH_FFT = 4
  MAX_TIMEDIV_NUM = 35
  TIMEDIV_OFFSET = 3
  
  MODGAIN = 4  # From the example code Probably others...
  
  
  # DDS
  
  DDS_OFF = 0
  DDS_ON = 1
  