forked from epics_driver_modules/motorBase
Initialize some parameters to avoid errors reading them
This commit is contained in:
@@ -60,6 +60,11 @@ asynMotorAxis::asynMotorAxis(class asynMotorController *pC, int axisNo)
|
||||
// Create the asynUser, connect to this axis
|
||||
pasynUser_ = pasynManager->createAsynUser(NULL, NULL);
|
||||
pasynManager->connectDevice(pasynUser_, pC->portName, axisNo);
|
||||
|
||||
// Initialize some parameters
|
||||
setIntegerParam(pC_->motorPowerAutoOnOff_, 0);
|
||||
setDoubleParam(pC_->motorPowerOffDelay_, 0.);
|
||||
setDoubleParam(pC_->motorPowerOnDelay_, 0.);
|
||||
}
|
||||
|
||||
asynMotorAxis::~asynMotorAxis()
|
||||
|
||||
Reference in New Issue
Block a user