Skip to content

Commit

Permalink
updated docs and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thattil committed Jul 12, 2023
1 parent 1a859b8 commit f761046
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) 2021 Contributors to the SLS Detector Package
cmake_minimum_required(VERSION 3.12)
project(slsDetectorPackage)
set(PROJECT_VERSION 7.0.1)
set(PROJECT_VERSION 7.0.2)

set(CMAKE_CXX_FLAGS_RELEASE "-O3 -DNDEBUG")

Expand Down
16 changes: 13 additions & 3 deletions docs/src/slsreceiver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,21 @@ ZMQ: Json Header Format
"quad": unsigned int,
"addJsonHeader": {
string : string
}
},
"rx_roi": [
unsigned int,
unsigned int,
unsigned int,
unsigned int
]
}
+--------------+----------------------------------------------+
| Field | Description |
+--------------+----------------------------------------------+
| jsonversion | Version of the json header. |
| | Value at 4 for v6.x.x and v7.x.x |
| | Value at 4 for v6.x.x - v7.0.1 |
| | Value at 5 for v7.0.2 |
+--------------+----------------------------------------------+
| bitmode | Bits per pixel [4|8|16|32] |
+--------------+----------------------------------------------+
Expand Down Expand Up @@ -222,7 +229,10 @@ ZMQ: Json Header Format
| addJsonHeader| Optional custom parameters that is required |
| | for processing code. |
+--------------+----------------------------------------------+

| rx_roi | ROI in the receiver per port (xmin, xmax, |
| | ymin, ymax). For external guis to know |
| | what is saved |
+--------------+----------------------------------------------+

SLS Receiver Header Format
--------------------------
Expand Down
4 changes: 2 additions & 2 deletions slsReceiverSoftware/src/receiver_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace sls {
// files

// versions
#define HDF5_WRITER_VERSION (6.5) // 1 decimal places
#define BINARY_WRITER_VERSION (7.1) // 1 decimal places
#define HDF5_WRITER_VERSION (6.6) // 1 decimal places
#define BINARY_WRITER_VERSION (7.2) // 1 decimal places

#define MAX_FRAMES_PER_FILE 20000
#define SHORT_MAX_FRAMES_PER_FILE 100000
Expand Down
2 changes: 1 addition & 1 deletion slsSupportLib/include/sls/sls_detector_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#define MAX_UDP_DESTINATION 32

#define SLS_DETECTOR_HEADER_VERSION 0x2
#define SLS_DETECTOR_JSON_HEADER_VERSION 0x4
#define SLS_DETECTOR_JSON_HEADER_VERSION 0x5

// ctb/ moench 1g udp (read from fifo)
#define UDP_PACKET_DATA_BYTES (1344)
Expand Down
6 changes: 3 additions & 3 deletions slsSupportLib/include/sls/versionAPI.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// SPDX-License-Identifier: LGPL-3.0-or-other
// Copyright (C) 2021 Contributors to the SLS Detector Package
/** API versions */
#define RELEASE "7.0.1"
#define RELEASE "7.0.2"
#define APICTB "7.0.0 0x230222"
#define APIGOTTHARD "7.0.0 0x230222"
#define APIGOTTHARD2 "7.0.0 0x230222"
#define APIMYTHEN3 "7.0.0 0x230222"
#define APIMOENCH "7.0.0 0x230222"
#define APIEIGER "7.0.0 0x230222"
#define APIRECEIVER "7.0.0 0x230222"
#define APILIB "7.0.2 0x230421"
#define APIJUNGFRAU "7.0.2 0x230710"
#define APILIB "7.0.2 0x230712"
#define APIRECEIVER "7.0.2 0x230712"

0 comments on commit f761046

Please sign in to comment.