This function need to be call when first using QHYCCD SDK. If the SDK is already initialized. You can still call this and it will re-initialize the resource.Looks like a new start. This function will return the the QHYCCD_ERROR code. 0=success
uint32_t STDCALL ScanQHYCCD()
This function will scan all QHYCCD cameras connecting with the computer. The return value is the number of cameras. If one camera connected with the computer. the return value is 1. If two cameras connected, it return 2 , and so on.This function will return the the QHYCCD_ERROR code. 0=success.
Get the camera ID. ID is a string and includes the camera name and series number. like "QHY247C-6a86bd46a1aeba2d6". Since each camera has an unique guid, like "6a86bd46a1aeba2d6" so this can be used to identity each camera when multiple camera connected.
You can input the index and get the ID. The index range is start from 0. For example. If there is five QHYCCD cameras connected. The index is 0,1,2,3,4
This function will return the the QHYCCD_ERROR code. 0=success.
qhyccd_handle * STDCALL OpenQHYCCD(char *id)
Open Camera. The input is the camera id. The return value is a handle. This handle represent this camera. In most of the camera control command in QHYCCD we are using the handle as the input to refer a camera.
This function will initialize the camera hardware and other basic settings This function should be call after SetQHYCCDStreamMode. After this function called. The camera hardware will be ready to use. In this function. the SDK will initialize some basic setting like the image bit depth, ROI, exposure time etc. These parameter can be also changed separately later with the Parameter Command.
This function will output the effective area dimensions and start positions. This function only return the information and it will not set the camera to some specially mode (like the overscan removed mode).
startX,startY The effective area start position
sizeX,sizeY The effective area size
These information is the physical value. It does not get effected by the ROI, BINNING and OverScan removed mode setting.
Some CCD has the overscan area. This function will output the startx,starty,sizex,sizey of the overscan area. This data is physical in the original image (max size).And it does not effected by the ROI,BINNING and OVERSCAN removed mode.