X2 Standard
Version 1.24
|
In an effort to lessen the burden in developing device drivers for TheSkyX, X2 specifically addresses the concept of an embedded device. The X2 architecture by default keeps in line with object oriented programming techniques which strive to keep objects independent of one another, for example a camera and a filter wheel are independent. This is fine when physically the devices are separate, say from two manufacturers and they communicate on two different ports and they are independent. In practice, many cameras have a built in filter wheel, and both camera and filter wheel communicate over the same port and a (plug in) driver model that treats them independently can place a burden on the developer to solve how to get the two independent drivers hosted in two shared libraries (dlls) to communicate over the same port.
TheSkyX has the means to allow a camera to have an embedded filter wheel (a mount having an embedded focuser might be next but TheSkyX already has native drivers for most popular mounts with embedded focusers).
The following are required for a camera to have a embedded filter wheel from TheSkyX's perspective:
With this combination, TheSkyX will simply delegate the filter wheel calls to the camera's implementation of the FilterWheelMoveToInterface, thus "easily" allowing a camera driver to be created that has an embedded filter wheel while at the same time not duplicating interfaces to address an independent filter wheel vs. an dependent (embedded) filter wheel.
Also see MultiConnectionDeviceInterface.