From 96fef280afb09907bc717b113b7bdad4b96cde95 Mon Sep 17 00:00:00 2001 From: Melissa Aguiar Date: Thu, 10 Mar 2022 15:54:49 -0300 Subject: [PATCH] scripts/tests: update json description file for RTM LAMP test --- scripts/tests/json_data_description.txt | 8 ++++---- scripts/tests/rtm_lamp_test.py | 5 +++++ 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/tests/json_data_description.txt b/scripts/tests/json_data_description.txt index 6aea8da..56bd81b 100644 --- a/scripts/tests/json_data_description.txt +++ b/scripts/tests/json_data_description.txt @@ -19,16 +19,16 @@ s = number of samples dimension: c arrays, each one containing s values 'DAC voltage read': - the values of voltage read with a multimeter that the user will input for the dac data setpoints: [0 17712] (n = 2 in this case) - dimension: c arrays with n values + the values of voltage read with a multimeter that the user will input for the dac data setpoints: [0 17712 -17712] (n = 3) + dimension: c arrays, each one containing n values 'ACQ for Closed Loop Test': - the data acquisition for all channels for each one of the n setpoints: [-1, -0.5, 0, 0.5, 1] (n = 5 in this case) + the data acquisition for all channels for each one of the n setpoints: [-1, -0.5, 0, 0.5, 1] (n = 5) we use the same setpoint in all channels at the same time and do an acquisition for all channels (current data) dimension: n arrays, each one containing c arrays of s values 'ACQ for Cross Talk': - the data acquisition for all channels for each one of the n setpoints: [+-1, +-50e-3, +-200e-3] (n = 3 in this case) + the data acquisition for all channels for each one of the n setpoints: [+-1, +-50e-3, +-200e-3] (n = 3) the setpoints are symmetric for the superior and inferior limits we use the setpoint in one current channel per time and do an acquisition for all channels (current and voltage data) dimension: n arrays, each one containing c arrays and each one containing 2*c arrays of s values diff --git a/scripts/tests/rtm_lamp_test.py b/scripts/tests/rtm_lamp_test.py index 3ec036b..2c46e9c 100644 --- a/scripts/tests/rtm_lamp_test.py +++ b/scripts/tests/rtm_lamp_test.py @@ -91,6 +91,7 @@ pv_pi_kp.append( str(pv_prefix) + str("PSPIKpCH") + str(i) + str("-SP.VAL")) pv_pi_ti.append( str(pv_prefix) + str("PSPITiCH") + str(i) + str("-SP.VAL")) +print('\n') print(' # # # # # # # # # # # # # # # # # # # # # # # # # #') print(' # #') print(' # Description: Script to test RTM-LAMP boards #') @@ -846,3 +847,7 @@ print(val_full8_11[a]) a = a + 1 + +print('\n--------------------------------------------------------------------------') +print('----------------------------- END OF THE TEST ----------------------------') +print('--------------------------------------------------------------------------\n')