/picamon

Raspberry Pi based EPICS camera monitor

Primary LanguageCApache License 2.0Apache-2.0

PiCaMon

A Raspberry Pi based camera monitoring system. The idea is to be able to display EPICS camera feed (based on AreaDetector) on Raspberry Pi controlled monitors from a remote interface.

Concept

Concept

GUI

Setup overview

+-----------------------------+           +---------+     +--------------------+    
| CAMERA 1                    |           |         |     | MONITOR 1          |    
|  IOC: CAM1                  |           |         |     |  IP: 192.168.2.2   |
|  PVs: :xsize                +---------->+         +---->+  ID: MON1          |   
|       :ysize                |           |         |     |                    |   
|       :arrayData            |           |         |     +--------------------+   
+-----------------------------+           |         |                              
                                          |         |                              
+-----------------------------+           | SWITCH  |     +--------------------+   
| CAMERA 2                    |           |         |     | MONITOR 2          |   
|  IOC: CAM2                  |           |         |     |  IP: 192.168.2.3   |
|  PVs: :xsize                +---------->+         +---->+  ID: MON2          |   
|       :ysize                |           |         |     |                    |   
|       :arrayData            |           |         |     +--------------------+   
+-----------------------------+           |         |                              
                                          |         |                              
+-----------------------------+           |         |     +--------------------+   
| CAMERA M                    +---------->+         +---->+ MONITOR N          |
+-----------------------------+           +---+-----+     +--------------------+   
                                              |
                                              |
                                              |
             +--------------+         +-------+-------------------------------+    
             |              |   CA    | CONTROLLER                            |    
             |      GUI     |         |  IOC: CONTROLLER                      |    
             |              |         |  PVs: $(P)                            |    
             |      e.g.    +<------->+       <monID>:RATE = refresh rate(Hz) |    
             |   CS-Studio  |         |       <monID>:COLMAP = colourmap name |
             |    or else   |         |       COLORMAPS = list of all colmaps |
             |              |         |                                       |
             +--------------+         +---------------------------------------+