mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
timer split up
This commit is contained in:
@ -201,7 +201,7 @@ public:
|
||||
* @param f readout flags
|
||||
* @returns analog data bytes
|
||||
*/
|
||||
virtual int setImageSize(uint32_t a, uint64_t as, uint64_t ds, bool t, slsDetectorDefs::readoutMode) {
|
||||
virtual int setImageSize(uint32_t a, uint32_t as, uint32_t ds, bool t, slsDetectorDefs::readoutMode) {
|
||||
FILE_LOG(logERROR) << "setImageSize is a generic function that should be overloaded by a derived class";
|
||||
return 0;
|
||||
};
|
||||
@ -577,7 +577,7 @@ public:
|
||||
* @param f readout flags
|
||||
* @returns analog data bytes
|
||||
*/
|
||||
int setImageSize(uint32_t a, uint64_t as, uint64_t ds, bool t, slsDetectorDefs::readoutMode f) {
|
||||
int setImageSize(uint32_t a, uint32_t as, uint32_t ds, bool t, slsDetectorDefs::readoutMode f) {
|
||||
int nachans = 0, ndchans = 0;
|
||||
int adatabytes = 0, ddatabytes = 0;
|
||||
|
||||
@ -692,7 +692,7 @@ public:
|
||||
* @param f readout flags
|
||||
* @returns analog data bytes
|
||||
*/
|
||||
int setImageSize(uint32_t a, uint64_t as, uint64_t ds, bool t, slsDetectorDefs::readoutMode) {
|
||||
int setImageSize(uint32_t a, uint32_t as, uint32_t ds, bool t, slsDetectorDefs::readoutMode) {
|
||||
int nachans = 0;
|
||||
int adatabytes = 0;
|
||||
|
||||
|
@ -267,14 +267,14 @@ class slsReceiverImplementation : private virtual slsDetectorDefs {
|
||||
* test board and moench only)
|
||||
* @return number of Analog samples expected
|
||||
*/
|
||||
uint64_t getNumberofAnalogSamples() const;
|
||||
uint32_t getNumberofAnalogSamples() const;
|
||||
|
||||
/*
|
||||
* Get Number of Digital Samples expected by receiver from detector (for
|
||||
* chip test board and moench only)
|
||||
* @return number of Digital samples expected
|
||||
*/
|
||||
uint64_t getNumberofDigitalSamples() const;
|
||||
uint32_t getNumberofDigitalSamples() const;
|
||||
|
||||
/**
|
||||
* Get Dynamic Range or Number of Bits Per Pixel
|
||||
@ -575,16 +575,14 @@ class slsReceiverImplementation : private virtual slsDetectorDefs {
|
||||
/**
|
||||
* Set Acquisition Period
|
||||
* @param i acquisition period
|
||||
* @return OK or FAIL
|
||||
*/
|
||||
int setAcquisitionPeriod(const uint64_t i);
|
||||
void setAcquisitionPeriod(const uint64_t i);
|
||||
|
||||
/**
|
||||
* Set Acquisition Time
|
||||
* @param i acquisition time
|
||||
* @return OK or FAIL
|
||||
*/
|
||||
int setAcquisitionTime(const uint64_t i);
|
||||
void setAcquisitionTime(const uint64_t i);
|
||||
|
||||
/**
|
||||
* Set Sub Exposure Time
|
||||
@ -613,14 +611,14 @@ class slsReceiverImplementation : private virtual slsDetectorDefs {
|
||||
* @param i number of Analog Samples expected
|
||||
* @return OK or FAIL
|
||||
*/
|
||||
int setNumberofAnalogSamples(const uint64_t i);
|
||||
int setNumberofAnalogSamples(const uint32_t i);
|
||||
|
||||
/**
|
||||
* Set Number of Digital Samples expected by receiver from detector
|
||||
* @param i number of Digital Samples expected
|
||||
* @return OK or FAIL
|
||||
*/
|
||||
int setNumberofDigitalSamples(const uint64_t i);
|
||||
int setNumberofDigitalSamples(const uint32_t i);
|
||||
|
||||
/**
|
||||
* Set Dynamic Range or Number of Bits Per Pixel
|
||||
|
@ -159,8 +159,26 @@ class slsReceiverTCPIPInterface : private virtual slsDetectorDefs {
|
||||
/** set roi */
|
||||
int set_roi(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set acquisition period, frame number etc */
|
||||
int set_timer(sls::ServerInterface2 &socket);
|
||||
/** set num frames */
|
||||
int set_num_frames(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set num analog samples */
|
||||
int set_num_analog_samples(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set num digital samples */
|
||||
int set_num_digital_samples(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set exptime */
|
||||
int set_exptime(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set period */
|
||||
int set_period(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set subexptime */
|
||||
int set_subexptime(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set subdeadtime */
|
||||
int set_subdeadtime(sls::ServerInterface2 &socket);
|
||||
|
||||
/** set dynamic range */
|
||||
int set_dynamic_range(sls::ServerInterface2 &socket);
|
||||
|
Reference in New Issue
Block a user