From e5fd0faa561cd92dee58d147bcfdd84ecf040aef Mon Sep 17 00:00:00 2001
From: Antonello Pellecchia <antonello.pellecchia@cern.ch>
Date: Mon, 30 Aug 2021 11:28:54 +0200
Subject: [PATCH] Add instructions to start threshold scan

---
 docs/operations/threshold-scan.md | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 docs/operations/threshold-scan.md

diff --git a/docs/operations/threshold-scan.md b/docs/operations/threshold-scan.md
new file mode 100644
index 0000000..2f2b74f
--- /dev/null
+++ b/docs/operations/threshold-scan.md
@@ -0,0 +1,20 @@
+# Taking an s-bit threshold scan at P5
+
+## Starting the threshold scan
+
+To take a threshold scan, first connect to [RCMS](http://cmsrc-gem.cms:20000/rcms/gui/servlet/FMPilotServlet), then create a miniDAQ session or attach to a running session.
+
+From the RCMS interface, click on "Connect".
+
+Open the [xDAQ](http://srv-s2g18-33-01.cms:20100/urn:xdaq-application:service=calibration) calibration suite. In case the calibration suite page was already opened before you clicked on "Connect" in RCMS, reload the page manually.
+
+From the dropdown menu, select the calibration type "S-bit ARM DAC Scan", then  set the number of iterations in the "Iterations" text box to 1 and leave all the other parameters to their default values. Click on "Apply settings".
+
+Go back to the RCMS interface, then follow these steps:
+1. click on "Configure" and wait for all the subsystems to be in _Configured_ state;
+2. click on "Start" and wait for the status of all subsystems to be _Running_;
+3. click on "Stop".
+
+Go back to the calibration suite in xDAQ, then click on "Run".
+
+## Analyzing the threshold scan results
-- 
GitLab