58 Commits

Author SHA1 Message Date
e1497f9cb9
Dev/server malloc check (#1023)
* usleep in communication to actually relay the err message of memory allocation to the client (weird but test for now), function in server to handle memory allcoation issues (updates mess, ret and sendsit to the client and returns prior from function implementatin, setting fnum in client for the speicific functions that send to detector each argument separtely, they need to remember the fnum else they throw with the incorrect fnum
* server: every malloc must check if it succeeded, rearranging so that the free is clear as well (only in funcs so far)
* fixed malloc checks in other places other than funcs.c
2024-11-18 09:46:21 +01:00
Dhanya Thattil
8158ef876c
eiger: quad write/read reg (dr) and quad positions (#649)
* eiger: adding mask to read/write registers. useful for setting quad parameters as they might have different values for left and right fpga registers.
** fix quad position
* fix quad flipping
* formatting
2023-02-09 15:55:35 +01:00
Dhanya Thattil
afeee5501c
Fixpositions (#436)
* fix positions on server side

* wip

* numports wip

* wip

* jungfrau top inner interface row increment

* x, y detpos, wip

* removed eiger row indices flipping in gui (bottom flipping maintained)

* wip

* wip, jungfrau numinterfaces2

* jungfrau virtual works

* eiger, jungfrau, g2 virtual server works

* eiger positions fix, wip

* binaries in

* minor printout

* binaries in

* pointer bug

* comment to define test_mod_geometry define
2022-04-28 16:32:26 +02:00
ef1c52ddc1 merge conflict fix 2022-03-17 08:46:04 +01:00
39d3ee2b15 merge fix 2022-03-17 08:41:49 +01:00
ed5a1cdf1c eiger: get nextframenumber for 10g fixed (was connected to 1g registers for get), eiger/jungfrau/ctb/moench: if after a stop the next framenumbers are inconsistent, then it will get their max value andf set to +1 2022-03-15 17:17:28 +01:00
2b2533f465 allowing setmaster for eiger 2022-02-22 15:23:04 +01:00
4107938921 adding 12 bit mode for eiger, WIP 2022-02-16 15:03:25 +01:00
ac5d60155d swapping left and right for trasnmission delay to correspond to left and right of top 2022-02-04 10:49:28 +01:00
9168bc3ec9 eiger server: fix for datastream enabling wrong ports for bottom half module 2022-02-02 15:12:35 +01:00
b39c64032d clang format 2021-10-19 14:49:43 +02:00
b913c0059a added .c licenses 2021-10-15 15:52:40 +02:00
1c13dd95a0 eiger server fix: 10genable stop server does not have send_data struct initialized, not configuring mac or setup header for stop server 2021-10-13 12:56:03 +02:00
bd4827c4df wip 2021-09-01 17:19:06 +02:00
640a7823bd wip 2021-09-01 17:14:28 +02:00
a51deda2a4 moduleid for eiger m3 and g2, but set only for g2 2021-09-01 17:06:34 +02:00
25d03f949e partialread changed to readnrows 2021-08-31 16:46:49 +02:00
171175afd1 fixed alignment of macs and port due to structure 2021-08-30 14:19:31 +02:00
0233afb8d2 eiger, refactoring converting ip and mac 2021-08-30 12:50:11 +02:00
edbccd3661 wip 2021-08-27 17:52:48 +02:00
97880d419a possible fix for eiger num udp 2021-08-26 18:56:29 +02:00
19b428a91e minor 2021-08-26 16:55:30 +02:00
b75b9fa3b7 eiger round robin 2021-08-26 16:29:36 +02:00
f8d8fcf48a wipg 2021-08-18 19:05:05 +02:00
62d697e91f readnlines->partialread, better debugging for TCP socket interface bug 2021-08-13 12:34:50 +02:00
df300d29d2 minor 2021-07-21 14:08:47 +02:00
ec7ba7c508 wip to change to enum for portposition 2021-07-20 16:05:08 +02:00
f9feabaacf fix 2021-07-12 16:32:55 +02:00
ff4ca4af6c fix 2021-07-12 16:32:25 +02:00
fdf6632356 wip 2021-07-05 15:20:34 +02:00
cbdb05a3a8 wip 2021-07-01 15:11:22 +02:00
814e8898d8 wip 2021-06-28 17:42:37 +02:00
a7d46b701a wip 2021-06-28 17:11:01 +02:00
4a4fbddb79 wip 2021-06-28 17:07:09 +02:00
755738a42e wip 2021-06-22 20:50:50 +02:00
Dhanya Thattil
a6d696a0f8
Nextframenumber (#215) 2020-11-16 17:26:12 +01:00
092b3fa8b9 eiger: locking for local link access in shared memory 2020-09-18 11:23:21 +02:00
Dhanya Thattil
dd918fb326
eiger deactivate beb functions (#140)
eiger: some deactivated beb functions should return a value instead of accessng  beb
2020-08-18 15:52:52 +02:00
ab72d342c9 formatting 2020-06-10 17:29:28 +02:00
200186ddde binaries in, std=gnu99, for loop variable declaration inside for loop 2020-06-10 17:27:02 +02:00
af4b5bbf50 Pr fix 2020-05-13 09:22:40 +02:00
e148a584df formatting 2020-05-11 19:27:49 +02:00
5aaefc8e00 fix using real detectors, moving readconfig to end (due to initialization) 2020-05-11 19:26:22 +02:00
30078d6c1f eiger: deactivate at startup, hostname activates, config file for top or master, if none, reset to hardware, no binaries 2020-05-08 18:11:15 +02:00
13c1f7c2d6 WIP 2020-05-08 16:31:26 +02:00
7d94ad51ab format slsdetectorservers .c 2020-05-05 15:30:44 +02:00
9f3ad4e2f4 merge from 4.2.0 2020-04-07 15:14:27 +02:00
Erik Frojdh
0de0d82a1a replaced old logger 2020-03-11 12:40:12 +01:00
18b8720c17 separated parameters and versions 2019-11-06 16:43:59 +01:00
Dhanya Thattil
ca054626e6
Removeudpcache (#65)
* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* solved eiger 1-10g issue

* some fixes for remove udp cache to work

* bug fix virtual

* removed special handling of rx_udpip
2019-09-30 14:46:25 +02:00