示例#1
0
void IDEASBeamline::setupMotorGroup()
{
	motorGroup_ = new AMMotorGroup(this);

	// Set up sample platform motor object:
	AMMotorGroupObject* samplePlatformObject = new AMMotorGroupObject("Sample Platform", this);

	samplePlatformObject->setDirectionAxis(AMMotorGroupObject::HorizontalMotion,
								  "X", samplePlatformHorizontal_,
								  "", 0);

	samplePlatformObject->setDirectionAxis(AMMotorGroupObject::VerticalMotion,
								  "Z", samplePlatformVertical_,
								  "", 0);

	motorGroup_->addMotorGroupObject(samplePlatformObject);

	// Set up vacuum stage motor object:
	AMMotorGroupObject* vacuumStageObject = new AMMotorGroupObject("Vacuum Stage", this);

	vacuumStageObject->setDirectionAxis(AMMotorGroupObject::VerticalMotion,
							   "Z", vacuumSampleStage_,
							   "", 0);

	motorGroup_->addMotorGroupObject(vacuumStageObject);
}
BioXASSideCryostatStage::BioXASSideCryostatStage(const QString &deviceName, QObject *parent) :
	BioXASCryostatStage(deviceName, parent)
{
	cryostatX_ = new CLSMAXvMotor(name()+"CryostatX", "SMTR1607-6-I22-14", name()+"CryostatX", false, 0.01, 2.0, this, ":mm");
	cryostatY_ = new CLSMAXvMotor(name()+"CryostatY", "SMTR1607-6-I22-13", name()+"CryostatY", false, 0.01, 2.0, this, ":mm");
	cryostatZ_ = new CLSMAXvMotor(name()+"CryostatZ", "SMTR1607-6-I22-15", name()+"CryostatZ", false, 0.01, 2.0, this, ":mm");

	AMMotorGroupObject *cryostatStageGroupObject = new AMMotorGroupObject("Cryostat Stage - X, Z, Y", this);
	cryostatStageGroupObject->setDirectionAxis(AMMotorGroupObject::HorizontalMotion, "X", cryostatX_, "", 0);
	cryostatStageGroupObject->setDirectionAxis(AMMotorGroupObject::VerticalMotion, "Z", cryostatZ_, "", 0);
	cryostatStageGroupObject->setDirectionAxis(AMMotorGroupObject::NormalMotion, "Y", cryostatY_, "", 0);

	cryostatStageMotors_->addMotorGroupObject(cryostatStageGroupObject);
}
示例#3
0
void SXRMBBeamline::setupMotorGroup()
{
	motorGroup_ = new AMMotorGroup(this);

	AMMotorGroupObject *motorObject;

	// Microprobe motor group
	motorObject = new AMMotorGroupObject("Microprobe Stage - X, Z, Y", this);

	motorObject->setDirectionAxis(AMMotorGroupObject::HorizontalMotion,
						 "X", microprobeSampleStageX_,
						 "", 0);

	motorObject->setDirectionAxis(AMMotorGroupObject::NormalMotion,
						 "Y", microprobeSampleStageY_,
						 "", 0);

	motorObject->setDirectionAxis(AMMotorGroupObject::VerticalMotion,
						 "Z", microprobeSampleStageZ_,
						 "", 0);

	motorGroup_->addMotorGroupObject(motorObject);

	// Solidstate motor group
	motorObject = new AMMotorGroupObject("Solid State - X, Z, Y, R", this);
	motorObject->setDirectionAxis(AMMotorGroupObject::HorizontalMotion,
						 "X", solidStateSampleStageX_,
						 "", 0);

	motorObject->setDirectionAxis(AMMotorGroupObject::NormalMotion,
						 "Y", solidStateSampleStageY_,
						 "", 0);

	motorObject->setDirectionAxis(AMMotorGroupObject::VerticalMotion,
						 "Z", solidStateSampleStageZ_,
						 "R", solidStateSampleStageR_);

	motorGroup_->addMotorGroupObject(motorObject);

	// Ambiant with gas chamber motor group
	motorObject = new AMMotorGroupObject("Ambiant With Gas Chamber - X, Z, R", this);
	motorObject->setDirectionAxis(AMMotorGroupObject::HorizontalMotion,
						 "X", ambiantSampleStageX_,
						 "", 0);

	motorObject->setDirectionAxis(AMMotorGroupObject::VerticalMotion,
						 "Z", ambiantSampleHolderZ_,
						 "R", ambiantSampleHolderR_);

	motorGroup_->addMotorGroupObject(motorObject);

	// Ambiant without gas chamber motor group
	motorObject = new AMMotorGroupObject("Ambiant Without Gas Chamber - X, Z", this);
	motorObject->setDirectionAxis(AMMotorGroupObject::HorizontalMotion,
						 "X", ambiantSampleStageX_,
						 "", 0);
	motorObject->setDirectionAxis(AMMotorGroupObject::VerticalMotion,
						 "Z", ambiantSampleStageZ_,
						 "", 0);

	motorGroup_->addMotorGroupObject(motorObject);

}