BNMR: CAMP: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
en>Suz
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
* [[BNMR]]
* [[BNMR]]
*  
* [[BNMR: Camp Logging]]
* [[BNMR: Experimental Modes|Experimental Modes]]
* [[BNMR: Experimental Modes|Experimental Modes]]
* [[BNMR: Getting Started|Getting Started]]
* [[BNMR: Getting Started|Getting Started]]
</div>
</div>
== Introduction ==
== Introduction ==
The software package CAMP is used for the slow controls for the {{bnmqr|join=and}} experiments.
The MUSR software package CAMP is used for the slow controls for the {{bnmqr|join=and}} experiments. The CAMP server runs on a MVME162 located in the VME crate.
 
The CAMP system itself is accessed using the [[#CAMP User Interface]] (CUI). Using the CUI, the user can define instruments to be accessed by the DAQ system during the experiment.
The CAMP server runs on a MVME162 located in the VME crate. The name of the MVME162 is
 
The CAMP system itself is accessed using the CAMP User Interface (CUI).  
Using the CUI, the user can add instruments to be accessed by the DAQ system during the experiment.


== CAMP Hostname ==
== CAMP Hostname ==
The CAMP Hostname is
The CAMP Hostname is
<ul>
<ul>
<li> ''bnmrvw'' for the {{bnmr}} experiment or
<li> ''bnmrvw.triumf.ca'' for the {{bnmr}} experiment or
<li> ''polvw'' for {{bnqr}} experiment
<li> ''polvw.triumf.ca'' for {{bnqr}} experiment
</ul>
</ul>


The CAMP hostname is set in two places in the DAQ system :
The CAMP hostname is set in two places in the DAQ system :
; 1.  [[BNMR: Midas Host#Environment Variables|environment variable]] '''CAMP_HOST'''
# The [[BNMR: Experimental Setup#Environment Variables|environment variable]] '''CAMP_HOST'''
[bnmr@isdaq01 ~]$ printenv CAMP_HOST
# In the ODB at {{Odbpath|path=Scanning/Camp/Settings/Server name}}
bnmrvw.triumf.ca
; 2. in the ODB  
== CAMP in BNMR/BNQR ==
  [local:bnmr:Stopped]/>ls "/Equipment/FIFO_acq/mdarc/camp/camp hostname"
The CAMP system is used for three purposes in the BNMR/BNQR experiments:
  camp hostname                  bnmrvw.triumf.ca


* CAMP slow controls using the [[#CAMP User Interface]]
* [[#CAMP Logging|logging]] of CAMP data to the saved file
* Scanning of a CAMP device during data-taking in [[BNMR#Experimental (PPG) Modes|modes]] 1c and 1j.


== CAMP User Interface ==
== CAMP User Interface ==
Line 37: Line 35:
[[Image:camp_cui.png|frame|center|Figure 1 Example of CAMP User Interface]]
[[Image:camp_cui.png|frame|center|Figure 1 Example of CAMP User Interface]]
<br clear=all>  
<br clear=all>  
The ''camp'' command will use the default camp hostname (''bnmrvw'' in Figure 1). The camp hostname is contained in the environment variable CAMP_HOST,
The ''camp'' command will use the default camp hostname defined by the environment variable [[#CAMP Hostname|CAMP_HOST]] (''bnmrvw.triumf.ca'' in Figure 1).
defined at login (in {{File|name=~/.cshrc}}). The camp hostname is also defined in the ODB at path  {{Odbpath|path=/Equipment/FIFO_acq/mdarc/camp/camp hostname}} for the use of the DAQ system. The name should be the same as CAMP_HOST.
To access the Camp User Interface using a different camp host (temporarily), specify the camp hostname, e.g.  
 
To access the Camp User Interface using a different camp host, specify the camp hostname, e.g.  
  [bnmr@isdaq01 ~]camp -node polvw
  [bnmr@isdaq01 ~]camp -node polvw


== CAMP in BNMR/BNQR ==
The CAMP system is used for two purposes in the BNMR/BNQR experiments:
*    for [[#CAMP Logging|logging]] of CAMP data to the saved file
*    for the CAMP scan experiment(s) [[BNMR#Experimental (PPG) Modes|Experimental Modes]] 1c and 1j
   
== CAMP Logging ==
Logging of CAMP data to the saved file is handled differently for
*    Type 1  (I-MUSR) runs
*    Type 2 (TD-MUSR)  runs
In both cases, [[#Automatic CAMP variables]] are saved.
== Automatic CAMP variables ==
[[Image:review_run_params.png|frame|center|Figure 1 Review Run Parameters Links on Custom Status Page]]
<br clear=all>
Automatic CAMP variables are listed in ODB at path {{Odbpath|path=/Equipment/FIFO_acq/mdarc/camp/}} and can be easily accessed by '''clicking on the alias link "AutoHeaders" ''' in the section "Review Run Parameters" on the Custom Status Page (Figure 1).  This will result in a page displayed similar to Figure 2.
[[Image:autoheaders_bnmr.png|frame|center|Figure 2 Autoheaders ODB page for bnmr]]
<br clear=all>
The user enters the required CAMP path for "temperature variable" and "field variable", or blank if not used. The CAMP paths must be written exactly as they appear in the
[[#CAMP User Interface]].  Automatic CAMP variables, if defined, are saved for both Type 1 and Type 2 [[BNMR#Experimental (PPG) Modes|experimental modes]].
For an explanation of the purpose of each key, see [[Keys in /Equipment/FIFO_acq/mdarc/camp subtree]].
=== Type 1 (I-MUSR)  ===
[[#Automatic CAMP variables]], if defined, are logged automatically. Other CAMP variables to be logged in a Type 1 (I-MUSR) experiment must be listed in the ODB tree  {{Odbpath|path=/Equipment/Camp/Settings}}. This directory can be easily accessed by '''clicking on the alias link "Camp Logging" ''' in the section "Review Run Parameters" on the Custom Status Page (Figure 1). In fact this link only shows the keys in this ODB subdirectory most relevent to the user. The complete subtree with explanation of each key is shown [[#here]].
=== Type 2 (TD-MUSR)  ===
In this case, the CAMP variables to be logged are


[[Category:CAMP]]
[[Category:BNMR]] [[Category:CAMP]]

Latest revision as of 11:01, 26 April 2022

Links

Introduction

The MUSR software package CAMP is used for the slow controls for the bnmr and bnqr experiments. The CAMP server runs on a MVME162 located in the VME crate. The CAMP system itself is accessed using the #CAMP User Interface (CUI). Using the CUI, the user can define instruments to be accessed by the DAQ system during the experiment.

CAMP Hostname

The CAMP Hostname is

  • bnmrvw.triumf.ca for the bnmr experiment or
  • polvw.triumf.ca for bnqr experiment

The CAMP hostname is set in two places in the DAQ system :

  1. The environment variable CAMP_HOST
  2. In the ODB at Scanning/Camp/Settings/Server name

CAMP in BNMR/BNQR

The CAMP system is used for three purposes in the BNMR/BNQR experiments:

CAMP User Interface

To access the CUI, in an xterm type "camp".

[bnmr@isdaq01 ~]camp

A display similar to Figure 1 will appear.

Figure 1 Example of CAMP User Interface


The camp command will use the default camp hostname defined by the environment variable CAMP_HOST (bnmrvw.triumf.ca in Figure 1). To access the Camp User Interface using a different camp host (temporarily), specify the camp hostname, e.g.

[bnmr@isdaq01 ~]camp -node polvw