From b59fd6fc0b94f3bb25ab697f4ebb61e8214f0780 Mon Sep 17 00:00:00 2001
From: Camilla Galloni <camilla.galloni@cern.ch>
Date: Thu, 19 Aug 2021 15:17:50 +0000
Subject: [PATCH] Add command line for scripts using gempy on BE

---
 docs/expert/operations/ctp7.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/expert/operations/ctp7.md b/docs/expert/operations/ctp7.md
index 8e58b9f..6bb6f5f 100644
--- a/docs/expert/operations/ctp7.md
+++ b/docs/expert/operations/ctp7.md
@@ -6,6 +6,14 @@ linked below, you will find various expert level documentation to set up
 and configure the CTP7, as well as various hints to debug and resolve
 various issues.
 
+## Launching a pyhton script with `gempy` on the AMC
+
+To launch a script that needs to access the registers through gempy, that is installed on the BE, one can use the command line in this way:
+
+``` bash
+ssh gempro@gem-shelfXX-amcYY "bash -l -c 'python -'" < <path-to-my-python-script>
+```
+
 ## In-depth CTP7 overview
 
 The CTP7 runs a special 32-bit version of linux located on a 32GB flash
-- 
GitLab