FESA 3 Implementation Status Stephane Deghaye BE/CO On behalf of the FESA team and many users.
NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.
-
Upload
laura-curtis -
Category
Documents
-
view
219 -
download
0
Transcript of NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.
![Page 1: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/1.jpg)
nAos
new Analog observation system
Stephane DeghayeAB/CO/FC section meeting
22 January 2003
![Page 2: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/2.jpg)
Overview
The nAos systemThe vscope applicationThe nAos front-endsTelecomFuture
![Page 3: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/3.jpg)
The nAos system
LAN
Oracle database
Virtual oscilloscopes
Analog inputs
Analog inputs
Analog inputs
VXI crates
Triggers
![Page 4: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/4.jpg)
The vscope application
C / SQL / MOTIF;3rd generation of frame;LOC: 40k;Maintenance cost: ++Feasible in Java ? (performance)
![Page 5: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/5.jpg)
The database
38 tables – 12 commons, 13 CPS & 13 SPS.True relational design with PK, FK and constraintsStore information on:– Signal location– Menu hierarchy– Signal setting and global setting– Hardware installed– Events and statistics.
![Page 6: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/6.jpg)
The front-ends
Back-plane bus standards;Operating system and system facilities;Application.
![Page 7: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/7.jpg)
VXI
Definition of the two outer columns of the P2 to include:– A very stable 10 MHz ECL clock– ECL and analog supply voltages– ECL & TTL trigger lines– An analog summing bus– The module identification bus– The local bus (daisy chain structure)
Deeper than the VME standard (x2).
![Page 8: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/8.jpg)
CompactPCI
Synchronous bus PCI @ 33MHz;Wider bandwidth than in the VME (! 64x, …);Shorter back-plane available due to reflection Bridge in the back-plane;Today, fast scopes are only in CPCI.
![Page 9: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/9.jpg)
Operating systems
VxWorks on VXI with NI CPU 030;LynxOS on VXI with VME CPU CES;Linux on CPCI with CPCI CPU (x86 based).
![Page 10: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/10.jpg)
VxWorks on VXI
RTOS;Mono-user;Everything is bound dynamically to the kernel;Use of the NI resource manager (PnP);License problem.
![Page 11: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/11.jpg)
LynxOS on VXI
LynxOS specialists at CERN;Better integration of the nAos crates;Need to write our own RESMAN (A. Gagnaire);Need to use an VME/VXI adapter.
RIO 8062PowerPCVME Controller V
ME
Co
nn
ecto
rs
Glue logic
VX
I Co
nn
ecto
rs
![Page 12: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/12.jpg)
nAos FE applic. (VxWorks)
Multi-threads (VxWorks) all data shared;Written in C;One big file with everything + pseudo device driver for each HW module;Use of message queues for inter threads communication;Some nice remote diagnostic features.
![Page 13: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/13.jpg)
nAos FE applic. (LynxOS)
Multi tasks + threads for simple tasks (e.g. waiting on a handle);Use POSIX shared memory segment;Modularization of the applic (one file per process, library for HW access and for common functions);Add auto recovery & debugging features.
![Page 14: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/14.jpg)
Process View
dtm rtNaoPLS server
NaosServerSERVICE server
NaosBig|BrotherServerSURVEY server
tEndDigitTask
NaosM anagerTask
NaosDispacherTask
NaosTrgTraiMulpxTask
NaosRoutingSignalTask
Scope1CtrlScope1CtrlScope1CtrlScope1Ctrl
Task
tJetonDelay 2 m m
Telegram s
NaosQueueServertoManager
NaosQueueM anagerToRoute
LAN
NaosQueueM anagerToScope[1-8]
NaosQueueW d
NaosQueueM anagerToCount
NaosQueueM sgDispatcher
60
9090 90
91 91
95 95
100
102
Vxi HardwaresScopeŸ HP E1428AMulpxŸ 18x12PFŸ HP E146 A
N N N
L
N L
L
VL
H
VH
![Page 15: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/15.jpg)
The nAos Protocol
Messages structure
Group Key ScopeLA ChannnelNo Parameters
• Group: 1 byte, message identifier, response => MSB = 1;
• Key: 1 byte, comb. of the virtual scope no and the channel no;
• ScopeLA: 1 byte, logical address of the scope used;
• ChannelNo: 1 byte, channel no in the scope of LA ‘ScopeLA’
• Parameters: ASCII chars depending of the group, from 0 to …
NB: Several messages can be send at the same time by separating them with a ‘;’
![Page 16: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/16.jpg)
The nAos Protocol
Parameters structure
• No parameter. E.g SCOPE_TYPE, WS_COUNTV_UNLOCK;
• Fixed in number and position.
E.g. ADD_SIGNAL (signalID, prio, triggerCrate, triggerId, triggerCode);
• Variable in number and position => tag or tag-value pair.
E.g. SCOPE_ACTION(PROP_TIME, #PROP_TIME, …).
UDP/IP
• Connectionless
• Unreliable
![Page 17: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/17.jpg)
Where we want to go…
The nAos needs to be re-written using standard components;The vscope application is now unmaintainable;We can share hardware and software with other groups (SiWG);nAos can be more than just curve visualisation (Contract ?)We need another way to trigger the scopes;
![Page 18: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/18.jpg)
Trigger…
True pulse (not a trigger)
Tagging module
Pretrigger (computed)
Pretrigger (computed)
![Page 19: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/19.jpg)
The END !
Thank you !
![Page 20: NAos new Analog observation system Stephane Deghaye AB/CO/FC section meeting 22 January 2003.](https://reader035.fdocuments.us/reader035/viewer/2022062309/56649f325503460f94c4d75a/html5/thumbnails/20.jpg)
Vscope zoom