120 likes | 388 Views
LabVIEW integration into the LHC control system. The LHC. LabVIEW. Presentation overview. Why LabVIEW in the LHC control? What is it used for? How? Can we do better? Can we use CS ?. Why LabVIEW?. Post Mortem analysis of transient events is much easier with LV than with Java.
E N D
LabVIEW integration into the LHC control system The LHC LabVIEW Adriaan Rijllart
Presentation overview • Why LabVIEW in the LHC control? • What is it used for? • How? • Can we do better? • Can we use CS? Adriaan Rijllart
Why LabVIEW? • Post Mortem analysis of transient events is much easier with LV than with Java. • Equipment experts are using LV to debug and commission their systems • PXI with LV-RT will be used for fast digitisers (8 GS/s), HW and drivers not available in VME. • On-line beam diagnostics needs fast software development tool to enable expert operators to quickly understand instabilities, resonances, beam losses, … Adriaan Rijllart
LabVIEW in the LHC control system Post Mortem analysis Equipment diagnostics On-line beam diagnostics Central part LabVIEW application LabVIEW application Java application LabVIEW application lib Data server CMW DataSocket server CMW FESA LabVIEW RealTime Adriaan Rijllart
Post Mortem data analysis stages • Individual system tests (QPS, PIC, PC) • Hardware Commissioning (powering) • Sector tests (octant) • LHC commissioning with beam • LHC operation with beam Adriaan Rijllart
Quench Protection System check-out • Synchronised analog and digital graphs for visual inspection. • Analysis of time constants • Transition sequence and delay times of digital signals. Adriaan Rijllart
LabVIEW equipment diagnosis • CMW wrapper developed at CERN • Equipment experts can connect to their equipment bypassing the middle tier • FESA is Front-End Software. Adriaan Rijllart
LabVIEW - CMW wrapper • Get and Set functions are implemented. • Every Get command has 5 different modes: 0 – synchronous 1 – first request is synchronous and all next is asynchronous 2 – asynchronous 3 – subscribe property 4 – unsubscribe property 5 – last value from cache. Adriaan Rijllart
Data exchange Java-LabVIEW The problem: • OASIS - observation of analog signals system, difficult to modify. • Need for fast programmable signal analysis application (FFT, filters, convolution, correlation,…). Our solution: • Connect via NI library to send data to the DataSocket server. • Then connect from any LabVIEW application to the DataSocket server to receive the data. • Minimum investment: only a Java data interface. Adriaan Rijllart
Java <-> LabVIEW data exchange the OASIS example LabVIEW signal analyser OASIS Java data interface Publish NI.jar Subscribe Legend Existing NI DataSocket Server NI provided AP+MA devel. AB/OP devel. Adriaan Rijllart
Integration of LV-RT and PXI • LV-RT on PXI can publish data. • Using LV8: network variables. • LV control room application merges OASIS and LV-RT data. LabVIEW application DataSocket server Adriaan Rijllart
Questions • Can we profit from CS? • If yes, how? • Should we try DIM? • Try LV8? Adriaan Rijllart