generic
A generic Midas frontend
Compile
To compile it:
$ cmake -B build
$ cmake --build build
How to run it
With the default frontend and equipment name
$ $PWD/build/generic_scfe
or
With the default equipment name
$ $PWD/build/generic_scfe <frontend_name>
or
With the frontend name and equipment name specified
$ $PWD/build/generic_scfe <frontend_name> <equipment_name>
How to configure
After the first launch, a template will be created, allowing you to more easily set up your Midas frontend. You should get this hierarchy.
/Settings/Device/ch name
/is input
/is output
/type
/Names Input
/Names Output
/Unit Input
/Unit Output
-
'ch name' : an array of all EPICS channel you want to connect
-
'is input' : create an input channel for the 'ch name' of the same index
-
'is output' : create an output channel for the 'ch name' of the same index
-
'type' : declare the type of the epics channel of the same index
- Type supported
- short
- long
- int64_t
- int16_t
- float
- double
- bool
- Type supported
-
'Names Input' : assign a name for the input channel. If not specified, 'channel name' will be used
-
'Names Output' : assign a name for the output channel. If not specified, 'channel name' will be used
-
'Unit Input' : assign a unit for the input channel
-
'Unit Output' : assign a unit for the output channel
Any change to the subfolder /Device will require a restart of the midas frontend