TwiceAsNice
2019-02-18
|
Functions | |
DLL_EXPORT int | iNovaSDK_MaxCamera () |
Returns the number of cameras connected. More... | |
DLL_EXPORT void | iNovaSDK_CloseCamera () |
Closes the current camera. More... | |
DLL_EXPORT const char * | iNovaSDK_OpenCamera (int n) |
Detects and opens the selected camera. More... | |
DLL_EXPORT const char * | iNovaSDK_SensorName () |
Returns the camera's sensor name. More... | |
DLL_EXPORT int | iNovaSDK_SensorID () |
Returns the camera's sensor code. More... | |
DLL_EXPORT int | iNovaSDK_GetArraySize () |
Returns the size of the frame in pixels. More... | |
DLL_EXPORT const char * | iNovaSDK_SerialNumber () |
Returns the camera's serial number. More... | |
DLL_EXPORT const char * | iNovaSDK_GetName () |
Returns the camera's commercial name. More... | |
DLL_EXPORT const char * | iNovaSDK_RecvUartData () |
Reads data from camera's serial port. More... | |
DLL_EXPORT bool | iNovaSDK_SendUartData (unsigned char *Buffer, int len) |
Sends data from camera's serial port. More... | |
DLL_EXPORT void | iNovaSDK_InitUart (int BaudRate) |
Inits serial port. More... | |
DLL_EXPORT bool | iNovaSDK_InitCamera (int resolution) |
Inits the camera, in BIN mode resolution is halfed respect FULL resolution, but intensities are doubled. More... | |
DLL_EXPORT void | iNovaSDK_OpenVideo () |
Starts video capture, must be called after camera initialization. More... | |
DLL_EXPORT void | iNovaSDK_CloseVideo () |
Stops video capture. More... | |
DLL_EXPORT unsigned char * | iNovaSDK_GrabFrame () |
Returns the frame grabbed, or NULL if the frame is not ready. In FAST mode the frame is ordered in 8bit words, in NORMAL and LOW speed modes it is ordered in 16bit words (pay attention to the endianness!). More... | |
DLL_EXPORT double | iNovaSDK_GetRowTime () |
Returns the horizontal sync time in microseconds. More... | |
DLL_EXPORT double | iNovaSDK_GetExpTime () |
Returns the exposure time in milliseconds. More... | |
DLL_EXPORT void | iNovaSDK_SetExpTime (double x) |
Sets exposure time. More... | |
DLL_EXPORT void | iNovaSDK_CancelLongExpTime () |
Cancel current exposure. More... | |
DLL_EXPORT int | iNovaSDK_GetAnalogGain () |
Returns the analog gain value. More... | |
DLL_EXPORT void | iNovaSDK_SetAnalogGain (int AnalogGain) |
Sets analog gain. More... | |
DLL_EXPORT int | iNovaSDK_MaxImageHeight () |
Returns the maximum Y resolution in pixels. More... | |
DLL_EXPORT int | iNovaSDK_MaxImageWidth () |
Returns the maximum X resolution in pixels. More... | |
DLL_EXPORT int | iNovaSDK_GetImageHeight () |
Returns the current Y resolution in pixels. More... | |
DLL_EXPORT int | iNovaSDK_GetImageWidth () |
Returns the current X resolution in pixels. More... | |
DLL_EXPORT void | iNovaSDK_SetROI (int HOff, int VOff, int Width, int Height) |
Sets ROI rectangle. More... | |
DLL_EXPORT int | iNovaSDK_GetBinX () |
Returns the X binning value. More... | |
DLL_EXPORT void | iNovaSDK_SetBinX (int bin) |
Sets X binning value. More... | |
DLL_EXPORT int | iNovaSDK_GetBinY () |
Returns the Y binning value. More... | |
DLL_EXPORT void | iNovaSDK_SetBinY (int bin) |
Sets Y binning value. More... | |
DLL_EXPORT int | iNovaSDK_GetFrameSpeed () |
Returns the frame speed. More... | |
DLL_EXPORT void | iNovaSDK_SetFrameSpeed (int speed) |
Sets frame speed. More... | |
DLL_EXPORT int | iNovaSDK_GetBlackLevel () |
Returns the Black level. More... | |
DLL_EXPORT void | iNovaSDK_SetBlackLevel (int Level) |
Sets black level. More... | |
DLL_EXPORT int | iNovaSDK_GetDataWide () |
Returns the data width (bit depth). More... | |
DLL_EXPORT void | iNovaSDK_SetDataWide (int WordWidth) |
Sets Bit depht. More... | |
DLL_EXPORT void | iNovaSDK_SensorPowerDown () |
Powers off the imaging sensor. More... | |
DLL_EXPORT void | iNovaSDK_SendST4 (int value) |
Sends direction to autoguider port. More... | |
DLL_EXPORT void | iNovaSDK_InitST4 () |
Inits autoguider port. More... | |
DLL_EXPORT void | iNovaSDK_SetHB (int pHB) |
Sets horizontal blanking (CMOS sensors only). More... | |
DLL_EXPORT void | iNovaSDK_SetVB (int pVB) |
Sets vertical blanking (CMOS sensors only). More... | |
DLL_EXPORT int | iNovaSDK_GetHB () |
Returns the horizontal blanking (CMOS sensors only). More... | |
DLL_EXPORT int | iNovaSDK_GetVB () |
Returns the vertical blanking (CMOS sensors only). More... | |
DLL_EXPORT void | iNovaSDK_SetPixClock (int Pck) |
Sets pixel clock (Aptina MT9M034/MT9M034M sensors only). More... | |
DLL_EXPORT int | iNovaSDK_GetPixClock () |
Returns the pixel clock (Aptina MT9M034/MT9M034M sensors only). More... | |
DLL_EXPORT double | iNovaSDK_GetSensorTemperature () |
Returns the sensor's temperature (Aptina MT9M034/MT9M034M sensors only). More... | |
DLL_EXPORT bool | iNovaSDK_HasST4 () |
Returns the availability of an autoguider port. More... | |
DLL_EXPORT bool | iNovaSDK_HasUART () |
Returns the availability of a serial port. More... | |
DLL_EXPORT bool | iNovaSDK_HasColorSensor () |
Returns the type of sensor. More... | |
DLL_EXPORT double | iNovaSDK_GetPixelSizeX () |
Returns the X size of the single pixel in microns. More... | |
DLL_EXPORT double | iNovaSDK_GetPixelSizeY () |
Returns the Y size of the single pixel in microns. More... | |
DLL_EXPORT timeval | iNovaSDK_GetLastFrameTime () |
Returns the milliseconds elapsed from Epoch to the last frame taken. More... | |
#define BAUD_RATE_115200 1 |
115200 Bps, for UART
#define BAUD_RATE_9600 0 |
9600 Bps, for UART
#define DATA_WIDTH_10 1 |
10bpp, used for PLC-M
#define DATA_WIDTH_12 2 |
12/10bpp, used for FRAME_SPEED_NORMAL and FRAME_SPEED_LOW
#define DATA_WIDTH_8 0 |
8bpp, used for FRAME_SPEED_HIGH
#define DIRECTION_EAST 0x0E |
East direction, for ST4
#define DIRECTION_NONE 0x0F, |
no direction, for ST4
#define DIRECTION_NORTH 0x0D, |
North direction, for ST4
#define DIRECTION_SOUTH 0x0B, |
South direction, for ST4
#define DIRECTION_WEST 0x07, |
West direction, for ST4
#define DLL_EXPORT CXX_EXPORT |
#define FRAME_SPEED_HIGH 2 |
Maximum frame speed, 8bit depht, at full FPS
#define FRAME_SPEED_LOW 0 |
Low Frame speed, 12bit depht, for long exposures
#define FRAME_SPEED_NORMAL 1 |
Normal frame speed, 12bit depht, at higher frame rates
#define FRAME_SPEED_TEST 5 |
Maximum frame speed, 12bit depht, at full FPS
#define INOVASDK_VERSION 1.3.5 |
Current SDK version
#define RESOLUTION_BIN 2 |
BIN 2x2 resolution
#define RESOLUTION_FULL 0 |
Full Resolution
#define RESOLUTION_ROI 1 |
ROI resolution
#define ROI_HEIGHT_MASK 0xfffe |
#define ROI_MIN_HEIGHT 192 |
#define ROI_MIN_WIDTH 8 |
#define ROI_WIDTH_MASK 0xfff8 |
#define SENSOR_ID_ICX098BLE 5 |
SONY ICX098BLE - Color
#define SENSOR_ID_ICX098BQ 1 |
SONY ICX098BQ - Color
#define SENSOR_ID_ICX204AK 2 |
SONY ICX204AL - Mono
#define SENSOR_ID_ICX204AL 6 |
SONY ICX204AL - Mono
#define SENSOR_ID_ICX205AK 7 |
SONY ICX205AK - Mono
#define SENSOR_ID_ICX205AL 8 |
SONY ICX205AL - Mono
#define SENSOR_ID_ICX265ALA 10 |
SONY ICX265ALA - Mono
#define SENSOR_ID_ICX445AL 3 |
SONY ICX445AL - Mono
#define SENSOR_ID_ICX445AQ 4 |
SONY ICX445AQ - Color
#define SENSOR_ID_ICX618AL 0 |
SONY ICX618AL - Mono
#define SENSOR_ID_ICX674ALA 9 |
SONY ICX674ALA - Mono
#define SENSOR_ID_IMX185 16 |
SONY IMX185 - Mono
#define SENSOR_ID_MT9M001 11 |
Aptina MT9M001 - Mono
#define SENSOR_ID_MT9M034 12 |
Aptina MT9M034 - Color
#define SENSOR_ID_MT9M034M 13 |
Aptina MT9M034M - Mono
#define SENSOR_ID_NONE -1 |
No sensor at all
void iNovaSDK_CancelLongExpTime | ( | ) |
Cancel current exposure.
void iNovaSDK_CloseCamera | ( | ) |
Closes the current camera.
void iNovaSDK_CloseVideo | ( | ) |
Stops video capture.
unsigned int iNovaSDK_GetAnalogGain | ( | ) |
Returns the analog gain value.
int iNovaSDK_GetArraySize | ( | ) |
Returns the size of the frame in pixels.
int iNovaSDK_GetBinX | ( | ) |
Returns the X binning value.
int iNovaSDK_GetBinY | ( | ) |
Returns the Y binning value.
unsigned char iNovaSDK_GetBlackLevel | ( | ) |
Returns the Black level.
int iNovaSDK_GetDataWide | ( | ) |
Returns the data width (bit depth).
int iNovaSDK_GetExpTime | ( | ) |
Returns the exposure time in milliseconds.
int iNovaSDK_GetFrameSpeed | ( | ) |
Returns the frame speed.
void iNovaSDK_GetHB | ( | ) |
Returns the horizontal blanking (CMOS sensors only).
void iNovaSDK_GetImageHeight | ( | ) |
Returns the current Y resolution in pixels.
void iNovaSDK_GetImageWidth | ( | ) |
Returns the current X resolution in pixels.
void iNovaSDK_GetLastFrameTime | ( | ) |
Returns the milliseconds elapsed from Epoch to the last frame taken.
char * iNovaSDK_GetName | ( | ) |
Returns the camera's commercial name.
void iNovaSDK_GetPixClock | ( | ) |
Returns the pixel clock (Aptina MT9M034/MT9M034M sensors only).
void iNovaSDK_GetPixelSizeX | ( | ) |
Returns the X size of the single pixel in microns.
void iNovaSDK_GetPixelSizeY | ( | ) |
Returns the Y size of the single pixel in microns.
void iNovaSDK_GetRowTime | ( | ) |
Returns the horizontal sync time in microseconds.
void iNovaSDK_GetSensorTemperature | ( | ) |
Returns the sensor's temperature (Aptina MT9M034/MT9M034M sensors only).
void iNovaSDK_GetVB | ( | ) |
Returns the vertical blanking (CMOS sensors only).
unsigned char * iNovaSDK_GrabFrame | ( | ) |
Returns the frame grabbed, or NULL if the frame is not ready. In FAST mode the frame is ordered in 8bit words, in NORMAL and LOW speed modes it is ordered in 16bit words (pay attention to the endianness!).
void iNovaSDK_HasColorSensor | ( | ) |
Returns the type of sensor.
void iNovaSDK_HasST4 | ( | ) |
Returns the availability of an autoguider port.
void iNovaSDK_HasUART | ( | ) |
Returns the availability of a serial port.
bool iNovaSDK_InitCamera | ( | int | Resolution | ) |
Inits the camera, in BIN mode resolution is halfed respect FULL resolution, but intensities are doubled.
Resolution | the resolution to use. |
void iNovaSDK_InitST4 | ( | ) |
Inits autoguider port.
void iNovaSDK_InitUart | ( | int | BaudRate | ) |
Inits serial port.
BaudRate | speed of the serial port. |
void iNovaSDK_MaxCamera | ( | ) |
Returns the number of cameras connected.
void iNovaSDK_MaxImageHeight | ( | ) |
Returns the maximum Y resolution in pixels.
void iNovaSDK_MaxImageWidth | ( | ) |
Returns the maximum X resolution in pixels.
void iNovaSDK_OpenCamera | ( | int | n | ) |
Detects and opens the selected camera.
n | selected camera. |
void iNovaSDK_OpenVideo | ( | ) |
Starts video capture, must be called after camera initialization.
char * iNovaSDK_RecvUartData | ( | ) |
Reads data from camera's serial port.
void iNovaSDK_SendST4 | ( | int | value | ) |
Sends direction to autoguider port.
value | direction for autoguider port. |
bool iNovaSDK_SendUartData | ( | unsigned char * | Buffer, |
int | len | ||
) |
Sends data from camera's serial port.
Buffer | string to be sent. |
len | Length of the string sent. |
int iNovaSDK_SensorID | ( | ) |
Returns the camera's sensor code.
int iNovaSDK_SensorName | ( | ) |
Returns the camera's sensor name.
void iNovaSDK_SensorPowerDown | ( | ) |
Powers off the imaging sensor.
char * iNovaSDK_SerialNumber | ( | ) |
Returns the camera's serial number.
void iNovaSDK_SetAnalogGain | ( | int | Gain | ) |
Sets analog gain.
Gain | analog gain value. |
void iNovaSDK_SetBinX | ( | int | bin | ) |
Sets X binning value.
bin | BinX value. |
void iNovaSDK_SetBinY | ( | int | bin | ) |
Sets Y binning value.
bin | BinY value. |
void iNovaSDK_SetBlackLevel | ( | int | Level | ) |
Sets black level.
Level | value of black level. |
void iNovaSDK_SetDataWide | ( | int | WordWidth | ) |
Sets Bit depht.
WordWidth | bit depht. |
void iNovaSDK_SetExpTime | ( | double | x | ) |
Sets exposure time.
x | Exposure time. |
void iNovaSDK_SetFrameSpeed | ( | int | speed | ) |
Sets frame speed.
speed | Frame speed. |
void iNovaSDK_SetHB | ( | int | HB | ) |
Sets horizontal blanking (CMOS sensors only).
HB | horizontal blanking. |
void iNovaSDK_SetPixClock | ( | int | PixClock | ) |
Sets pixel clock (Aptina MT9M034/MT9M034M sensors only).
PixClock | pixel clock. |
void iNovaSDK_SetROI | ( | int | HOff, |
int | VOff, | ||
int | Width, | ||
int | Height | ||
) |
Sets ROI rectangle.
HOff | X start offset. |
VOff | Y start offset. |
Width | width of the rectangle in pixels. |
Height | height of the rectangle in pixels. |
void iNovaSDK_SetVB | ( | int | VB | ) |
Sets vertical blanking (CMOS sensors only).
VB | vertical blanking. |