Central Laser Facility uses WinUI and Uno Platform to envision a new control system for EPAC

Published May 12 2021 09:37 AM 1,151 Views
Microsoft

The Central Laser Facility (CLF) carries out research using lasers to investigate a broad range of science areas, spanning physics, chemistry, and biology. Their suite of laser systems allows them to focus light to extreme intensities, to generate exceptionally short pulses of light, and to image extremely small features.

 

The Central Laser Facility is currently building the Extreme Photonics Applications Centre (EPAC) in Oxfordshire, UK. EPAC is a new national facility to support UK science, technology, innovation and industry. It will bring together world-leading interdisciplinary expertise to develop and apply novel, laser based, non-conventional accelerators and particle sources which have unique properties.

 

The software control team inside Central Laser Facility develops applications that enable scientists to monitor and communicate with a wide range of scientific instruments. For example, the application can be used to move a motorised mirror to direct the laser beam toward a target, to watch a camera feed showing the current status of the system, or to configure and record data from a suite of cutting-edge scientific instruments such as x-ray cameras or electron spectrometers. These applications aggregate data and controls for specific tasks that a user needs to undertake - say, point the laser at a new target - and present them in a single screen to avoid the need to individually access all the different hardware necessary to make that happen.

Windows_final.png

The Challenge: Moving forward the control system for EPAC

 

As CLF started planning the design of a new control system for EPAC, their main goal was to tackle some of the challenges they were facing with the existing set of applications:

 

  • Minimise the adaptations needed to run on multiple operating systems. CLF currently supports Windows and Linux, with other platforms like Android and Web in planning.
  • Maximize code reuse while, at the same time, creating a scalable user interface. Their applications need to scale from mobile devices to large displays placed around the facility.
  • Support advanced graphical features, like themes for easily changing colour schemes; the palette needed for viewing a screen through laser goggles in a laboratory is different than one would use in a control room, where no goggles are necessary.

 

The Solution

 

WinUI and Uno Platform were a perfect combination to tackle these challenges.

WinUI provides a state-of-the-art UI platform, which offers the powerful rendering capabilities needed by the application to show the real time feed coming from the cameras; to generate complex graphs that display in real-time the data captured by the instruments; to adapt to different layouts and form factors; ultimately, to easily create easy-to-use experiences thanks to a wide range of modern controls with full support to accessibility and multiple input types. Uno Platform is enabling the Central Laser Facility to take these features which empower the experience built for Windows and run it with no or minimal code changes on all the other platforms targeted by Central Laser Facility: Linux, Android and Web.

 

Android_Final.png

 

“Thanks to WinUI and Uno Platform, we were able to leverage the excellent set of developer tools that exists in .NET, and provides access to the reusable content in the Windows Community Toolkit and the XAML controls gallery.” shared Chris Gregory, Software Control Engineer. “The primary attraction for us was the ability to deploy applications cross-platform. This will allow us to visualise what's happening with our instrumentation on the Windows machines in the control room, the Linux systems running the back end, on a tablet inside the laboratory, or on a mobile device for off-site monitoring.

 

This flexibility means that scientists and engineers can see a uniform presentation of the information they need no matter where they are in our facility, with minimal extra developer effort. Added to this, the availability of such a rich set of controls will result in the development of applications that are much more intuitive to use”.

 

Web_final.png

%3CLINGO-SUB%20id%3D%22lingo-sub-2348929%22%20slang%3D%22en-US%22%3ECentral%20Laser%20Facility%20uses%20WinUI%20and%20Uno%20Platform%20to%20envision%20a%20new%20control%20system%20for%20EPAC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348929%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.clf.stfc.ac.uk%2FPages%2Fhome.aspx%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EThe%20Central%20Laser%20Facility%3C%2FA%3E%20(CLF)%20carries%20out%20research%20using%20lasers%20to%20investigate%20a%20broad%20range%20of%20science%20areas%2C%20spanning%20physics%2C%20chemistry%2C%20and%20biology.%20Their%20suite%20of%20laser%20systems%20allows%20them%20to%20focus%20light%20to%20extreme%20intensities%2C%20to%20generate%20exceptionally%20short%20pulses%20of%20light%2C%20and%20to%20image%20extremely%20small%20features.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Central%20Laser%20Facility%20is%20currently%20building%20the%20Extreme%20Photonics%20Applications%20Centre%20(EPAC)%20in%20Oxfordshire%2C%20UK.%20EPAC%20is%20a%20new%20national%20facility%20to%20support%20UK%20science%2C%20technology%2C%20innovation%20and%20industry.%20It%20will%20bring%20together%20world-leading%20interdisciplinary%20expertise%20to%20develop%20and%20apply%20novel%2C%20laser%20based%2C%20non-conventional%20accelerators%20and%20particle%20sources%20which%20have%20unique%20properties.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20software%20control%20team%20inside%20Central%20Laser%20Facility%20develops%20applications%20that%20enable%20scientists%20to%20monitor%20and%20communicate%20with%20a%20wide%20range%20of%20scientific%20instruments.%20For%20example%2C%20the%20application%20can%20be%20used%20to%20move%20a%20motorised%20mirror%20to%20direct%20the%20laser%20beam%20toward%20a%20target%2C%20to%20watch%20a%20camera%20feed%20showing%20the%20current%20status%20of%20the%20system%2C%20or%20to%20configure%20and%20record%20data%20from%20a%20suite%20of%20cutting-edge%20scientific%20instruments%20such%20as%20x-ray%20cameras%20or%20electron%20spectrometers.%20These%20applications%20aggregate%20data%20and%20controls%20for%20specific%20tasks%20that%20a%20user%20needs%20to%20undertake%20-%20say%2C%20point%20the%20laser%20at%20a%20new%20target%20-%20and%20present%20them%20in%20a%20single%20screen%20to%20avoid%20the%20need%20to%20individually%20access%20all%20the%20different%20hardware%20necessary%20to%20make%20that%20happen.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Windows_final.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283435i365448AF3FE40D39%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Windows_final.png%22%20alt%3D%22Windows_final.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20Challenge%3A%20Moving%20forward%20the%20control%20system%20for%20EPAC%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20CLF%20started%20planning%20the%20design%20of%20a%20new%20control%20system%20for%20EPAC%2C%20their%20main%20goal%20was%20to%20tackle%20some%20of%20the%20challenges%20they%20were%20facing%20with%20the%20existing%20set%20of%20applications%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EMinimise%20the%20adaptations%20needed%20to%20run%20on%20multiple%20operating%20systems.%20CLF%20currently%20supports%20Windows%20and%20Linux%2C%20with%20other%20platforms%20like%20Android%20and%20Web%20in%20planning.%3C%2FLI%3E%0A%3CLI%3EMaximize%20code%20reuse%20while%2C%20at%20the%20same%20time%2C%20creating%20a%20scalable%20user%20interface.%20Their%20applications%20need%20to%20scale%20from%20mobile%20devices%20to%20large%20displays%20placed%20around%20the%20facility.%3C%2FLI%3E%0A%3CLI%3ESupport%20advanced%20graphical%20features%2C%20like%20themes%20for%20easily%20changing%20colour%20schemes%3B%20the%20palette%20needed%20for%20viewing%20a%20screen%20through%20laser%20goggles%20in%20a%20laboratory%20is%20different%20than%20one%20would%20use%20in%20a%20control%20room%2C%20where%20no%20goggles%20are%20necessary.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EThe%20Solution%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWinUI%20and%20%3CA%20href%3D%22http%3A%2F%2Fwww.platform.uno%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EUno%20Platform%3C%2FA%3E%20were%20a%20perfect%20combination%20to%20tackle%20these%20challenges.%3C%2FP%3E%0A%3CP%3EWinUI%20provides%20a%20state-of-the-art%20UI%20platform%2C%20which%20offers%20the%20powerful%20rendering%20capabilities%20needed%20by%20the%20application%20to%20show%20the%20real%20time%20feed%20coming%20from%20the%20cameras%3B%20to%20generate%20complex%20graphs%20that%20display%20in%20real-time%20the%20data%20captured%20by%20the%20instruments%3B%20to%20adapt%20to%20different%20layouts%20and%20form%20factors%3B%20ultimately%2C%20to%20easily%20create%20easy-to-use%20experiences%20thanks%20to%20a%20wide%20range%20of%20modern%20controls%20with%20full%20support%20to%20accessibility%20and%20multiple%20input%20types.%20Uno%20Platform%20is%20enabling%20the%20Central%20Laser%20Facility%20to%20take%20these%20features%20which%20empower%20the%20experience%20built%20for%20Windows%20and%20run%20it%20with%20no%20or%20minimal%20code%20changes%20on%20all%20the%20other%20platforms%20targeted%20by%20Central%20Laser%20Facility%3A%20Linux%2C%20Android%20and%20Web.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Android_Final.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F280300i71EC2E5A24BFE806%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Android_Final.png%22%20alt%3D%22Android_Final.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%E2%80%9CThanks%20to%20WinUI%20and%20Uno%20Platform%2C%20we%20were%20able%20to%20leverage%20the%20excellent%20set%20of%20developer%20tools%20that%20exists%20in%20.NET%2C%20and%20provides%20access%20to%20the%20reusable%20content%20in%20the%20Windows%20Community%20Toolkit%20and%20the%20XAML%20controls%20gallery.%E2%80%9D%20%3C%2FEM%3Eshared%20Chris%20Gregory%2C%20Software%20Control%20Engineer.%20%E2%80%9C%3CEM%3EThe%20primary%20attraction%20for%20us%20was%20the%20ability%20to%20deploy%20applications%20cross-platform.%20This%20will%20allow%20us%20to%20visualise%20what's%20happening%20with%20our%20instrumentation%20on%20the%20Windows%20machines%20in%20the%20control%20room%2C%20the%20Linux%20systems%20running%20the%20back%20end%2C%20on%20a%20tablet%20inside%20the%20laboratory%2C%20or%20on%20a%20mobile%20device%20for%20off-site%20monitoring.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3EThis%20flexibility%20means%20that%20scientists%20and%20engineers%20can%20see%20a%20uniform%20presentation%20of%20the%20information%20they%20need%20no%20matter%20where%20they%20are%20in%20our%20facility%2C%20with%20minimal%20extra%20developer%20effort.%20Added%20to%20this%2C%20the%20availability%20of%20such%20a%20rich%20set%20of%20controls%20will%20result%20in%20the%20development%20of%20applications%20that%20are%20much%20more%20intuitive%20to%20use%E2%80%9D.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Web_final.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F283437i1AA9A7988E22119B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Web_final.png%22%20alt%3D%22Web_final.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2348929%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20Central%20Laser%20Facility%20is%20using%20WinUI%20and%20Uno%20Platform%20to%20envision%20a%20new%20multiplatform%20control%20system%20for%20the%20Extreme%20Photonics%20Applications%20Centre%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎May 25 2021 01:47 AM
Updated by: