DAQ Testing/20180727
From PREX Wiki
Jump to navigationJump to searchDAQ Testing July 27th, 2018 Testers: Cameron and Chandan
Goal: Test HAPPEX and QWeak ADCs in Right HRS Parity DAQ for functionality and dynamic range
Calibrate 12 and 16 bit DAC
To calibrate the 12 and 16 bit DACs we:
- Log into the RHRS ROC with telnet (see Network Map)
- Set the DAC output level with the C code command setDACHAPTB(DAC#,Level#)
- DAC# 1 = 12bit, 2 = 16 bit
- 12 Bit DAC Level# unknown scale, testing with voltmeter determines - expect range within 0 to 2^12 - 1 = 4095
- Level = 200 -> Voltage read = 0.480V
- Level = 300 -> Voltage read = 0.731V
- Level = 400 -> Voltage read = 0.976V
- Level = 500 -> Voltage read = 1.220V
- Level = 600 -> Voltage read = 1.464V
- Level = 700 -> Voltage read = 1.708V
- Level = 800 -> Voltage read = 1.952V
- Level = 900 -> Voltage read = 2.19V
- Level = 1000 -> Voltage read = 2.44V
- Level = 1100 -> Voltage read = 2.68V
- Level = 1200 -> Voltage read = 2.92V
- Level = 1300 -> Voltage read = 3.17V
- Level = 1400 -> Voltage read = 3.41V
- Level = 1500 -> Voltage read = 3.66V
- Level = 1600 -> Voltage read = 3.90V
- Level = 1700 -> Voltage read = 4.15V
- Level = 1800 -> Voltage read = 4.39V
- Level = 1900 -> Voltage read = 4.63V
- Level = 2000 -> Voltage read = 4.88V
- Level = 2100 -> Voltage read = 5.12V
- Level = 3000 -> Voltage read = 7.32V
- 16 Bit DAC Level# unknown scale, testing with voltmeter determines - expect range within 0 to 2^16 - 1 = 65535
- Level = 300 -> Voltage read = -4.92V
- Level = 400 -> Voltage read = -4.94V
- Level = 500 -> Voltage read = -4.92V
- Level = 2000 -> Voltage read = -4.69V
- Level = 3000 -> Voltage read = -4.54V
- Level = 8000 -> Voltage read = -3.77V
- Level = 12000 -> Voltage read = -3.16V
- Level = 16000 -> Voltage read = -2.55V
- Level = 20000 -> Voltage read = -1.94V
- Level = 24000 -> Voltage read = -1.32V
- Level = 28000 -> Voltage read = -0.72V
- Level = 32000 -> Voltage read = -0.07V
- Level = 36000 -> Voltage read = 0.49V
- Level = 40000 -> Voltage read = 1.10V
- Level = 44000 -> Voltage read = 1.71V
- Level = 48000 -> Voltage read = 2.32V
- Level = 52000 -> Voltage read = 2.93V
- Level = 56000 -> Voltage read = 3.54V
- Level = 60000 -> Voltage read = 4.15V
- Level = 64000 -> Voltage read = 4.76V
- Level = 68000 -> Voltage read = -4.61V (Modular wraps around)