"How to" for DAQ

From HELIOS Digital DAQ
Jump to navigation Jump to search

This "How to" is assuming you are working in the DAQ.

How to Start the DAQ?

In the DAQ,

~$cd digios/daq
daq$./heliosCommander

If you are in the MAC, ssh to the DAQ by

sshdig

Please read the guide : Check the Guide for DAQ

The guide is kind of old, but the essential is there.

How to start the Database program ?

on the HELIOS commander, there is a button "Database" on top of the button "Stop"

How to deal with Buffer alert?

Usually, the buffer is low when there are too many triggers and cannot flush the data to the DAQ.

In many cases, the Database program will check the buffer level, if any VME buffer level is smaller than 300, the ACQ will be stooped for 30 sec and resume automatically.

How to Set Trigger?

anywhere>SetTrigger [VME] [DIG] [Plane]

There are two triggers, called X-Plane and Y-Plane, it has nothing todo with plane or beyond my imagination. .

when IOC switch off suddenly, what should I do ?

stop the run, wait for few minutes, start again.

if this keeps happening, reboot the DAQ.

How to pushing Grafana screenshot to ANL web page?

see Grafana + InfluxDB

How to Setup Globus connection, Sound Alarm, and Auto-Screenshot Capture ?

~>./helios_monitor start

How to mount a new Hard Disk

Suppose the Harddisk appeared on /dev/sdd

and you wish to mount to /mount/DIGIOSDATA6

and the HD is formated as ext4

the commmand to mount is:

sudo mount -t ext4 -o rw /dev/sdd /mount/DIGIOSDATA6


if you mount as

sudo mount /dev/sdd /mount/DIGIOSDATA6

the HD is only read but NOR write.


Auto mount Harddisk at startup

have to edit the file /etc/fstab

to see all the disk detected

sudo fdisk -l

here is an example output

$sudo fdisk -l
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000 

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00034493

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         256     2048000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2             256       13004   102400000   83  Linux
/dev/sda3           13004       23840    87040000   83  Linux
/dev/sda4           23840       60802   296897560    5  Extended
/dev/sda5           23840       26899    24576000   82  Linux swap / Solaris
/dev/sda6           26900       60802   272319488   83  Linux

Disk /dev/sdc: 6001.2 GB, 6001175126016 bytes
255 heads, 63 sectors/track, 729601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

You can see, we have

/dev/sda
/dev/sdb
/dev/sdc