Sample Environment at SINQ under NICOS
SEA is getting outdated sooner or later, and is based on SICS, that is why the transition from SICS to NICOS is a good trigger
to go also for a new sample environment framework Frappy. Frappy is a Python Framework developed by Enrico Faulhaber (MLZ) and Markus
Zolliker (PSI), for creating servers to access mobile equipment like
sample environment, using SECoP as communication
protocol towards the experiment control software.
For a transition period SEA is still used for all devices not yet migrated to Frappy. Today (spring 2021) still most
of the sample environment devices at SINQ are controlled by SEA.
Instruments using NICOS and Sample Environment
Currently (April 2021), the following instruments running NICOS are supported to access sample environment:
Please contact Markus Zolliker, if you want to use sample environment on other instruments with NICOS.
Accessing Sample Environment at SINQ from NICOS
By default a setup 'frappy' is loaded providing the following commands:
frappy_main('<main cfg>') # change main SE configuration (e.g. cryostat)
frappy_stick('<stick cfg>') # change sample-stick configuration
frappy_stick('') # remove stick
frappy_main('') # remove main SE apparatus
frappy_main() # show the current SE configuration
frappy_addons(...) # similar to above, for additional equipment not covered by main/stick
frappy_list() # list available configurations
Frequently Asked Questions
Are values of sample environment devices automatically stored in the data file?
Currently, sample environment devices to be stored have to be specified explicitely:
Store the values of sample temperature and magnetic field.
You might also use AddEnvironment to add devices to the currently defined set.
For the future, we think about a mechanism which decides automatically which devices are
to be stored.
There is nothing displayed on the SEA client, what is going wrong here?
It might be that the SEA server is not yet running. On the instruments mentioned above, the SEA server is no longer
controlled by monit. Controlling the SEA and Frappy servers:
sea start # start the SEA and graph servers
sea restart # restart above
sea list # show running SEA and Frappy servers
sea help # list available sea subcommands
The sample environment device I want to use is not available
Please use the command frappy_list() in NICOS to see a list of available configurations.
Creating the configuration files for Frappy is still under work. The devices to be used on above mentioned
instruments according to the schedule are created first. Please contact Markus Zolliker, if you want to use
a device not yet on the list.
This page last changed on 12-Apr-2021 14:07:46 CEST by MarkusZolliker.