Last modified by sndueste on 2024/03/13 14:17

From version 7.1
edited by sndueste
on 2019/09/19 13:23
Change comment: There is no comment for this version
To version 14.1
edited by sndueste
on 2021/06/21 10:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -20,13 +20,41 @@
20 20  
21 21  \\
22 22  
23 +\\
24 +
25 +== Troubble shooting / Restarting the camera server ==
26 +
27 +If there are problems occurring with the camera ( no image is shown, no update, camera server crashes ...) then it is** mainly 2 reasons:**
28 +
29 +* **There is no trigger connected to the camera → check with trying to run the camera untriggered ...**
30 +* **the server has problems -> restart the server.**
31 +
32 +Even if it seems unrelated ( camera saved only 0 in the DAQ, reprate can not be changed... ) it turned out that restarting the camera server is helpful.
33 +
34 +1. Best to make a screenshot (in expert mode) to the logbook before restarting in case parameter settings are lost ...
35 +1. goto WDserver and press restart. The camera panel will go red and will come back after about 20 seconds ...
36 +
37 +[[image:attach:image2019-9-24_16-1-16.png||height="400"]]
38 +
39 +\\
40 +
41 +If the restart (several times ...) does not help there is an option to make a "deeper restart". This option uses a restart script which includes power cycling of the camera ( for ethernet cameras)and reloading a standard configuration.  One has to be logged in at a linux computer in order to run the script.
42 +
43 +\\
44 +
45 +[[image:attach:image2019-9-24_16-3-48.png||height="400"]]
46 +
47 +\\
48 +
49 +\\
50 +
23 23  == Monitoring system ==
24 24  
25 25  we implemented a monitoring system for the important beamline cameras in FLASH1 and FLASH2.
26 26  
27 -the camera check overview shows a red indicator if the camera is off OR the actual values are different from the saved reference values. Clicking on the red symbol in the camera check one can get to the overview of the parameters. Here a red dot indicates which parameter is different from the reference setting. e.g. if ROI settings have been changed also the reference settings have to be changed accordingly if they are now the new reference !!
55 +The camera check overview shows a red indicator if the camera is off OR the actual values are different from the saved reference values. Clicking on the red symbol in the camera check one can get to the overview of the parameters. Here a red dot indicates which parameter is different from the reference setting. e.g. if ROI settings have been changed also the reference settings have to be changed accordingly if they are now the new reference !!
28 28  
29 -The warning is also shown inn the according control panels for the cameras.
57 +The warning is also shown in the according control panels for the cameras.
30 30  
31 31  [[image:attach:image2019-9-19_12-26-21.png||height="250"]] [[image:attach:image2019-9-19_12-34-54.png||height="250"]]
32 32  
... ... @@ -46,10 +46,34 @@
46 46  
47 47  == Spectra (line outs) and Gaussian fits ==
48 48  
77 +The camera server can fit the vertical and horizontal averaged data  with a Gaussian fit and provides the corresponding parameters ( height, centroid and width) which have a history and can be used as for optimizing a signal ...
78 +
49 49  \\
50 50  
81 +[[image:attach:image2019-9-19_15-3-23.png||height="400"]]
82 +
83 +"Spectrum" of the whole image. this can lead to a wrong fitting ...         
84 +
51 51  \\
52 52  
87 +\\
88 +
89 +[[image:attach:image2019-9-19_15-5-29.png||height="400"]]
90 +
91 +For a useful fit it is better to look at the "spectrum" of a ROI which can be set to the desired region. Note that the ROI has to be filled (Width = 0) to be correctly averaged!
92 +
93 +\\
94 +
95 +\\
96 +
97 +[[image:attach:image2019-9-19_15-4-20.png||height="250"]]
98 +
99 +For some cameras we also have dedicated Beam profile viewers.
100 +
101 +\\
102 +
103 +\\
104 +
53 53  == working with ROIs ==
54 54  
55 55  To create more ROIs one has to do the following:
... ... @@ -58,7 +58,7 @@
58 58  
59 59  \\
60 60  
61 -* Define in ENVIRONMENT file the environment variable "(% class="WYSIWYG_TT" %)export FLASH_CAM_ROI_NUM_ENV=xxx(%%)" . With xxx the maximum number of ROIS one needs in a camera controlled by the camera server. (The ENVIRONMENT file is under e.g. export/doocs/hasvuvblfw2/server/camera_server). after editing the ENVIRONMENT file one has to restart the cameraserver.
113 +* Define in ENVIRONMENT file the environment variable "(% class="WYSIWYG_TT" %)export FLASH_CAM_ROI_NUM_ENV=xxx(%%)" . With xxx the maximum number of ROIS one needs in a camera controlled by the camera server. (The ENVIRONMENT file is under e.g. export/doocs/hasvuvblfw2/server/camera_server). after editing the ENVIRONMENT file one has to restart the camera server.
62 62  * NOTE the file os owned by doocs adm. to edit it one can use (% class="twikiNewLink" %)WinSCP(%%) and log in as doocsadm.
63 63  
64 64  \\
... ... @@ -76,7 +76,7 @@
76 76  
77 77  * aquire single images: just press "writing once"
78 78  * aquire a defined number of images: put the number of images in the "count" field and press enter.
79 -* aquire many images. pressing the countinously writing button starts the writing and stops when you press the stop button or the harddisk is 95% full
131 +* aquire many images. pressing the continuously writing button starts the writing and stops when you press the stop button or the hard drive is 95% full
80 80  
81 81  note that youor login has to have the permissions to write in the specified field!
82 82  
... ... @@ -87,9 +87,9 @@
87 87  To install an additional camera to a DOOCS camera server perform the following steps:
88 88  
89 89  * Open the Jddd watchdog panel for the server ((% class="twikiNewLink" %)WatchdogOverview(%%).xml). goto camera server -> locations
90 -* right upper part is a button Divice control
142 +* right upper part is a button Device control
91 91  
92 -[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/CameraServerManual/Clipboardadd_camera.jpg~|~|alt="Clipboardadd_camera.jpg" width="455" height="408"~]~]>>attach:Clipboardadd_camera.jpg]]
144 +[[image:attach:Clipboardadd_camera.jpg||height="400"]]
93 93  
94 94  *
95 95  ** use action: add
... ... @@ -99,7 +99,7 @@
99 99  
100 100  the you see the new camera in the location table. do not forget to click "Cfg. restore" in the camera expert panel once everything looks o.k. with the camera ( otherwise the cameras may switch with their names ...)
101 101  
102 -[[~[~[image:url:http://hasfweb.desy.de/pub/Setup/CameraServerManual/screenshot.png~|~|alt="screenshot.png" width="1490" height="950"~]~]>>attach:screenshot.png]]
154 +[[image:attach:screenshot.png||height="400"]]
103 103  
104 104  \\
105 105  
... ... @@ -122,8 +122,8 @@
122 122  
123 123  ==== Background subtraction: ====
124 124  
125 -* it is important that the values for negative offset are 0. otherwise the substraction does not work (experimental finding by Stefan ...) . For the Basler A311 cameras the mode has to be 5 . for mode 7 the Background substraction does not work... (no resources left)
126 -* For Basler ethernet camera's the offset needs to be zero in any case, otherwise the server will crash. Also note, you have to make a reference image, that you have to stop/start the image acquisition before you can enable the background-substraction in jddd.
177 +* it is important that the values for negative offset are 0. otherwise the subtraction does not work (experimental finding by Stefan ...) . For the Basler A311 cameras the mode has to be 5 . for mode 7 the Background subtraction does not work... (no resources left)
178 +* For Basler ethernet camera's the offset needs to be zero in any case, otherwise the server will crash. Also note, you have to make a reference image, that you have to stop/start the image acquisition before you can enable the background-subtraction in jddd.
127 127  
128 128  \\
129 129  
... ... @@ -132,7 +132,7 @@
132 132  ==== Triggering ====
133 133  
134 134  * it is important for the ace cameras that the trigger is 7 µs long. when it was accidentally switched to 0.7 µs the a311 were still triggering while the ace were NOT !!
135 -* [[BLCamTrigOverview>>doc:FLASH.Docu of the BL camera trigger system based on MTCA]]
187 +* [[BLCamTrigOverview>>doc:FLASHUSER.jddd-linked help pages.FLASH beamline camera docu.Docu of the BL camera trigger system based on MTCA.WebHome]]
136 136  
137 137  ==== Restarting Servers ====
138 138