Version 4.1 by sendels on 2019/06/24 12:14

Show last authors
1 (% class="twikiTocTitle" %)Contents:
2
3 * general Camera info
4 * Camera server general info
5 * scaling the image / spectra
6 * Spectra (line outs) and Gaussian fits
7 * working with ROIs
8 * saving images
9 * Installing new cameras
10 * Renaming cameras
11 * special topics
12 **
13 *** Background subtraction:
14 *** Power Over Ethernet
15 *** Triggering
16 *** Restarting Servers
17 * FAQs
18 * Troubleshooting
19 ** Individual camera manuals
20 * Cameras used in the FLASH photon diagnostic
21
22 \\
23
24 \\
25
26 == general Camera info ==
27
28 there are several cameras that are watched if they have the correct rep rate and if not the server is restarted every 15 min. here is the list of these cameras [[https:~~/~~/ttfinfo.desy.de/FLASHWiki/Wiki.jsp?page=FlashCamerasToWatch~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://ttfinfo.desy.de/FLASHWiki/Wiki.jsp?page=FlashCamerasToWatch||shape="rect"]]
29
30 \\
31
32 == Camera server general info ==
33
34 [[info from the DOOCS pages~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://ttfinfo.desy.de/FLASHWiki/Wiki.jsp?page=Camera%20server||shape="rect"]]
35
36 For the (% class="twikiNewLink" %)CeYAG(%%) camera in the FL1 tunnel Gerhard implemented a feature that during a restart a camera_server.conf.default file is copied as conf file to always have the same settings. if one wants to change something permanently one has to edit the default file. e.g. cp /export/doocs/server/camera_server/camera_server.conf.default /export/doocs/server/camera_server/camera_server.conf
37
38 \\
39
40 == scaling the image / spectra ==
41
42 \\
43
44 == Spectra (line outs) and Gaussian fits ==
45
46 \\
47
48 == working with ROIs ==
49
50 To create more ROIs one has to do the following:
51
52 \\
53
54 \\
55
56 * 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.
57 * NOTE the file os owned by doocs adm. to edit it one can use (% class="twikiNewLink" %)WinSCP(%%) and log in as doocsadm.
58
59 \\
60
61 * now all cameras have maximum ROIs. if you need less for some cameras read below:
62 * Set the required number of ROIs for every camera in the property ROIS.NUM in the configuration file. The way how it's done is the following. On the camera server re-start xxx number of ROIS will be created for every camera. But after reading the configuration file the non-required ROIS will removed for every camera separately according to ROIS.NUM.
63
64 \\
65
66 == saving images ==
67
68 The tool writes images of either bmp or an image depemdent format to the specified folder. The folder is on the computer on which the camera server is running (!) and the path starts from the camera server path (!)options
69 The typical location of the camera server is /export/doocs/server/camera_server/. . if you put "./" in the field Camera Directory. the images in the camera_server directory. It is better to have a separate directory as subfolder like "CameraImages". on some computers this is already installed.
70 Another aproach is to write the files to a home directory. One may put e.g. "/home/vuvfuser/CameraImages/" in the Camera Directory to save on the home directory.
71
72 * aquire single images: just press "writing once"
73 * aquire a defined number of images: put the number of images in the "count" field and press enter.
74 * 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
75
76 note that youor login has to have the permissions to write in the specified field!
77
78 \\
79
80 == Installing new cameras ==
81
82 To install an additional camera to a DOOCS camera server perform the following steps:
83
84 * Open the Jddd watchdog panel for the server ((% class="twikiNewLink" %)WatchdogOverview(%%).xml). goto camera server -> locations
85 * right upper part is a button Divice control
86
87 [[image:url:http://hasfweb.desy.de/pub/Setup/CameraServerManual/Clipboardadd_camera.jpg||alt="Clipboardadd_camera.jpg" width="455" height="408"]]
88
89 *
90 ** use action: add
91 ** chose FCT code (812 in our case)
92 ** add name
93 ** press send
94
95 the you see the new camera in the location table. do ot forget to click "Cfg. restore" in the camer expert pannel onece everything looks o.k. with the camera ( otherwise the cameras may switch with their names ...)
96
97 [[image:url:http://hasfweb.desy.de/pub/Setup/CameraServerManual/screenshot.png||alt="screenshot.png" width="1490" height="950"]]
98
99 \\
100
101 1. First you'll have to open the camera location overview from the watchdog panel
102 1*. Enable the camera you wanna edit. If the check mark can't be enabled, you can't talk to the camera.
103 1. Open the Camera Control Panel and switch to the "Expert View"
104 1. Make sure the "Cfg Restore" checkbox is set. This will make the camera server associate the camera-id with this server location. So after a reboot/restart this location controls the same camera.
105 1. Switch to continuous acquisition
106 1. Setup the trigger as needed
107 1. Enable rate-limiting in case you don't have a trigger
108 1. Start acquisition; if the frame number increases, you did everything right
109
110 == Renaming cameras ==
111
112 While the camera is running one can go to the WD -> locations -> properties ... and then change the NAME to the desired one (NO SPACE CARACTERS IN THE NAME !!!) and press enter ... thats it
113
114 \\
115
116 == special topics ==
117
118 ==== Background subtraction: ====
119
120 * 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)
121 * For Basler ethernet camera's the offset needs to be zero in anycase, otherwise the server will crash. Also note, you have to make a reference image, that you have to stop/start the image aquisition before you can enable the background-substraction in jddd.
122
123 \\
124
125 ==== Power Over Ethernet ====
126
127 ==== Triggering ====
128
129 * 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 !!
130 * [[BLCamTrigOverview>>doc:FLASHUSER.jddd-linked help pages.FLASH beamline camera docu.Docu of the BL camera trigger system based on MTCA.WebHome]]
131
132 ==== Restarting Servers ====
133
134 * Starting with DOOCS release 18.10.6 the watchdog-server provides a new feature called PRE_START. This lets the watchdog-server check if the actual server directory contains a PRE_START script. If this script is present, it will be executed before the actual server start command.
135 * Restarting the server through the watchdog will make a call to the doocs script:(% class="code" %)
136 (((
137 doocs [re]start camera_server no_pre_start
138 ))).
139 * Calling (% class="WYSIWYG_TT" %)//doocs start camera_server// (%%)will include the
140
141 {{code language="none"}}
142 PRE_START
143 {{/code}}// //script, which is by default set to (% class="WYSIWYG_TT" %)///export/doocs/server/script/reload_CAMERA_Server// (%%).
144 * You can also use the (% class="WYSIWYG_TT" %)//!restart!//(%%)button from watchdog server overview. This will execute (% class="WYSIWYG_TT" %)///export/doocs/server/script/reload_CAMERA_server //(%%)directly.
145 * The (% class="WYSIWYG_TT" %)//reload_CAMERA_server s//(%%)cript will usually:
146 ** Stop capturing on all cameras (optional)
147 ** Stop the camera_server
148 ** Unload the device drivers (optional)
149 ** Restore a default configuration (optional)
150 ** Start the camera_server
151
152 \\
153
154 == FAQs ==
155
156 1. //How can I save some images?// you can save images of the camera locally on the computer you are running jddd by clicking the right mouse button and use "save as png..."
157 1. //How can I save many images?// goto camera "control" -> "Write images" - a new window opens. With this you can save images (set best to BMP) with timestamp to the computer on which the camera server is running !! (hasftunnelcam1). here the directory in which it safes is : hasftunnelcam1: /export/doocs/server/camera_server/images (if you have the standard setting "./images/" in the directory field). you can get the images with e.g. (% class="twikiNewLink" %)WinSCP(%%). See also help in the "write images" window for more info.
158 1. //No images are shown / no update - what to do?// Check if the camera is on (right upper part: Images. the checkbox should be green). If not activate the check box. if this is on but the frames are not counting the trigger might be off. you can check this going to
159 1. //The cameraserver is unavailable - what to do? See Restarting Server
160 //
161
162 == Troubleshooting ==
163
164 === Individual camera manuals ===
165
166 * [[SpectrometerPCOManual>>doc:FLASHUSER.jddd-linked help pages.FLASH1 Tunnel Spectrometer.Things to know about the FLASH1 Spectrometer PCO.WebHome]]
167
168 == Cameras used in the FLASH photon diagnostic ==
169
170 * [[Basler ace GigE Users Manual>>attach:Basler_ace_GigE_Users_Manual.pdf]]
171
172 \\
173
174 * [[ Prosilika User_Manual.pdf>>attach:700013A_-_GE1350_User_Manual.pdf]]
175
176 \\
177
178 * [[Basler A311f user manual .pdf>>attach:Basler_A311f.pdf]]
179
180 \\
181
182 * [[PCO user manual.pdf>>attach:PCO.pdf]]
183
184 \\
185
186 * Link to PCO status Sept 2015