![]() |
DLAPI 4.1.1.0
An API for controlling Aluma branded cameras
|
FW Interface Class. More...
#include <dlapi.h>
Public Types | |
| enum | Model { UnknownFWModel = 0 , CFW2 , CFW5 , CFW8 , CFWL , CFW402 , CFW6A , CFW10 , CFW10_SERIAL , CFW9 , CFWL8 , CFWL8G , CFW1603 , FW5_STX , FW5_8300 , FW8_8300 , FW7_STX , FW8_STT , FW5_STF_DETENT , Internal , AFW16 , AFW15 , AFW14 , AFW13 , AFW12 , AFW11 , AFW10 , AFW9 , AFW8 , AFW7 , AFW6 , AFW5 , AFW4 , AFW3 , AFW2 , InvalidFWModel = 0xFF } |
| enum | Status { FWIdle , FWBusy , FWError , InvalidFWStatus = 0xff } |
Public Member Functions | |
| virtual IPromisePtr | initialize ()=0 |
| Initialize the filter wheel, and obtain basic model information. | |
| virtual IPromisePtr | queryStatus ()=0 |
| Queries the status of the filter wheel. | |
| virtual int | getPosition () const =0 |
| Returns the buffered position of the filter wheel. | |
| virtual IFW::Status | getStatus () const =0 |
| Returns the buffered status of the filter wheel. | |
| virtual IFW::Model | getModel () const =0 |
| Returns the model number of the attached filter wheel. | |
| virtual unsigned int | getSlots () const =0 |
| returns the number of slots the filter wheel has available. | |
| virtual IPromisePtr | setPosition (int position)=0 |
| Send a goto command to the filter wheel. | |
FW Interface Class.
An interface to Filter Wheel peripherals connected to DLAPI cameras.
| enum dl::IFW::Model |
| enum dl::IFW::Status |
| Enumerator | |
|---|---|
| FWIdle | Filter Wheel is idle. |
| FWBusy | Filter Wheel is busy. |
| FWError | Filter Wheel has encountered an error. |
| InvalidFWStatus | Filter Wheel is uninitialized. |
|
pure virtual |
Returns the model number of the attached filter wheel.
Returns the buffered model of the filter wheel, refreshed by IFW::initialize().
|
pure virtual |
Returns the buffered position of the filter wheel.
Returns the buffered position of the filter wheel, refreshed by IFW::queryStatus().
|
pure virtual |
returns the number of slots the filter wheel has available.
Returns the number of slots available in the filter wheel.
|
pure virtual |
Returns the buffered status of the filter wheel.
Returns the buffered status of the filter wheel, refreshed by IFW::queryStatus(). Index is base-zero.
|
pure virtual |
Initialize the filter wheel, and obtain basic model information.
Initializes the Filter Wheel, and obtains the filter wheel model.
|
pure virtual |
Queries the status of the filter wheel.
Requests the status and position of the filter wheel from the camera, and updates the buffered values.
|
pure virtual |
Send a goto command to the filter wheel.
| position | the desired slot to move to. |
Sets the position of the filter wheel. Will return EStatusCode::InvalidParameter if position is below 0, or above the slot count of the filter wheel when the IPromise completes. Index is base-zero.
Uses a bitwise-or operation to select a secondary filter wheel. e.g.