BNMR: Getting Started: Difference between revisions

From DaqWiki
Jump to navigation Jump to search
en>Suz
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Pagelinks}}
= Links =
= Links =
<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">
Line 6: Line 8:
*  
*  
</div>
</div>
== Introduction ==
This page describes starting the  {{bnmqr|join=and}} DAQ software to run the experiment(s).
== Hardware ==
Prior to starting the software, the '''DAQ crates''' on the BNMR and BNQR platforms and associated hardware ('''NIM bins''' etc.) must be '''powered up'''.
The required computers are
* the host isdaq01 located in the DAQ counting room
** for <span style="color:#7b68ee; font-style=italic">bnmr</span> the VMIC lxbnmr and mvme162 bnmrvw located in the VME crate on the BNMR platform
** for <span style="color:#20b2aa; font-style=italic">bnqr</span> the VMIC lxbnqr and mvme162 polvw located in the VME crate on the BNQR platform   


== Starting from Scratch ==
== Starting from Scratch ==
If the experiments (bnmr/bnqr) have not been running previously (e.g. at the start of the beam period) you will need to start from scratch. Usually you will want to run both experiments during the beam period.
If the {{bnmqr|join=or}} experiments have not been running previously (e.g. at the start of the beam period) you will need to start from scratch. During the '''beam period''' the experiment(s) are started and run [[#In the Counting Room]].


In the counting room, the linux boxes isdaq01 and isdaq06 are used to run the bnmr and bnqr experiments. They are located side-by-side and each have 2 screens. Note that the DAQ system for both experiments actually runs on isdaq01. The second box isdaq06 is used just to display the second experiment. To start one of the experiments while logged on to isdaq06, one must first ssh to isdaq01 as explained below. Both isdaq01 and isdaq06 are part of a NIS cluster (the master is isdaq00 located in the computer room). Users access the same user and data disks from either machine.
<small>Outside the beam period, the experiments can be run for testing, not necessarily in the counting room. In this case, see instructions under [[#Testing]]. </small>


In the following example, bnmr experiment is run on isdaq01 console and bnqr on isdaq06 console. It doesn't matter which experiment runs on which console. If only one of bnmr/bnqr is to be run, start it on isdaq01.
 
=== In the Counting Room ===
==== Starting the DAQ system ====
Usually experimenters will want to run both experiments {{bnmqr|join=or}} during the beam period. In the counting room, the linux boxes ''isdaq01'' and ''isdaq06'' are used to run the {{bnmqr|join=and}} experiments. They are located on adjacent desks, and each have 2 screens. Note that '''the DAQ system for both experiments actually runs on ''isdaq01'' '''. The second linux box ''isdaq06'' is used just to display the second experiment for convenience. To start one of the experiments while logged on to ''isdaq06'', one must first ssh to ''isdaq01'' as shown below. Both ''isdaq01'' and ''isdaq06'' are part of a NIS cluster (the master is ''isdaq00'' located in the computer room). Users access the same user and data disks from either machine. 
 
To run the experiment(s), users will also require
* open xterms(s) logged onto the EPICS control system.
* xterm(s) running CAMP slow control system for each experiment
 
In the following example, {{bnmr}} experiment is run on ''isdaq01'' console and {{bnqr}} on ''isdaq06'' console. It doesn't matter which experiment runs on which console. If only one of {{bnmqr|join=or}} is to be run, it is simpler to start it on ''isdaq01''.




If any other user is already logged on, log them out first.
If any other user is already logged on, log them out first.


For bnmr experiment:
For {{bnmr}} experiment:
# Log onto isdaq01 as user bnmr
# <b>Log onto isdaq01 console as user ''bnmr''</b>
# Start a web browser (firefox)
# Start a web browser (firefox)
# Start an xterm and type [[scripts]] kill-all followed by ''start-all'' to start all DAQ software components
# Start an xterm
# Point the web browser to the bnmr experiment status page ( https://isdaq01:8443 ) & enter username and password
## Type ''kill-all'' to clean up and remove any DAQ software components
# Open the [[EPICS page]] on another desktop if desired.
## Type ''start-all'' to start all DAQ software components
# Point the web browser to the <span style="color:#7b68ee; font-style=italic">bnmr</span> experiment status page ( https://isdaq01.triumf.ca:8447 ) & enter username and password. The [[BNMR: Custom Status page|custom status page]] should then be displayed.
# Open the [[BNMR: EPICS page|EPICS page]] on another desktop if desired.


For bnqr experiment:
For {{bnqr}} experiment:
# Log onto isdaq06 as user bnqr
# <b>Log onto ''isdaq06'' console as user ''bnqr''</b>
# Bring up a web browser (firefox)
# Bring up a web browser (firefox)
# Start an xterm
# Start an xterm
## ssh bnqr@isdaq01
## <b>ssh bnqr@isdaq01</b>
## Type ''kill-all'' followed by ''start-all'' to start all DAQ software components
## Type ''kill-all'' to clean up and remove any DAQ software components
#  Point the web browser to the bnqr experiment status page ( https://isdaq01:8444 ) & enter username and password
## Type ''start-all'' to start all DAQ software components
#  Open the [[EPICS page]] on another desktop if desired.
#  Point the web browser to the <span style="color:#20b2aa; font-style=italic">bnqr</span> experiment status page ( https://isdaq01.triumf.ca:8448 ) & enter username and password. The [[BNMR: Custom Status page|custom status page]] should then be displayed.
#  Open the [[BNMR: EPICS page|EPICS page]] on another desktop if desired.
 
 
On the [[BNMR: EPICS page|EPICS page]], make sure that [[BNMR: EPICS page#Write access to Epics Parameters|''BNMR'' has Access]].
 
Once the webserver is started (by ''start-all'') the [[BNMR: Custom Status page|custom status page]] can be viewed from any browser (with username/password).
 
Use the webpages to select the experimental mode, then start a run.
 
==== Shutting down the DAQ ====
At the end of the beam period, in an xterm logged onto isdaq01 as user bnmr, type "kill-all". Do the same on a similar terminal as user bnqr.
Shut down all xterms and log out of isdaq01 and isdaq06.
 
=== Testing ===
Experts may want to start the experiment(s) outside the beam period for testing. This can be done from any machine.
 
;To start  <span style="color:#7b68ee; font-style=italic">bnmr </span> experiment:
ssh bnmr@isdaq01
bnmr@isdaq01> kill-all
bnmr@isdaq01> start-all
Point a web browser to  <span style="color:#7b68ee; font-style=italic">bnmr</span> experiment status page ( https://isdaq01.triumf.ca:8447 )
 
;To start  <span style="color:#20b2aa; font-style=italic">bnqr</span> experiment:
ssh bnqr@isdaq01
bnqr@isdaq01> kill-all
bnqr@isdaq01> start-all
Point a web browser to <span style="color:#20b2aa; font-style=italic">bnqr</span> experiment status page ( https://isdaq01.triumf.ca:8448 )
 
Outside the beam period, it is not possible to successfully run in [[BNMR Dual Channel Mode]], because the EPICS switches are not set up for the experiment. This makes it difficult to test Dual Channel Mode completely outside the beam period.


Most testing takes place running in [[BNMR Dual Channel Mode#Single Channel Mode|Single Channel Mode]]. If running both experiments in single channel mode simultaneously, be sure to '''disable helicity switching''' and helicity checking on at least one of the experiments, or both will be trying to drive the helicity.


On the EPICS windows, make sure that BNMR has Access.
[[Category:BNMR]] [[Category:Webserver]]

Latest revision as of 12:29, 3 May 2022

Links

Introduction

This page describes starting the bnmr and bnqr DAQ software to run the experiment(s).

Hardware

Prior to starting the software, the DAQ crates on the BNMR and BNQR platforms and associated hardware (NIM bins etc.) must be powered up.


The required computers are

  • the host isdaq01 located in the DAQ counting room
    • for bnmr the VMIC lxbnmr and mvme162 bnmrvw located in the VME crate on the BNMR platform
    • for bnqr the VMIC lxbnqr and mvme162 polvw located in the VME crate on the BNQR platform


Starting from Scratch

If the bnmr or bnqr experiments have not been running previously (e.g. at the start of the beam period) you will need to start from scratch. During the beam period the experiment(s) are started and run #In the Counting Room.

Outside the beam period, the experiments can be run for testing, not necessarily in the counting room. In this case, see instructions under #Testing.


In the Counting Room

Starting the DAQ system

Usually experimenters will want to run both experiments bnmr or bnqr during the beam period. In the counting room, the linux boxes isdaq01 and isdaq06 are used to run the bnmr and bnqr experiments. They are located on adjacent desks, and each have 2 screens. Note that the DAQ system for both experiments actually runs on isdaq01 . The second linux box isdaq06 is used just to display the second experiment for convenience. To start one of the experiments while logged on to isdaq06, one must first ssh to isdaq01 as shown below. Both isdaq01 and isdaq06 are part of a NIS cluster (the master is isdaq00 located in the computer room). Users access the same user and data disks from either machine.

To run the experiment(s), users will also require

  • open xterms(s) logged onto the EPICS control system.
  • xterm(s) running CAMP slow control system for each experiment

In the following example, bnmr experiment is run on isdaq01 console and bnqr on isdaq06 console. It doesn't matter which experiment runs on which console. If only one of bnmr or bnqr is to be run, it is simpler to start it on isdaq01.


If any other user is already logged on, log them out first.

For bnmr experiment:

  1. Log onto isdaq01 console as user bnmr
  2. Start a web browser (firefox)
  3. Start an xterm
    1. Type kill-all to clean up and remove any DAQ software components
    2. Type start-all to start all DAQ software components
  4. Point the web browser to the bnmr experiment status page ( https://isdaq01.triumf.ca:8447 ) & enter username and password. The custom status page should then be displayed.
  5. Open the EPICS page on another desktop if desired.

For bnqr experiment:

  1. Log onto isdaq06 console as user bnqr
  2. Bring up a web browser (firefox)
  3. Start an xterm
    1. ssh bnqr@isdaq01
    2. Type kill-all to clean up and remove any DAQ software components
    3. Type start-all to start all DAQ software components
  4. Point the web browser to the bnqr experiment status page ( https://isdaq01.triumf.ca:8448 ) & enter username and password. The custom status page should then be displayed.
  5. Open the EPICS page on another desktop if desired.


On the EPICS page, make sure that BNMR has Access.

Once the webserver is started (by start-all) the custom status page can be viewed from any browser (with username/password).

Use the webpages to select the experimental mode, then start a run.

Shutting down the DAQ

At the end of the beam period, in an xterm logged onto isdaq01 as user bnmr, type "kill-all". Do the same on a similar terminal as user bnqr. Shut down all xterms and log out of isdaq01 and isdaq06.

Testing

Experts may want to start the experiment(s) outside the beam period for testing. This can be done from any machine.

To start bnmr experiment
ssh bnmr@isdaq01
bnmr@isdaq01> kill-all
bnmr@isdaq01> start-all

Point a web browser to bnmr experiment status page ( https://isdaq01.triumf.ca:8447 )

To start bnqr experiment
ssh bnqr@isdaq01
bnqr@isdaq01> kill-all
bnqr@isdaq01> start-all

Point a web browser to bnqr experiment status page ( https://isdaq01.triumf.ca:8448 )

Outside the beam period, it is not possible to successfully run in BNMR Dual Channel Mode, because the EPICS switches are not set up for the experiment. This makes it difficult to test Dual Channel Mode completely outside the beam period.

Most testing takes place running in Single Channel Mode. If running both experiments in single channel mode simultaneously, be sure to disable helicity switching and helicity checking on at least one of the experiments, or both will be trying to drive the helicity.