Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
scripts/tests: update json description file for RTM LAMP test
Browse files Browse the repository at this point in the history
  • Loading branch information
melissa-aguiar committed Mar 10, 2022
1 parent 453d1b6 commit 96fef28
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/tests/json_data_description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions scripts/tests/rtm_lamp_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 #')
Expand Down Expand Up @@ -846,3 +847,7 @@
print(val_full8_11[a])

a = a + 1

print('\n--------------------------------------------------------------------------')
print('----------------------------- END OF THE TEST ----------------------------')
print('--------------------------------------------------------------------------\n')

0 comments on commit 96fef28

Please sign in to comment.