mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 08:10:02 +02:00
moving subframenumber into a 32 bit number
This commit is contained in:
parent
2024eb5d6e
commit
fa6d18e9b2
@ -5174,7 +5174,7 @@ int multiSlsDetector::createReceivingDataSockets(const bool destroy){
|
|||||||
|
|
||||||
|
|
||||||
int multiSlsDetector::getData(const int isocket, const bool masking, int* image, const int size,
|
int multiSlsDetector::getData(const int isocket, const bool masking, int* image, const int size,
|
||||||
uint64_t &acqIndex, uint64_t &frameIndex, uint64_t &subframeIndex, string &filename){
|
uint64_t &acqIndex, uint64_t &frameIndex, uint32_t &subframeIndex, string &filename){
|
||||||
|
|
||||||
if (!zmqSocket[isocket]->ReceiveHeader(isocket, acqIndex, frameIndex, subframeIndex, filename))
|
if (!zmqSocket[isocket]->ReceiveHeader(isocket, acqIndex, frameIndex, subframeIndex, filename))
|
||||||
return FAIL;
|
return FAIL;
|
||||||
@ -5220,7 +5220,7 @@ void multiSlsDetector::readFrameFromReceiver(){
|
|||||||
//gui variables
|
//gui variables
|
||||||
uint64_t currentAcquisitionIndex = -1;
|
uint64_t currentAcquisitionIndex = -1;
|
||||||
uint64_t currentFrameIndex = -1;
|
uint64_t currentFrameIndex = -1;
|
||||||
uint64_t currentSubFrameIndex = -1;
|
uint32_t currentSubFrameIndex = -1;
|
||||||
string currentFileName = "";
|
string currentFileName = "";
|
||||||
|
|
||||||
//getting sls values
|
//getting sls values
|
||||||
|
@ -1440,7 +1440,7 @@ private:
|
|||||||
* @param filename address of file name
|
* @param filename address of file name
|
||||||
*/
|
*/
|
||||||
int getData(const int isocket, const bool masking, int* image, const int size,
|
int getData(const int isocket, const bool masking, int* image, const int size,
|
||||||
uint64_t &acqIndex, uint64_t &frameIndex, uint64_t &subframeIndex, string &filename);
|
uint64_t &acqIndex, uint64_t &frameIndex, uint32_t &subframeIndex, string &filename);
|
||||||
|
|
||||||
/** Ensures if sockets created successfully */
|
/** Ensures if sockets created successfully */
|
||||||
bool dataSocketsStarted;
|
bool dataSocketsStarted;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user