import "acsexmplFilterWheel.idl";


Public Member Functions | |
| void | moveFilterInBeam (in string filterName, in ACS::CBvoid cb, in ACS::CBDescIn desc) |
| void | moveSlotInBeam (in long slot, in ACS::CBvoid cb, in ACS::CBDescIn desc) |
| void | adjust (in long step, in ACS::CBvoid cb, in ACS::CBDescIn desc) |
| long | calibrateFilter (in string filterName) |
| long | calibrateWheel (in long slot) |
Public Attributes | |
| readonly attribute ACS::ROdouble | position |
| readonly attribute ACS::ROlong | slots |
| readonly attribute ACS::ROstring | desc |
Interface FilterWheel is a very simple interface which uses only asynchronous methods.
| void acsexmplFilterWheel::FilterWheel::adjust | ( | in long | step, | |
| in ACS::CBvoid | cb, | |||
| in ACS::CBDescIn | desc | |||
| ) |
Move the wheel of some step
| step | The step to move the wheel | |
| cb | callback when the lamp wheel is in position. | |
| desc | is used to negotiate timeouts between client and sever. See the BACI specifications for more details. |
| long acsexmplFilterWheel::FilterWheel::calibrateFilter | ( | in string | filterName | ) |
Set the new delta position for the specified filter (the value is also stored in the CDB)
The delta is evaluated by reading the slot step and the actual position of the wheel
The method returns the new delta
The method is synchrnous (it is somehow reasonable because the hardware is not involved i.e. the execution time is fast and short
| long acsexmplFilterWheel::FilterWheel::calibrateWheel | ( | in long | slot | ) |
Set the actual position for the passed slot (the value is also stored in the CDB)
The method returns the position of the new slot
* The method is synchrnous (it is somehow reasonable because the hardware is not involved i.e. the execution time is fast and short
| void acsexmplFilterWheel::FilterWheel::moveFilterInBeam | ( | in string | filterName, | |
| in ACS::CBvoid | cb, | |||
| in ACS::CBDescIn | desc | |||
| ) |
Rotate the filter wheel asynchronously. That is, we are notified by the callback when the method really completes.
| filterName | The name of the filter to put in the beam | |
| cb | callback when the lamp wheel is in position. | |
| desc | is used to negotiate timeouts between client and sever. See the BACI specifications for more details. |
| void acsexmplFilterWheel::FilterWheel::moveSlotInBeam | ( | in long | slot, | |
| in ACS::CBvoid | cb, | |||
| in ACS::CBDescIn | desc | |||
| ) |
Rotate the filter wheel asynchronously. That is, we are notified by the callback when the method really completes.
| slot | The number of the slot to put in the beam | |
| cb | callback when the lamp wheel is in position. | |
| desc | is used to negotiate timeouts between client and sever. See the BACI specifications for more details. |
| readonly attribute ACS::ROstring acsexmplFilterWheel::FilterWheel::desc |
This property is the description of the lamp wheel.
| readonly attribute ACS::ROdouble acsexmplFilterWheel::FilterWheel::position |
This property is the position of the lamp wheel.
| readonly attribute ACS::ROlong acsexmplFilterWheel::FilterWheel::slots |
This property is the number of available slots in the lamp wheel
1.6.2