Lab VIEW integration into the LHC control system
Lab. VIEW integration into the LHC control system The LHC CS workshop 3 -2 -06 MA Lab. VIEW Adriaan Rijllart 1
MA Presentation overview Why Lab. VIEW in the LHC control? n What is it used for? n How? n Can we do better? n Can we use CS? n CS workshop 3 -2 -06 Adriaan Rijllart 2
MA Why Lab. VIEW? n n 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, … CS workshop 3 -2 -06 Adriaan Rijllart 3
MA Lab. VIEW in the LHC control system Post Mortem analysis Lab. VIEW application Equipment diagnostics Central part Lab. VIEW application Java application On-line beam diagnostics Lab. VIEW application lib Data server CMW FESA CS workshop 3 -2 -06 Adriaan Rijllart Data. Socket server Lab. VIEW Real. Time 4
MA Post Mortem data analysis stages n n n Individual system tests (QPS, PIC, PC) Hardware Commissioning (powering) Sector tests (octant) LHC commissioning with beam LHC operation with beam CS workshop 3 -2 -06 Adriaan Rijllart 5
MA 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. CS workshop 3 -2 -06 Adriaan Rijllart 6
Lab. VIEW equipment diagnosis n n n MA CMW wrapper developed at CERN Equipment experts can connect to their equipment bypassing the middle tier FESA is Front-End Software. CS workshop 3 -2 -06 Adriaan Rijllart 7
MA Lab. VIEW - CMW wrapper n Get and Set functions are implemented. n 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. CS workshop 3 -2 -06 Adriaan Rijllart 8
MA Data exchange Java-Lab. VIEW The problem: n OASIS - observation of analog signals system, difficult to modify. n Need for fast programmable signal analysis application (FFT, filters, convolution, correlation, …). Our solution: n Connect via NI library to send data to the Data. Socket server. n Then connect from any Lab. VIEW application to the Data. Socket server to receive the data. n Minimum investment: only a Java data interface. CS workshop 3 -2 -06 Adriaan Rijllart 9
Java <-> Lab. VIEW data exchange the OASIS example MA Lab. VIEW signal analyser OASIS Java data interface NI. jar Publish Subscribe Legend Existing NI Data. Socket Server NI provided AP+MA devel. AB/OP devel. CS workshop 3 -2 -06 Adriaan Rijllart 10
MA Integration of LV-RT and PXI n n n LV-RT on PXI can publish data. Using LV 8: network variables. LV control room application merges OASIS and LV-RT data. Lab. VIEW application Data. Socket server CS workshop 3 -2 -06 Adriaan Rijllart 11
MA Questions Can we profit from CS? n If yes, how? n Should we try DIM? n Try LV 8? n CS workshop 3 -2 -06 Adriaan Rijllart 12
- Slides: 12