Presentation is loading. Please wait.

Presentation is loading. Please wait.

Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab.

Similar presentations


Presentation on theme: "Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab."— Presentation transcript:

1 Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab

2 2 Magnetic Field Measurement System IMMW-14, 2005 Family Of Systems Our approach is to build a family of measurement systems that are based on a common framework. All the systems in the family share various common components and use the same standards to configuring, visualizing, and archiving data. *Framework – the skeleton of an application that can be customized and reused **Component – an independently released software module suitable for composition (together with other components) into multiple applications

3 3 Magnetic Field Measurement System IMMW-14, 2005 EMS Framework Extensible Measurement System ( EMS) is a component-based framework for building measurement, data acquisition, and data stream processing systems. The goal of the EMS project was to design, implement, and deploy a system that is extensible, flexible and dynamic. EMS can be used to develop configurable and dynamically reconfigurable systems.

4 4 Magnetic Field Measurement System IMMW-14, 2005 EMS Components properties state error status data control exceptiondebug Components have properties and state. Typical components input, process, and output data. Their behavior depends on their state and property values. Components can be forced to perform certain actions by sending control events to them. Components also output debug and exception information.

5 5 Magnetic Field Measurement System IMMW-14, 2005 EMS Component Connectivity splitter merger filter There are several categories of data processing components: Data sinks Data sources Data filters/processors Data splitters Data mergers sourcesink

6 6 Magnetic Field Measurement System IMMW-14, 2005 <component id="Producer” class="ems.core.components.SimpleDataGenerator"> <component id="Chart" class="ems.measurement.chart.ChartDataDisplay"> EMS XML Configuration Producer Chart

7 7 Magnetic Field Measurement System IMMW-14, 2005 EMS Scripts  Scripts written in Jython, a Java-based implementation of Python, provide control over the measurement process.  Scripts describe measurement sequences at a very high level of abstraction and supervise execution by sending control events to components.  Control events typically trigger operations on hardware, reconfigure components by applying a new set of properties (measurement parameters), or redirect data flow to appropriate processing components.

8 8 Magnetic Field Measurement System IMMW-14, 2005 System Development Process 1. Create a configuration by selecting and assembling components that control data flow, analyze data, provide partial and final data visualization, and archive data. 2. Prepare or modify measurement scripts, or update the measurement dictionaries, which contain arrays of movement sequences selectable at runtime. 3. Prepare or verify sets of parameters for each of the measurements. 4. Test and verify the correctness of the configuration and parameters by running in the simulation mode. Processing times and memory use can be examined during simulation.

9 9 Magnetic Field Measurement System IMMW-14, 2005 SSW System The Single Stretched Wire (SSW) system measures the strength and alignment parameters (axes and angles) of accelerator magnets. The system applies the EMS software framework and related methodology to the SSW measurement technique developed at Fermilab.

10 10 Magnetic Field Measurement System IMMW-14, 2005 SSW System

11 11 Magnetic Field Measurement System IMMW-14, 2005 SSW Component Configuration  A configuration tool is provided to help with configuring the system.  Properties of individual components can also be modified at run-time.

12 12 Magnetic Field Measurement System IMMW-14, 2005 Component Tailoring Each component has a set of properties that both control its behavior and exhibit its state. These properties can be introspected and modified externally at runtime.

13 13 Magnetic Field Measurement System IMMW-14, 2005 SSW DAQ  Simple Java instrumentation bus access interface.  Local and remote implementation of DAQ.  Highly portable DAQ.  Simulation mode for all hardware-control Java components.

14 14 Magnetic Field Measurement System IMMW-14, 2005 SSW Measurements  Each measurement is controlled by a dedicated script and the system can be easily expanded by adding more scripts.  The basic version has four main measurements: DC, AC, Sag, and Roll Angl e as well as two auxiliary modes: Tension Adjustment and Monitoring.  Script can run in an interactive or manual mode.  A sequence of measurements can be selected.  Measurements can be repeated.

15 15 Magnetic Field Measurement System IMMW-14, 2005 Measurement Parameters  Measurement parameters can be reviewed before each measurement and updated.  A hierarchical notation is used for parameters.

16 16 Magnetic Field Measurement System IMMW-14, 2005 User Interface  UI is configurable (component choices).  UI components are configurable and runtime modifiable.  Data from any point in the dataflow can be visualized  UI adapts to needs of a currently running measurement.

17 17 Magnetic Field Measurement System IMMW-14, 2005 On-line Visualization  Display components allow for viewing past data and pausing the display.  Data items to be visualized can be selected at runtime.

18 18 Magnetic Field Measurement System IMMW-14, 2005 Runtime System Status  All events in the system can be reported by the Traffic Monitor component, including data, debug, control, and error events.  Various parameters such as memory usage and timing can be easily monitored too.  The user can enable various levels of debug on each component separately at runtime.

19 19 Magnetic Field Measurement System IMMW-14, 2005 Summary  The SSW system is part of the family of measurement systems, a group of systems built based on a common software framework, the EMS.  EMS systems are configured from pre-build and customizable components.  EMS systems can work completely autonomously and even be scheduled to run in the background.  Properties of any EMS component can be examined and modified at runtime.  Measurement sequences are in the form of scripts that can be easily modified and added to the system.  Portability of the SSW system stems from the fact that it is mostly written in Java with a minimal platform-dependent code necessary to interface to instrumentation buses.


Download ppt "Magnetic Field Measurement System as Part of a Software Family Jerzy M. Nogiec Joe DiMarco Fermilab."

Similar presentations


Ads by Google