mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 00:58:01 +02:00
ctb & moench: phase fix for absolute within limits, option to set as degrees and get max phase shift, bug fix for eiger with implementation of 2 udp interface
This commit is contained in:
@ -820,6 +820,21 @@ ROI* setROI(int n, ROI arg[], int *retvalsize, int *ret) {
|
||||
return rois;
|
||||
}
|
||||
|
||||
// parameters - readout
|
||||
void setSpeed(enum speedVariable ind, int val) {
|
||||
switch(ind) {
|
||||
case ADC_PHASE:
|
||||
setPhaseShift(val);
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
int getSpeed(enum speedVariable ind) {
|
||||
// cannot get phase shift
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* parameters - timer */
|
||||
|
||||
|
Reference in New Issue
Block a user