Difference between revisions of "How to adjust discriminator threshold on HCAL DAC"
From Hall A Wiki
(→How to adjust the VME DAC BBCAL discriminator thresholds) |
|||
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[https://hallaweb.jlab.org/wiki/index.php/Shift_How-To return to Shift How-To] | [https://hallaweb.jlab.org/wiki/index.php/Shift_How-To return to Shift How-To] | ||
− | == How to adjust | + | == How to adjust the VME DAC BBCAL discriminator thresholds == |
− | * Log into | + | * Log into sbs-onl@adaq1 with the usual sbs-onl password |
− | + | ||
− | * | + | ssh sbs-onl@adaq1 |
− | *Execute the command python3 DAC_Control_GUI.py | + | |
− | + | *Navigate to /adaqfs/home/sbs-onl/hcal/GUI. | |
− | + | *To set the environment variables do: | |
− | + | source setup.sh | |
− | + | *Execute the following command to open the DAC control GUI: | |
+ | python3 DAC_Control_GUI.py | ||
+ | [[File:DAC_GUI_Startup_Output.png|600px]] | ||
+ | *After executing the command, the a new DAC GUI should pop up which has instructions to load, initialize and save the settings and adjust the thresholds. The terminal in which the command was executed should also print the previous settings of all the channels. | ||
+ | |||
+ | [[File:DAC_Control_GUI.png|800px]] | ||
+ | * Click on "Load mpv04Library tab" to load a library | ||
+ | * Click on "Initialize mpv04" to initialize the library | ||
+ | *Click on "Save settings" to save the settings | ||
+ | *Go to the "Enter DAC Output Voltage Setting (V)" and enter the desired output voltage of the DAC channel. | ||
+ | * Click on "Set Voltage". Note this sets the DAC output voltage which is not equal to the threshold setting. The predicted threshold setting can be seen in the "Predicted Discriminator Threshold (mV)" column and the actual readback for the HCal sum trigger threshold and BBCal Hi Discriminators 1 and 2 can be seen in the "Threshold Readback (mV)" column. | ||
+ | *Make sure that BBCal Hi Discriminator 1 and BBCal Hi Discriminator 2 have the same value entered | ||
+ | * Check the online GUI on to make sure that the threshold readback values are where you want them to be. | ||
+ | |||
+ | *For problems/questions with this GUI contact Scott Barcus (skbarcus@jlab.org). |
Latest revision as of 17:25, 11 October 2021
How to adjust the VME DAC BBCAL discriminator thresholds
- Log into sbs-onl@adaq1 with the usual sbs-onl password
ssh sbs-onl@adaq1
- Navigate to /adaqfs/home/sbs-onl/hcal/GUI.
- To set the environment variables do:
source setup.sh
- Execute the following command to open the DAC control GUI:
python3 DAC_Control_GUI.py
- After executing the command, the a new DAC GUI should pop up which has instructions to load, initialize and save the settings and adjust the thresholds. The terminal in which the command was executed should also print the previous settings of all the channels.
- Click on "Load mpv04Library tab" to load a library
- Click on "Initialize mpv04" to initialize the library
- Click on "Save settings" to save the settings
- Go to the "Enter DAC Output Voltage Setting (V)" and enter the desired output voltage of the DAC channel.
- Click on "Set Voltage". Note this sets the DAC output voltage which is not equal to the threshold setting. The predicted threshold setting can be seen in the "Predicted Discriminator Threshold (mV)" column and the actual readback for the HCal sum trigger threshold and BBCal Hi Discriminators 1 and 2 can be seen in the "Threshold Readback (mV)" column.
- Make sure that BBCal Hi Discriminator 1 and BBCal Hi Discriminator 2 have the same value entered
- Check the online GUI on to make sure that the threshold readback values are where you want them to be.
- For problems/questions with this GUI contact Scott Barcus (skbarcus@jlab.org).