Commands

pogo_html_docu/FMBOxfDCMEnergy/Commands.html See pogo generated info for more details.

 ChangeCrystalAndRecalibrate. Change the crystal to the one given as argument and recalibrate the motors using the offset constant given in the properties of the device (these values will be written to the UnitCalibration attribute of the corresponding motors). The values of the offsets used for the recalibration are checked and no action is performed if they are the default ones (-9999.). In case the current or the desired crystal is the channel cut, not recalibration is done for perperdicular and parallel motors.

 CheckError. It checks if error in motor or timeout: 0 not error, bit 1 error in bragg motor, bit 2 error in perpendicular motor, bit 3 error in parallel motor, bit 4 timeout, bit 5 skipped.

 Calibrate. Set the current energy to the given value and calibrates all implied motors accordingly.

 HomeAll. Only implemented for version 10. It homes all motors.

 Shutdown. Performs an automatic system shutdown. Before starting the shutdown procedure the server checks the shutter status, only if it is closed the shutdown is performed. In case the parallel motor is an oms one, and because of that not moved by the pmac shutdown funcion, it is moved to its parallel limit before the shutdown function from the pmac is called.

 StartUp. Performs an automatic system start up. It uses the parameter PhasingMode for setting soft or forced phasing (not if version 0). Before starting the startup procedure the server checks the shutter status, only if it is closed the startup is performed. In case the parallel motor is an oms one, and because of that not moved by the pmac startup funcion, it is moved to its parallel limit before the startup function from the pmac is called.

 State. Returns the device state.

 Status. It gets the device status.

 StopMove. Stops the movements started by the Server inside of the loop looking if the movement has finished.