diff --git a/andorApp/src/andorCCD.cpp b/andorApp/src/andorCCD.cpp index dbfa10c8..d06801ee 100755 --- a/andorApp/src/andorCCD.cpp +++ b/andorApp/src/andorCCD.cpp @@ -1409,10 +1409,13 @@ asynStatus AndorCCD::setupAcquisition() driverName, functionName, verticalShiftPeriod); checkStatus(SetVSSpeed(verticalShiftPeriod)); - asynPrint(this->pasynUserSelf, ASYN_TRACE_FLOW, - "%s:%s:, SetVSAmplitude(%d)\n", - driverName, functionName, verticalShiftAmplitude); - checkStatus(SetVSAmplitude(verticalShiftAmplitude)); + if ((mCapabilities.ulSetFunctions & AC_SETFUNCTION_VSAMPLITUDE) != 0) + { + asynPrint(this->pasynUserSelf, ASYN_TRACE_FLOW, + "%s:%s:, SetVSAmplitude(%d)\n", + driverName, functionName, verticalShiftAmplitude); + checkStatus(SetVSAmplitude(verticalShiftAmplitude)); + } switch (imageMode) { case ADImageSingle: