mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
ctb: removed setroi, instead using adcenablemask
This commit is contained in:
@ -194,6 +194,12 @@ class slsReceiverImplementation: private virtual slsDetectorDefs {
|
||||
*/
|
||||
std::vector<ROI> getROI() const;
|
||||
|
||||
/**
|
||||
* Get ADC Enable Mask
|
||||
* @return ADC Enable Mask
|
||||
*/
|
||||
uint32_t getADCEnableMask() const;
|
||||
|
||||
/**
|
||||
* Get the streaming frequency
|
||||
* @return 0 for timer, n for nth frame frequency
|
||||
@ -474,6 +480,13 @@ class slsReceiverImplementation: private virtual slsDetectorDefs {
|
||||
*/
|
||||
int setROI(const std::vector<ROI> new_roi);
|
||||
|
||||
/**
|
||||
* Set ADC Enable Mask
|
||||
* @param mask ADC Enable Mask
|
||||
* @return OK or FAIL
|
||||
*/
|
||||
int setADCEnableMask(const uint32_t mask);
|
||||
|
||||
/**
|
||||
* Set the streaming frequency
|
||||
* @param freq 0 for timer, n for nth frame frequency
|
||||
@ -855,6 +868,8 @@ private:
|
||||
//***acquisition parameters***
|
||||
/* ROI */
|
||||
std::vector<ROI> roi;
|
||||
/** ADC Enable Mask */
|
||||
uint32_t adcEnableMask;
|
||||
/** streaming frequency */
|
||||
uint32_t streamingFrequency;
|
||||
/** Streaming timer when frequency is 0 */
|
||||
|
Reference in New Issue
Block a user