mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
client: update roi on updatedetector, (ctb, moench)moved nchans and databyte calculated to updatenumberofchannels and called for any update in roi, readoutflag or #samples changed (get should not update). ctb,moench server: roi fixed, . gotthard server: bug fix waiting to finish, ad9252 spi call fix. receiver: updated for moench and 10g
This commit is contained in:
@ -377,13 +377,18 @@ public:
|
||||
*/
|
||||
int setDetectorType(detectorType type=GET_DETECTOR_TYPE);
|
||||
|
||||
|
||||
/**
|
||||
* Returns the total number of channels from shared memory
|
||||
* @returns the total number of channels
|
||||
*/
|
||||
int getTotalNumberOfChannels();
|
||||
|
||||
/**
|
||||
* Update total number of channels (chiptestboard or moench)
|
||||
* depending on the number of samples, roi, readout flags(ctb)
|
||||
*/
|
||||
void updateTotalNumberOfChannels();
|
||||
|
||||
/**
|
||||
* Returns the total number of channels in dimension d from shared memory
|
||||
* @param d dimension d
|
||||
@ -1067,6 +1072,12 @@ public:
|
||||
*/
|
||||
int setCounterBit(int i = -1);
|
||||
|
||||
/**
|
||||
* send ROI to processor (moench only)
|
||||
* @returns OK or FAIL
|
||||
*/
|
||||
int sendROIToProcessor();
|
||||
|
||||
/**
|
||||
* Set ROI (Gotthard)
|
||||
* At the moment only one set allowed
|
||||
|
Reference in New Issue
Block a user