SIDX 7
|
File containing SIDX camera usage for reference. More...
#include "SIDXCConstants.h"
Go to the source code of this file.
Functions | |
int | SIDXCameraAcquireImageGetLimit (void *SIDXcamera, int64_t &maximum_count) |
Obtain the maximum number of images that was set by ImageSetLimit. More... | |
int | SIDXCameraAcquireImageSetLimit (void *SIDXcamera, int64_t maximum_count) |
Set the maximum number of images acquired following each call to SIDXAcquireStart. More... | |
int | SIDXCameraAcquireOpen (void *SIDXcamera, void *&SIDXacquire) |
Prepare acquisition. More... | |
int | SIDXCameraBinningGet (void *SIDXcamera, int &x, int &y) |
Obtain the x and y axis binning. More... | |
int | SIDXCameraBinningGetType (void *SIDXcamera, SIDXSettingType &type) |
Obtain the type of binning for the camera. More... | |
int | SIDXCameraBinningItemGet (void *SIDXcamera, int &index) |
Obtain the item of the current binning selection within the binning list. More... | |
int | SIDXCameraBinningItemGetCount (void *SIDXcamera, int &count) |
Obtain the total number of available (x,y) binning combinations. More... | |
int | SIDXCameraBinningItemGetEntry (void *SIDXcamera, int index, int &x, int &y) |
Given the index of a binning selection within the list, returns the x and y axis binning factor. More... | |
int | SIDXCameraBinningItemGetLocal (void *SIDXcamera, int index, wchar_t *description, size_t length) |
Obtain a text string description of the specified binning setting. More... | |
int | SIDXCameraBinningItemSet (void *SIDXcamera, int index) |
Set the binning to the specified index within the binning list. More... | |
int | SIDXCameraBinningSet (void *SIDXcamera, int x, int y) |
Set the binning as binning x and y factors. More... | |
int | SIDXCameraBinningXGetLimit (void *SIDXcamera, int &maximum) |
Obtain the largest x axis binning ratio. More... | |
int | SIDXCameraBinningXGetType (void *SIDXcamera, SIDXSettingType &type) |
Obtain the type of binning selection available for the x axis. More... | |
int | SIDXCameraBinningXItemGetCount (void *SIDXcamera, int &count) |
Obtain the count of available x axis binning settings. More... | |
int | SIDXCameraBinningXItemGetEntry (void *SIDXcamera, int index, int &binning) |
Obtain the x axis binning ratio for the specified list index. More... | |
int | SIDXCameraBinningXItemGetLocal (void *SIDXcamera, int index, wchar_t *description, size_t length) |
Obtain a text description of the x axis binning ratio for the specified list index. More... | |
int | SIDXCameraBinningYGetLimit (void *SIDXcamera, int &maximum) |
Obtain the maximum y axis binning ratio. More... | |
int | SIDXCameraBufferCountGet (void *SIDXcamera, int &count) |
Obtain the image buffer count setting. More... | |
int | SIDXCameraBufferCountSet (void *SIDXcamera, int count) |
Set the minimum number of sensor images to buffer during Acquire. More... | |
int | SIDXCameraClose (void *SIDXcamera) |
Close the camera. More... | |
int | SIDXCameraCoolingGet (void *SIDXcamera, double &temperature) |
Obtain the image sensor target temperature. More... | |
int | SIDXCameraCoolingGetControl (void *SIDXcamera, SIDXCoolingControl &control) |
Obtain the type of image sensor temperature control and monitoring available. More... | |
int | SIDXCameraCoolingGetRange (void *SIDXcamera, double &minimum, double &maximum) |
Obtain the minimum and maximum temperature setting. More... | |
int | SIDXCameraCoolingGetValue (void *SIDXcamera, double &temperature) |
Obtain the image sensor temperature. More... | |
int | SIDXCameraCoolingSet (void *SIDXcamera, double temperature) |
Set the image sensor target temperature. More... | |
int | SIDXCameraEMGainGet (void *SIDXcamera, int &gain) |
Obtain the current EM gain setting. More... | |
int | SIDXCameraEMGainGetLabel (void *SIDXcamera, wchar_t *label, size_t length) |
Obtain the label of the EM gain as a text string. More... | |
int | SIDXCameraEMGainGetRange (void *SIDXcamera, int &minimum, int &maximum) |
Obtain the minimum and maximum EM gain value. More... | |
int | SIDXCameraEMGainGetType (void *SIDXcamera, SIDXSettingType &type) |
Obtain the type of EM gain setting. More... | |
int | SIDXCameraEMGainGetUnit (void *SIDXcamera, wchar_t *unit, size_t length) |
Obtain the unit of the EM gain as a text string. More... | |
int | SIDXCameraEMGainGetValue (void *SIDXcamera, int &gain) |
Obtain the current EM gain value. More... | |
int | SIDXCameraEMGainItemGet (void *SIDXcamera, int &index) |
Obtain the index of the EM gain within the gain list. More... | |
int | SIDXCameraEMGainItemGetCount (void *SIDXcamera, int &count) |
Obtain the count of available EM gain settings. More... | |
int | SIDXCameraEMGainItemGetEntry (void *SIDXcamera, int index, int &gain) |
Obtain the EM gain value corresponding to an index within the list. More... | |
int | SIDXCameraEMGainItemGetLocal (void *SIDXcamera, int index, wchar_t *description, size_t length) |
Obtain a text string description of the EM gain value corresponding to the specified index. More... | |
int | SIDXCameraEMGainItemSet (void *SIDXcamera, int index) |
Set the EM gain to a value corresponding to an index within the list. More... | |
int | SIDXCameraEMGainSet (void *SIDXcamera, int gain) |
Sets the EM gain. More... | |
int | SIDXCameraExposeGet (void *SIDXcamera, double &exposure) |
Obtain the exposure time (duration) setting. More... | |
int | SIDXCameraExposeGetRange (void *SIDXcamera, double &minimum, double &maximum) |
Obtain the minimum and maximum exposure time duration. More... | |
int | SIDXCameraExposeGetValue (void *SIDXcamera, double &exposure) |
Obtain the exposure time (duration) value used by the camera. More... | |
int | SIDXCameraExposeSet (void *SIDXcamera, double exposure) |
Set the exposure time. More... | |
int | SIDXCameraExternalDelayGet (void *SIDXcamera, double &interval) |
Obtain the time interval in seconds required by the external device between the end of an exposure and the start of the next exposure. More... | |
int | SIDXCameraExternalDelaySet (void *SIDXcamera, double interval) |
Set the time interval in seconds between the end of an exposure and the start of the next exposure required by the external device. More... | |
int | SIDXCameraFanControlExists (void *SIDXcamera, bool &available) |
Determine if fan control is available. More... | |
int | SIDXCameraFanControlGet (void *SIDXcamera, bool &enable) |
Obtain whether or not fan control is enabled. More... | |
int | SIDXCameraFanControlSet (void *SIDXcamera, bool enable) |
Set the fan control. More... | |
int | SIDXCameraGainGet (void *SIDXcamera, double &gain) |
Obtain the current readout analog gain setting. More... | |
int | SIDXCameraGainGetLabel (void *SIDXcamera, wchar_t *label, size_t length) |
Obtain the camera analog gain label as a text string. More... | |
int | SIDXCameraGainGetRange (void *SIDXcamera, double &minimum, double &maximum) |
Obtain the analog gain minimum and maximum value. More... | |
int | SIDXCameraGainGetType (void *SIDXcamera, SIDXSettingType &type) |
Obtain the type of analog gain setting. More... | |
int | SIDXCameraGainGetUnit (void *SIDXcamera, wchar_t *unit, size_t length) |
Obtain the camera analog gain unit as a text string. More... | |
int | SIDXCameraGainGetValue (void *SIDXcamera, double &gain) |
Obtain the current readout analog gain value used by the camera. More... | |
int | SIDXCameraGainItemGet (void *SIDXcamera, int &index) |
Obtain the index of the gain within the gain list. More... | |
int | SIDXCameraGainItemGetCount (void *SIDXcamera, int &count) |
Obtain the count of available gain settings. More... | |
int | SIDXCameraGainItemGetEntry (void *SIDXcamera, int index, double &gain) |
Obtain the gain value corresponding to a specified gain list index. More... | |
int | SIDXCameraGainItemGetLocal (void *SIDXcamera, int index, wchar_t *description, size_t length) |
Obtain a text description of the specified gain list index. More... | |
int | SIDXCameraGainItemSet (void *SIDXcamera, int index) |
Set the analog gain according to the specified gain list index. More... | |
int | SIDXCameraGainSet (void *SIDXcamera, double gain) |
Set the camera analog gain to the specified value. More... | |
void | SIDXCameraGetLastError (void *SIDXcamera, wchar_t *message, size_t length) |
The function translates the error code into a text string. More... | |
int | SIDXCameraIntensifierGet (void *SIDXcamera, double &gain) |
Obtain the current intensifier setting. More... | |
int | SIDXCameraIntensifierGetLabel (void *SIDXcamera, wchar_t *label, size_t length) |
Obtain the label for the intensifier setting. More... | |
int | SIDXCameraIntensifierGetRange (void *SIDXcamera, double &minimum, double &maximum) |
Obtain the minimum and maximum intensifier value. More... | |
int | SIDXCameraIntensifierGetType (void *SIDXcamera, SIDXSettingType &type) |
Obtain the type of intensifier setting. More... | |
int | SIDXCameraIntensifierGetUnit (void *SIDXcamera, wchar_t *unit, size_t length) |
Obtain the intensifier gain unit as a text string. More... | |
int | SIDXCameraIntensifierGetValue (void *SIDXcamera, double &gain) |
Obtain the current intensifier value. More... | |
int | SIDXCameraIntensifierSet (void *SIDXcamera, double gain) |
Set the intensifier. More... | |
int | SIDXCameraOperateGet (void *SIDXcamera, wchar_t *value, size_t length) |
Obtain the current operating mode setting as a camera-specific text string. More... | |
int | SIDXCameraOperateItemGet (void *SIDXcamera, int &index) |
Obtain the current operating mode setting. More... | |
int | SIDXCameraOperateItemGetCount (void *SIDXcamera, int &count) |
Obtain the count of available camera operating modes. More... | |
int | SIDXCameraOperateItemGetLocal (void *SIDXcamera, int index, wchar_t *description, size_t length) |
Obtain a text string description of the operating mode corresponding to the specified index. More... | |
int | SIDXCameraOperateItemSet (void *SIDXcamera, int index) |
Set the operating mode to the specified index. More... | |
int | SIDXCameraOperateSet (void *SIDXcamera, const wchar_t *value) |
Set the current operating mode setting, using a camera-specific text string. More... | |
int | SIDXCameraPollingGet (void *SIDXcamera, double &interval) |
Obtain the service interval (polling interval) setting. More... | |
int | SIDXCameraPollingSet (void *SIDXcamera, double interval) |
Set the service interval during Acquire. More... | |
int | SIDXCameraReadoutGet (void *SIDXcamera, wchar_t *value, size_t length) |
Obtain the current Readout setting as a camera-specific value. More... | |
int | SIDXCameraReadoutGetValue (void *SIDXcamera, double &pixel_rate, int &pixel_depth) |
Obtain the pixel depth and pixel rate of images acquired using the Readout, with the current settings. More... | |
int | SIDXCameraReadoutItemGet (void *SIDXcamera, int &index) |
Obtain the current Readout setting. More... | |
int | SIDXCameraReadoutItemGetCount (void *SIDXcamera, int &count) |
Obtain the count of available Readout settings. More... | |
int | SIDXCameraReadoutItemGetEntry (void *SIDXcamera, int index, double &pixel_rate, int &pixel_depth) |
Obtain the pixel depth and pixel rate of images acquired using the Readout corresponding to the specified index. More... | |
int | SIDXCameraReadoutItemGetLocal (void *SIDXcamera, int index, wchar_t *description, size_t length) |
Obtain a text string description of the Readout corresponding to the specified index. More... | |
int | SIDXCameraReadoutItemSet (void *SIDXcamera, int index) |
Set the Readout to the specified index. More... | |
int | SIDXCameraReadoutSet (void *SIDXcamera, const wchar_t *value) |
Set the current Readout setting, using a camera-specific value. More... | |
int | SIDXCameraROIClear (void *SIDXcamera) |
Clear the ROI (region of interest), so the entire image is acquired. More... | |
int | SIDXCameraROIGet (void *SIDXcamera, int &x1, int &y1, int &x2, int &y2) |
Obtain the ROI setting. More... | |
int | SIDXCameraROIGetValue (void *SIDXcamera, int &x1, int &y1, int &x2, int &y2) |
Obtain the ROI used. More... | |
int | SIDXCameraROISet (void *SIDXcamera, int x1, int y1, int x2, int y2) |
Set the ROI (region of interest) for imaging. More... | |
int | SIDXCameraRotateClear (void *SIDXcamera) |
Clear the rotation and mirroring settings, so acquired images are not transformed. More... | |
int | SIDXCameraRotateMirrorX (void *SIDXcamera) |
Mirror the image in x. More... | |
int | SIDXCameraRotateMirrorY (void *SIDXcamera) |
Mirror the image in y. More... | |
int | SIDXCameraRotateSet (void *SIDXcamera, int count) |
Set the image rotation as a count of 90 degree clockwise rotations. More... | |
int | SIDXCameraShutterExists (void *SIDXcamera, SIDXShutterMode mode, bool &available) |
Determine whether a given shutter control mode is available. More... | |
int | SIDXCameraShutterGet (void *SIDXcamera, SIDXShutterMode &mode) |
Obtain the current shutter control setting. More... | |
int | SIDXCameraShutterSet (void *SIDXcamera, SIDXShutterMode mode) |
Set the shutter control to the specified value. More... | |
int | SIDXCameraTemperatureExists (void *SIDXcamera, bool &available) |
Determine whether the camera sensor temperature is available. More... | |
int | SIDXCameraTemperatureGet (void *SIDXcamera, double &temperature) |
Obtain the current measured sensor temperature. More... | |
int | SIDXCameraTransferRateGet (void *SIDXcamera, double &transfer_rate) |
Obtain the transfer rate in bytes per second. More... | |
int | SIDXCameraTransferRateSet (void *SIDXcamera, double transfer_rate) |
Set the transfer rate in bytes per second. More... | |
int | SIDXCameraTriggerModeExists (void *SIDXcamera, SIDXTriggerInMode mode, bool &available) |
Determine whether a given trigger input control mode is available. More... | |
int | SIDXCameraTriggerModeGet (void *SIDXcamera, SIDXTriggerInMode &mode) |
Obtain the current trigger input control setting. More... | |
int | SIDXCameraTriggerModeSet (void *SIDXcamera, SIDXTriggerInMode mode) |
Set the trigger input control to the specified value. More... | |
int | SIDXCameraTriggerSignalExists (void *SIDXcamera, SIDXSignalActiveMode mode, bool &available) |
Determine whether a given trigger input signal mode is available. More... | |
int | SIDXCameraTriggerSignalGet (void *SIDXcamera, SIDXSignalActiveMode &mode) |
Obtain the current trigger input signal setting. More... | |
int | SIDXCameraTriggerSignalSet (void *SIDXcamera, SIDXSignalActiveMode mode) |
Set the trigger input signal to the specified value. More... | |
int | SIDXGeometryChannelGetDepth (void *SIDXcamera, int &depth) |
Obtain the pixel depth of one channel from the image data. More... | |
int | SIDXGeometryImageGetSize (void *SIDXcamera, size_t &size) |
Obtain the data size of an image. More... | |
int | SIDXGeometryImageGetType (void *SIDXcamera, SIDXImageType &type) |
Obtain the image type of the source image. More... | |
int | SIDXGeometryPixelGetCount (void *SIDXcamera, int &x, int &y) |
Obtain the x and y pixel count for images. More... | |
int | SIDXGeometryPixelSpacingGet (void *SIDXcamera, double &x, double &y) |
Obtain the pixel size in x and y. More... | |
File containing SIDX camera usage for reference.
int SIDXCameraAcquireImageGetLimit | ( | void * | SIDXcamera, |
int64_t & | maximum_count | ||
) |
Obtain the maximum number of images that was set by ImageSetLimit.
SIDXcamera | A handle value that references the open camera context. |
maximum_count | A variable to receive an integer value representing the maximum number of images to be acquired. |
int SIDXCameraAcquireImageSetLimit | ( | void * | SIDXcamera, |
int64_t | maximum_count | ||
) |
Set the maximum number of images acquired following each call to SIDXAcquireStart.
This is a 'soft limit', the camera will acquire at least the specified number of images before stopping, but may acquire more. For most cameras, the camera acquires images continuously, and SIDX enforces the SIDXCameraAcquireImageSetLimit limit value in software when it finds that the camera has acquired at least the specified number of images.
If zero value is set, the camera will continuously acquire images until Acquire Stop or Acquire Abort is called.
SIDXcamera | A handle value that references the open camera context. |
maximum_count | An integer value specifying the maximum number of images to acquire. |
int SIDXCameraAcquireOpen | ( | void * | SIDXcamera, |
void *& | SIDXacquire | ||
) |
Prepare acquisition.
This operation does not start Acquire, Acquire must be started explicitly. After this operation, the camera settings cannot be changed, until Acquire closes.
SIDXcamera | A handle value that references the open camera context. |
SIDXacquire | A variable to receive an object that references the acquisition context and is used to aquire images. |
int SIDXCameraBinningGet | ( | void * | SIDXcamera, |
int & | x, | ||
int & | y | ||
) |
Obtain the x and y axis binning.
SIDXcamera | A handle value that references the open camera context. |
x | A variable to receive an integer value representing the x axis binning. |
y | A variable to receive an integer value representing the y axis binning. |
int SIDXCameraBinningGetType | ( | void * | SIDXcamera, |
SIDXSettingType & | type | ||
) |
Obtain the type of binning for the camera.
If the camera supports independent selection of binning on the x and y axes, the type of binning returned from the function will be 'none'. In that case, use the separate methods for the x and y axes to obtain the settable values.
SIDXcamera | A handle value that references the open camera context. |
type | A variable to receive a value describing the type of binning supported for the camera. The binning type may be none or list. The binning type is never integer or real. |
int SIDXCameraBinningItemGet | ( | void * | SIDXcamera, |
int & | index | ||
) |
Obtain the item of the current binning selection within the binning list.
SIDXcamera | A handle value that references the open camera context. |
index | A variable to receive an integer representing the index of the current binning within the list. |
int SIDXCameraBinningItemGetCount | ( | void * | SIDXcamera, |
int & | count | ||
) |
Obtain the total number of available (x,y) binning combinations.
This operation returns a nonzero value only for cameras that support setting the x and y bininng together as a unit. For cameras that support setting the x and y binning independently, the camera reports zero (x,y) binning combinations.
SIDXcamera | A handle value that references the open camera context. |
count | A variable to receive an integer count representing the number of (x,y) binning combinations. This value is zero if the camera supports setting the x and y axis binning independently. |
int SIDXCameraBinningItemGetEntry | ( | void * | SIDXcamera, |
int | index, | ||
int & | x, | ||
int & | y | ||
) |
Given the index of a binning selection within the list, returns the x and y axis binning factor.
SIDXcamera | A handle value that references the open camera context. |
index | The integer index of the binning selection within the list of available binning choices. |
x | A variable to receive an integer value representing the x axis binning. |
y | A variable to receive an integer value representing the y axis binning. |
int SIDXCameraBinningItemGetLocal | ( | void * | SIDXcamera, |
int | index, | ||
wchar_t * | description, | ||
size_t | length | ||
) |
Obtain a text string description of the specified binning setting.
SIDXcamera | A handle value that references the open camera context. |
index | The integer index of the binning selection within the list of available binning choices. |
description | A variable to receive a text string description of the specified binning list entry. |
length | The length of the text string, measured in characters. The string should include space for a null character at the end of the string. |
int SIDXCameraBinningItemSet | ( | void * | SIDXcamera, |
int | index | ||
) |
Set the binning to the specified index within the binning list.
SIDXcamera | A handle value that references the open camera context. |
index | The integer index of the binning selection within the list of available binning choices. |
int SIDXCameraBinningSet | ( | void * | SIDXcamera, |
int | x, | ||
int | y | ||
) |
Set the binning as binning x and y factors.
The specific x and y binning combination must be supported by the camera.
SIDXcamera | A handle value that references the open camera context. |
x | An integer value that specifies the x axis binning. For example, a value of 2 specifies 2:1 x axis binning, that is, each 2 x axis sensor pixels (columns) are binned and read out as 1 x axis column. |
y | An integer value that specifes the y axis binning. For example, a value of 4 specifies 4:1 y axis binning, that is, each 4 y axis sensor pixels (rows) are binned and read out as 1 y axis row. |
int SIDXCameraBinningXGetLimit | ( | void * | SIDXcamera, |
int & | maximum | ||
) |
Obtain the largest x axis binning ratio.
Use BinningSet to set a value within the limits for the x coordinate.
SIDXcamera | A handle value that references the open camera context. |
maximum | A variable to receive an integer value representing the maximum x axis binning ratio. This value is 1 or greater. |
int SIDXCameraBinningXGetType | ( | void * | SIDXcamera, |
SIDXSettingType & | type | ||
) |
Obtain the type of binning selection available for the x axis.
The x axis binning type is 'none' if the x and y axis binning interacts and must be set together. If the x axis binning value can be obtained independently, the x axis binning type is not 'none'.
SIDXcamera | A handle value that references the open camera context. |
type | A variable to receive a value describing the type of binning available. The x axis binning type may be none, list, or integer. The x axis binning type is never a real. |
int SIDXCameraBinningXItemGetCount | ( | void * | SIDXcamera, |
int & | count | ||
) |
Obtain the count of available x axis binning settings.
This method is valid only if the x axis binning type is a list.
SIDXcamera | A handle value that references the open camera context. |
count | A variable to receive an integer count representing the number of available x axis binning settings. |
int SIDXCameraBinningXItemGetEntry | ( | void * | SIDXcamera, |
int | index, | ||
int & | binning | ||
) |
Obtain the x axis binning ratio for the specified list index.
This method is valid only if the x axis binning type is a list. Use BinningSet to set the entry value returned for the x coordinate.
SIDXcamera | A handle value that references the open camera context. |
index | The integer index of the x axis binning selection within the list of available x axis binning choices. |
binning | A variable to receive an integer representing the binning ratio. This value is 1 or greater. |
int SIDXCameraBinningXItemGetLocal | ( | void * | SIDXcamera, |
int | index, | ||
wchar_t * | description, | ||
size_t | length | ||
) |
Obtain a text description of the x axis binning ratio for the specified list index.
This method is valid only if the x axis binning type is a list.
SIDXcamera | A handle value that references the open camera context. |
index | The integer index of the x axis binning selection within the list of available x axis binning choices. |
description | A variable to receive a text string description the binning ratio. |
length | The length of the text string, measured in characters. The string should include space for a null character at the end of the string. |
int SIDXCameraBinningYGetLimit | ( | void * | SIDXcamera, |
int & | maximum | ||
) |
Obtain the maximum y axis binning ratio.
The y axis binning ratio can be determined independently of the x axis binning ratio only if the x axis binning type is not 'none'. If the y axis binning ratio can be determined independently, the y axis binning value range is always 1 to the maximum value. Use BinningSet to set a value within the limits for the y coordinate.
SIDXcamera | A handle value that references the open camera context. |
maximum | A variable to receive an integer value representing the maximum y axis binning ratio. This value is 1 or greater. |
int SIDXCameraBufferCountGet | ( | void * | SIDXcamera, |
int & | count | ||
) |
Obtain the image buffer count setting.
The actual image buffer count may differ from the setting.
SIDXcamera | A handle value that references the open camera context. |
count | A variable to receive an integer value representing the image buffer count setting, as a number of sensor images. |
int SIDXCameraBufferCountSet | ( | void * | SIDXcamera, |
int | count | ||
) |
Set the minimum number of sensor images to buffer during Acquire.
SIDX sets the default sensor image count value to 50.
SIDXcamera | A handle value that references the open camera context. |
count | An integer value specifying the minimum image buffer size, in units of sensor images. |
int SIDXCameraClose | ( | void * | SIDXcamera | ) |
Close the camera.
After this call, the camera is no longer valid.
SIDXcamera | A handle value that references the open camera context. |
int SIDXCameraCoolingGet | ( | void * | SIDXcamera, |
double & | temperature | ||
) |
Obtain the image sensor target temperature.
SIDXcamera | A handle value that references the open camera context. |
temperature | A variable to receive a real (floating-point) value representing the image sensor target temperature setting, in degrees Celsius. |
int SIDXCameraCoolingGetControl | ( | void * | SIDXcamera, |
SIDXCoolingControl & | control | ||
) |
Obtain the type of image sensor temperature control and monitoring available.
SIDXcamera | A handle value that references the open camera context. |
control | A variable to receive a value describing the image sensor temperature control type. |
int SIDXCameraCoolingGetRange | ( | void * | SIDXcamera, |
double & | minimum, | ||
double & | maximum | ||
) |
Obtain the minimum and maximum temperature setting.
This is not the limits of the sensor temperature, it is the limits of the temperature to which the sensor temperature control can be set.
SIDXcamera | A handle value that references the open camera context. |
minimum | A variable to receive a real (floating point) value representing the minimum limit in degrees Celsius. |
maximum | A variable to receive a real (floating point) value representing the maximum limit in degrees Celsius. |
int SIDXCameraCoolingGetValue | ( | void * | SIDXcamera, |
double & | temperature | ||
) |
Obtain the image sensor temperature.
SIDXcamera | A handle value that references the open camera context. |
temperature | A variable to receive a real (floating-point) value representing the image sensor temperature in degrees Celsius. |
int SIDXCameraCoolingSet | ( | void * | SIDXcamera, |
double | temperature | ||
) |
Set the image sensor target temperature.
SIDX uses a value valid for the camera that is closest to the setting. Use 'get value' to determine the actual value that is set.
SIDXcamera | A handle value that references the open camera context. |
temperature | A real (floating-point) value that specifies the target temperature in degrees Celsius. |
int SIDXCameraEMGainGet | ( | void * | SIDXcamera, |
int & | gain | ||
) |
Obtain the current EM gain setting.
For most cameras with EM gain, the EM gain value is nominal, not an actual gain. The greater the EM gain value, the greater the corresponding gain.
SIDXcamera | A handle value that references the open camera context. |
gain | A variable to receive an integer value representing the current EM gain setting. |
int SIDXCameraEMGainGetLabel | ( | void * | SIDXcamera, |
wchar_t * | label, | ||
size_t | length | ||
) |
Obtain the label of the EM gain as a text string.
SIDXcamera | A handle value that references the open camera context. |
label | A variable to receive a text string representing the EM gain label. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraEMGainGetRange | ( | void * | SIDXcamera, |
int & | minimum, | ||
int & | maximum | ||
) |
Obtain the minimum and maximum EM gain value.
SIDXcamera | A handle value that references the open camera context. |
minimum | A variable to receive an integer value representing the minimum limit. |
maximum | A variable to receive an integer value representing the maximum limit. |
int SIDXCameraEMGainGetType | ( | void * | SIDXcamera, |
SIDXSettingType & | type | ||
) |
Obtain the type of EM gain setting.
The EM gain setting type is one of none, integer, or list.
SIDXcamera | A handle value that references the open camera context. |
type | A variable to receive a value describing the type of EM gain available. The EM gain setting type is one of none, integer, or list. The EM gain setting type is never real, but this could change in the future. |
int SIDXCameraEMGainGetUnit | ( | void * | SIDXcamera, |
wchar_t * | unit, | ||
size_t | length | ||
) |
Obtain the unit of the EM gain as a text string.
SIDXcamera | A handle value that references the open camera context. |
unit | A variable to receive a text string representing the EM gain unit. If the EM gain is dimensionless, this text string may be blank. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraEMGainGetValue | ( | void * | SIDXcamera, |
int & | gain | ||
) |
Obtain the current EM gain value.
For most cameras with EM gain, the EM gain value is nominal, not an actual gain. The greater the EM gain value, the greater the corresponding gain.
SIDXcamera | A handle value that references the open camera context. |
gain | A variable to receive an integer value representing the current EM gain value. |
int SIDXCameraEMGainItemGet | ( | void * | SIDXcamera, |
int & | index | ||
) |
Obtain the index of the EM gain within the gain list.
SIDXcamera | A handle value that references the open camera context. |
index | A variable to receive an integer value representing the current EM gain index within the list. |
int SIDXCameraEMGainItemGetCount | ( | void * | SIDXcamera, |
int & | count | ||
) |
Obtain the count of available EM gain settings.
This operation is valid only if the EM gain type is a list.
SIDXcamera | A handle value that references the open camera context. |
count | A variable to receive an integer value representing the count of available EM gain settings. |
int SIDXCameraEMGainItemGetEntry | ( | void * | SIDXcamera, |
int | index, | ||
int & | gain | ||
) |
Obtain the EM gain value corresponding to an index within the list.
This operation is valid only if the EM gain type is a list.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the EM gain selection within the list of available EM gain values. The first entry in the list has index zero. |
gain | A variable to receive an integer value representing the EM gain value corresponding to the index within the list. |
int SIDXCameraEMGainItemGetLocal | ( | void * | SIDXcamera, |
int | index, | ||
wchar_t * | description, | ||
size_t | length | ||
) |
Obtain a text string description of the EM gain value corresponding to the specified index.
This operation is valid only if the EM gain type is a list.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the EM gain selection within the list of available EM gain values. The first entry in the list has index zero. |
description | A variable to receive a text string description of the gain value. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraEMGainItemSet | ( | void * | SIDXcamera, |
int | index | ||
) |
Set the EM gain to a value corresponding to an index within the list.
This operation is valid only if the EM gain type is a list.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the EM gain selection within the list of available EM gain values. The first entry in the list has index zero. |
int SIDXCameraEMGainSet | ( | void * | SIDXcamera, |
int | gain | ||
) |
Sets the EM gain.
SIDXcamera | A handle value that references the open camera context. |
gain | An integer value specifying the camera EM gain value to use. This EM gain value must be valid for the camera. The EM gain value is not the actual gain. For example, an EM gain of 4 is a higher gain than an EM gain of 2, but the actual amplification ratio of the two settings may or may not be 4:2. |
int SIDXCameraExposeGet | ( | void * | SIDXcamera, |
double & | exposure | ||
) |
Obtain the exposure time (duration) setting.
SIDXcamera | A handle value that references the open camera context. |
exposure | A variable to receive a real (floating-point) value representing the current exposure duration setting, expressed in seconds. |
int SIDXCameraExposeGetRange | ( | void * | SIDXcamera, |
double & | minimum, | ||
double & | maximum | ||
) |
Obtain the minimum and maximum exposure time duration.
Note that the limits of the exposure time can change based on camera settings.
SIDXcamera | A handle value that references the open camera context. |
minimum | A variable to receive a real (floating point) value representing the minimum limit, expressed in seconds. |
maximum | A variable to receive a real (floating point) value representing the maximum limit, expressed in seconds. |
int SIDXCameraExposeGetValue | ( | void * | SIDXcamera, |
double & | exposure | ||
) |
Obtain the exposure time (duration) value used by the camera.
SIDXcamera | A handle value that references the open camera context. |
exposure | A variable to receive a real (floating-point) value representing the current exposure time duration used by the camera, expressed in seconds. |
int SIDXCameraExposeSet | ( | void * | SIDXcamera, |
double | exposure | ||
) |
Set the exposure time.
If the exposure time is set to a value less than the minimum, or greater than the maximum, the exposure time used will be limited to the exposure time minimum or maximum value.
SIDXcamera | A handle value that references the open camera context. |
exposure | A real (floating-point) value containing the exposure duration, in seconds. This value must be greater than zero. |
int SIDXCameraExternalDelayGet | ( | void * | SIDXcamera, |
double & | interval | ||
) |
Obtain the time interval in seconds required by the external device between the end of an exposure and the start of the next exposure.
This is the minimum delay, the actual delay may be longer, depending on the camera.
SIDXcamera | A handle value that references the open camera context. |
interval | A variable to receive a real (floating-point) value specifying external time interval delay in seconds. |
int SIDXCameraExternalDelaySet | ( | void * | SIDXcamera, |
double | interval | ||
) |
Set the time interval in seconds between the end of an exposure and the start of the next exposure required by the external device.
If the external delay is not set, the default is zero.
SIDXcamera | A handle value that references the open camera context. |
interval | A real (floating-point) value specifying the external time interval delay in seconds. |
int SIDXCameraFanControlExists | ( | void * | SIDXcamera, |
bool & | available | ||
) |
Determine if fan control is available.
SIDXcamera | A handle value that references the open camera context. |
available | A variable to receive a boolean value, true if computer-based fan control is available, false if not. |
int SIDXCameraFanControlGet | ( | void * | SIDXcamera, |
bool & | enable | ||
) |
Obtain whether or not fan control is enabled.
This operation will report an error if the camera does not have computer-based fan control.
SIDXcamera | A handle value that references the open camera context. |
enable | A variable to receive a boolean value, true to enable the fan, false to disable the fan. |
int SIDXCameraFanControlSet | ( | void * | SIDXcamera, |
bool | enable | ||
) |
Set the fan control.
This operation will report an error if the camera does not have computerbased fan control. If the fan control is enabled, the fan may turn on for cooling. If the fan control is disabled, the fan is prevented from turning on.
SIDXcamera | A handle value that references the open camera context. |
enable | A variable to receive a boolean value, true to enable the fan, false to disable the fan. |
int SIDXCameraGainGet | ( | void * | SIDXcamera, |
double & | gain | ||
) |
Obtain the current readout analog gain setting.
SIDXcamera | A handle value that references the open camera context. |
gain | A variable to receive a real (floating-point) value representing the analog gain setting. This setting is always greater than zero. If the camera does not have an analog gain setting, this value is 1.0. |
int SIDXCameraGainGetLabel | ( | void * | SIDXcamera, |
wchar_t * | label, | ||
size_t | length | ||
) |
Obtain the camera analog gain label as a text string.
The label is independent of the gain value, for example, it might be the string "Gain".
SIDXcamera | A handle value that references the open camera context. |
label | A variable to receive a text string representing the label for the analog gain. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraGainGetRange | ( | void * | SIDXcamera, |
double & | minimum, | ||
double & | maximum | ||
) |
Obtain the analog gain minimum and maximum value.
SIDXcamera | A handle value that references the open camera context. |
minimum | A variable to receive a real (floating point) value representing the minimum limit. |
maximum | A variable to receive a real (floating point) value representing the maximum limit. |
int SIDXCameraGainGetType | ( | void * | SIDXcamera, |
SIDXSettingType & | type | ||
) |
Obtain the type of analog gain setting.
SIDXcamera | A handle value that references the open camera context. |
type | A variable to receive a value describing the type of analog gain available. The type is one of none, list, or real. The type is never integer. |
int SIDXCameraGainGetUnit | ( | void * | SIDXcamera, |
wchar_t * | unit, | ||
size_t | length | ||
) |
Obtain the camera analog gain unit as a text string.
The unit is independent of the gain value.
SIDXcamera | A handle value that references the open camera context. |
unit | A variable to receive a text string representing the unit for the analog gain. If the gain is dimensionless, this string may be empty. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraGainGetValue | ( | void * | SIDXcamera, |
double & | gain | ||
) |
Obtain the current readout analog gain value used by the camera.
SIDXcamera | A handle value that references the open camera context. |
gain | A variable to receive a real (floating-point) value representing the analog gain value. This value is always greater than zero. If the camera does not have an analog gain setting, this value is 1.0. |
int SIDXCameraGainItemGet | ( | void * | SIDXcamera, |
int & | index | ||
) |
Obtain the index of the gain within the gain list.
SIDXcamera | A handle value that references the open camera context. |
index | A variable to receive an integer value representing the index of the gain within the list of analog gains. |
int SIDXCameraGainItemGetCount | ( | void * | SIDXcamera, |
int & | count | ||
) |
Obtain the count of available gain settings.
This operation is valid only if the gain type is list.
SIDXcamera | A handle value that references the open camera context. |
count | A variable to receive an integer representing the count of available gain settings. |
int SIDXCameraGainItemGetEntry | ( | void * | SIDXcamera, |
int | index, | ||
double & | gain | ||
) |
Obtain the gain value corresponding to a specified gain list index.
This operation is valid only if the gain type is list.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the gain selection within the list of available gain values. The first entry in the list has index zero. |
gain | A variable to receive a real (floating-point) value representing the gain. This value is always greater than zero. |
int SIDXCameraGainItemGetLocal | ( | void * | SIDXcamera, |
int | index, | ||
wchar_t * | description, | ||
size_t | length | ||
) |
Obtain a text description of the specified gain list index.
This operation is valid only if the gain type is list.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the gain selection within the list of available gain values. The first entry in the list has index zero. |
description | A variable to receive a text string description of the gain. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraGainItemSet | ( | void * | SIDXcamera, |
int | index | ||
) |
Set the analog gain according to the specified gain list index.
This operation is valid only if the gain type is list.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the gain selection within the list of available gain values. The first entry in the list has index zero. |
int SIDXCameraGainSet | ( | void * | SIDXcamera, |
double | gain | ||
) |
Set the camera analog gain to the specified value.
SIDXcamera | A handle value that references the open camera context. |
gain | A real (floating-point) value specifying the camera analog gain value to use. This analog gain value must be valid for the camera. |
void SIDXCameraGetLastError | ( | void * | SIDXcamera, |
wchar_t * | message, | ||
size_t | length | ||
) |
The function translates the error code into a text string.
SIDXcamera | A handle value that references the open camera context. |
message | A text string to receive the text associated with the last error occurred. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraIntensifierGet | ( | void * | SIDXcamera, |
double & | gain | ||
) |
Obtain the current intensifier setting.
SIDXcamera | A handle value that references the open camera context. |
gain | A variable to receive a real (floating-point) value representing the intensifier gain setting. |
int SIDXCameraIntensifierGetLabel | ( | void * | SIDXcamera, |
wchar_t * | label, | ||
size_t | length | ||
) |
Obtain the label for the intensifier setting.
SIDXcamera | A handle value that references the open camera context. |
label | A variable to receive a text string representing the intensifier setting label. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraIntensifierGetRange | ( | void * | SIDXcamera, |
double & | minimum, | ||
double & | maximum | ||
) |
Obtain the minimum and maximum intensifier value.
SIDXcamera | A handle value that references the open camera context. |
minimum | A variable to receive a real (floating point) value representing the minimum limit. |
maximum | A variable to receive a real (floating point) value representing the maximum limit. |
int SIDXCameraIntensifierGetType | ( | void * | SIDXcamera, |
SIDXSettingType & | type | ||
) |
Obtain the type of intensifier setting.
SIDXcamera | A handle value that references the open camera context. |
type | A variable to receive a value describing the type of intensifier gain setting. The intensifier gain type is none or real. The intensifier gain type is never list or integer. |
int SIDXCameraIntensifierGetUnit | ( | void * | SIDXcamera, |
wchar_t * | unit, | ||
size_t | length | ||
) |
Obtain the intensifier gain unit as a text string.
SIDXcamera | A handle value that references the open camera context. |
unit | A variable to receive a text string representing the intensifier gain unit. The intensifier gain may be dimensionless, in which case this text string may be blank. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraIntensifierGetValue | ( | void * | SIDXcamera, |
double & | gain | ||
) |
Obtain the current intensifier value.
SIDXcamera | A handle value that references the open camera context. |
gain | A variable to receive a real (floating-point) value representing the intensifier gain value. |
int SIDXCameraIntensifierSet | ( | void * | SIDXcamera, |
double | gain | ||
) |
Set the intensifier.
SIDXcamera | A handle value that references the open camera context. |
gain | A real (floating-point) value specifying the intensifier gain. The value must be a valid intensifier gain setting. |
int SIDXCameraOperateGet | ( | void * | SIDXcamera, |
wchar_t * | value, | ||
size_t | length | ||
) |
Obtain the current operating mode setting as a camera-specific text string.
SIDXcamera | A handle value that references the open camera context. |
value | A variable to receive a text string value representing the operating mode setting. It is possible to restore the camera to the same setting later by setting the camera to this value. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraOperateItemGet | ( | void * | SIDXcamera, |
int & | index | ||
) |
Obtain the current operating mode setting.
SIDXcamera | A handle value that references the open camera context. |
index | A variable to receive an integer index representing the operating mode setting. |
int SIDXCameraOperateItemGetCount | ( | void * | SIDXcamera, |
int & | count | ||
) |
Obtain the count of available camera operating modes.
The result is one (1) if the camera offers only one Operate mode, that is, no choice of Operate mode.
SIDXcamera | A handle value that references the open camera context. |
count | A variable to receive an integer value representing the count of available operating mode settings. |
int SIDXCameraOperateItemGetLocal | ( | void * | SIDXcamera, |
int | index, | ||
wchar_t * | description, | ||
size_t | length | ||
) |
Obtain a text string description of the operating mode corresponding to the specified index.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the operating mode selection within the list of available operating mode values. The first entry has index zero. |
description | A variable to receive a text string description of the operating mode. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraOperateItemSet | ( | void * | SIDXcamera, |
int | index | ||
) |
Set the operating mode to the specified index.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the operating mode. The first operating mode has the index value zero (0); |
int SIDXCameraOperateSet | ( | void * | SIDXcamera, |
const wchar_t * | value | ||
) |
Set the current operating mode setting, using a camera-specific text string.
When the caller sets the operation mode, all other parameters are reset to their default values. For example, the readout mode will be reset to the value that represents the slowest readout rate for the highest pixel depth.
SIDXcamera | A handle value that references the open camera context. |
value | The text string operating mode value to set. The value operating mode must be valid for the camera. The value is camera-specific. |
int SIDXCameraPollingGet | ( | void * | SIDXcamera, |
double & | interval | ||
) |
Obtain the service interval (polling interval) setting.
SIDXcamera | A handle value that references the open camera context. |
interval | A variable to receive a real (floating-point) value representing the service interval setting, in seconds. |
int SIDXCameraPollingSet | ( | void * | SIDXcamera, |
double | interval | ||
) |
Set the service interval during Acquire.
The service interval is the maximum time between calls to the Acquire 'GetStatus' operation. The longer the service interval, the larger the buffer needed to hold images during Acquire. In some cases, the actual maximum service interval may differ significantly from the setting. SIDX sets the default polling value to 1 second.
SIDXcamera | A handle value that references the open camera context. |
interval | A real (floating-point) value specifying the service interval, in seconds. |
int SIDXCameraReadoutGet | ( | void * | SIDXcamera, |
wchar_t * | value, | ||
size_t | length | ||
) |
Obtain the current Readout setting as a camera-specific value.
SIDXcamera | A handle value that references the open camera context. |
value | A variable to receive a text string value representing the setting. The value is camera-specific, the same value may represent a different setting on different cameras. However, the value should be consistent, so it should be possible restore the camera to the same setting later by setting the camera to this value. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraReadoutGetValue | ( | void * | SIDXcamera, |
double & | pixel_rate, | ||
int & | pixel_depth | ||
) |
Obtain the pixel depth and pixel rate of images acquired using the Readout, with the current settings.
SIDXcamera | A handle value that references the open camera context. |
pixel_rate | A variable to receive a real (floating-point) value representing the nominal pixel readout rate of images acquired using the readout, measured in Hz. For example, if the pixel readout rate is 10MHz, this value is 10 million (1.0e+7) |
pixel_depth | A variable to receive an integer value representing the pixel depth of images acquired using the readout, measured in bits. |
int SIDXCameraReadoutItemGet | ( | void * | SIDXcamera, |
int & | index | ||
) |
Obtain the current Readout setting.
SIDXcamera | A handle value that references the open camera context. |
index | A variable to receive an integer index representing the Readout setting. |
int SIDXCameraReadoutItemGetCount | ( | void * | SIDXcamera, |
int & | count | ||
) |
Obtain the count of available Readout settings.
The result is one (1) if the camera offers only one Readout, that is, no choice of Readout. If the camera offers a choice of Readout, then ReadoutItem zero (0) generally produces the highest-quality images, and the highest-numbered Readout generally produces images at the highest speed.
SIDXcamera | A handle value that references the open camera context. |
count | A variable to receive an integer value representing the count of available Readout settings. |
int SIDXCameraReadoutItemGetEntry | ( | void * | SIDXcamera, |
int | index, | ||
double & | pixel_rate, | ||
int & | pixel_depth | ||
) |
Obtain the pixel depth and pixel rate of images acquired using the Readout corresponding to the specified index.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the Readout selection within the list of available Readout values. The first entry has index zero. |
pixel_rate | A variable to receive a real (floating-point) value representing the nominal pixel readout rate of images acquired using the readout, measured in Hz. For example, if the pixel readout rate is 10MHz, this value is 10 million (1.0e+7) |
pixel_depth | A variable to receive an integer value representing the pixel depth of images acquired using the readout, measured in bits. |
int SIDXCameraReadoutItemGetLocal | ( | void * | SIDXcamera, |
int | index, | ||
wchar_t * | description, | ||
size_t | length | ||
) |
Obtain a text string description of the Readout corresponding to the specified index.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the Readout selection within the list of available Readout values. The first entry has index zero. |
description | A variable to receive a text string description of the Readout. |
length | The length of the array to receive the text string, measured in characters. The array should include space for a null character at the end of the string. |
int SIDXCameraReadoutItemSet | ( | void * | SIDXcamera, |
int | index | ||
) |
Set the Readout to the specified index.
SIDXcamera | A handle value that references the open camera context. |
index | An integer index of the Readout. The first Readout has the index value zero (0); |
int SIDXCameraReadoutSet | ( | void * | SIDXcamera, |
const wchar_t * | value | ||
) |
Set the current Readout setting, using a camera-specific value.
The available Readout modes are dependent on the Operate mode that is set. The default Readout mode is the one that provides the slowest readout rate for the highest pixel depth.
SIDXcamera | A handle value that references the open camera context. |
value | The text string value to set. The Readout setting value must be valid for the camera. The value is camera-specific. |
int SIDXCameraROIClear | ( | void * | SIDXcamera | ) |
Clear the ROI (region of interest), so the entire image is acquired.
SIDXcamera | A handle value that references the open camera context. |
int SIDXCameraROIGet | ( | void * | SIDXcamera, |
int & | x1, | ||
int & | y1, | ||
int & | x2, | ||
int & | y2 | ||
) |
Obtain the ROI setting.
SIDXcamera | A handle value that references the open camera context. |
x1 | A variable to receive an integer value representing the x1 value, that is, the left side of the region in pixel index. The value zero represents the left most pixel. |
y1 | A variable to receive an integer value representing the y1 value, that is, the top of the region in pixel index. The value zero represents the top most pixel. |
x2 | A variable to receive an integer value representing the x2 value, that is, the right side of the region in pixel index. The value zero represents the left most pixel. |
y2 | A variable to receive an integer value representing the y2 value, that is, the bottom of the region in pixel index. The value zero represents the top most pixel. |
int SIDXCameraROIGetValue | ( | void * | SIDXcamera, |
int & | x1, | ||
int & | y1, | ||
int & | x2, | ||
int & | y2 | ||
) |
Obtain the ROI used.
The ROI used may be larger than the ROI setting, if the camera imposes restrictions on the ROI. For example, if the camera requires that the ROI x position and x width be multiples of 4, an ROI that begins at x position 5 will be adjusted to begin at 4.
SIDXcamera | A handle value that references the open camera context. |
x1 | A variable to receive an integer value representing the x1 value, that is, the left side of the region. |
y1 | A variable to receive an integer value representing the y1 value, that is, the top of the region. |
x2 | A variable to receive an integer value representing the x2 value, that is, the right side of the region. |
y2 | A variable to receive an integer value representing the y2 value, that is, the bottom of the region. |
int SIDXCameraROISet | ( | void * | SIDXcamera, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
Set the ROI (region of interest) for imaging.
The ROI is specified in sensor coordinates, not binned coordinates. For example, if a 1000x1000 sensor is binned 4x4 to yield a 250x250 image, the ROI is interpreted in the 1000x1000 sensor coordinates, not the 250x250 binned coordinates.
SIDXcamera | A handle value that references the open camera context. |
x1 | An integer value specifying the left-side x coordinate. The x coordinate is measured from left to right. |
y1 | An integer value specifying the y coordinate. The y coordinate is measured from top to bottom. |
x2 | An integer value specifying the right-side x coordinate. The x coordinate is measured from left to right. The region width in pixels is x2-x1, so the region excludes the x2 column. |
y2 | An integer value specifying the bottom y coordinate. The y coordinate is measured from top to bottom. The region height in pixels is y2-y1, so the region excludes the y2 row. |
int SIDXCameraRotateClear | ( | void * | SIDXcamera | ) |
Clear the rotation and mirroring settings, so acquired images are not transformed.
SIDXcamera | A handle value that references the open camera context. |
int SIDXCameraRotateMirrorX | ( | void * | SIDXcamera | ) |
Mirror the image in x.
Calls to this method are cumulative, so two successive calls result in no mirroring. The mirroring and rotation calls operate in sequence. Calling RotateSet followed RotateMirrorX rotates the image, then mirrors the image. Calling RotateMirrorX then RotateSet mirrors the image, then rotates the image.
SIDXcamera | A handle value that references the open camera context. |
int SIDXCameraRotateMirrorY | ( | void * | SIDXcamera | ) |
Mirror the image in y.
Calls to this method are cumulative, so two successive calls result in no mirroring. The mirroring and rotation calls operate in sequence. Calling RotateSet followed RotateMirrorY rotates the image, then mirrors the image. Calling RotateMirrorY then RotateSet mirrors the image, then rotates the image.
SIDXcamera | A handle value that references the open camera context. |
int SIDXCameraRotateSet | ( | void * | SIDXcamera, |
int | count | ||
) |
Set the image rotation as a count of 90 degree clockwise rotations.
For example, a 90 degree clockwise rotation is 1, a 90 degree counter-clockwise rotation is -1, and a 360 degree rotation is 4. Rotations are cumulative, so successive calls add. For example, four calls each with a rotation count of 1 produce a rotation count of 4.
SIDXcamera | A handle value that references the open camera context. |
count | An integer value specifying the image rotation as a signed count of 90 degree clockwise rotations. |
int SIDXCameraShutterExists | ( | void * | SIDXcamera, |
SIDXShutterMode | mode, | ||
bool & | available | ||
) |
Determine whether a given shutter control mode is available.
SIDXcamera | A handle value that references the open camera context. |
mode | A value describing the shutter control mode value to test. |
available | A variable to receive a boolean value, true if the shutter control mode is available, false if the shutter control mode is not available. |
int SIDXCameraShutterGet | ( | void * | SIDXcamera, |
SIDXShutterMode & | mode | ||
) |
Obtain the current shutter control setting.
SIDXcamera | A handle value that references the open camera context. |
mode | A variable to receive a value describing the current shutter control setting mode. |
int SIDXCameraShutterSet | ( | void * | SIDXcamera, |
SIDXShutterMode | mode | ||
) |
Set the shutter control to the specified value.
SIDXcamera | A handle value that references the open camera context. |
mode | A value describing the shutter control mode to use. |
int SIDXCameraTemperatureExists | ( | void * | SIDXcamera, |
bool & | available | ||
) |
Determine whether the camera sensor temperature is available.
SIDXcamera | A handle value that references the open camera context. |
available | A variable to receive a boolean value, true if the sensor temperature is available, false if the sensor temperature is not available. |
int SIDXCameraTemperatureGet | ( | void * | SIDXcamera, |
double & | temperature | ||
) |
Obtain the current measured sensor temperature.
SIDXcamera | A handle value that references the open camera context. |
temperature | A variable to receive a real (floating-point) value representing the temperature of the sensor, in degree Celsius. |
int SIDXCameraTransferRateGet | ( | void * | SIDXcamera, |
double & | transfer_rate | ||
) |
Obtain the transfer rate in bytes per second.
SIDXcamera | A handle value that references the open camera context. |
transfer_rate | A variable to receive a real (floating-point) value specifying the tranfer rate in bytes per second. |
int SIDXCameraTransferRateSet | ( | void * | SIDXcamera, |
double | transfer_rate | ||
) |
Set the transfer rate in bytes per second.
This parameter is used to calculate the time required to transfer an image from the camera to the computer. If the value is not set, the default transfer rate is zero (0).
SIDXcamera | A handle value that references the open camera context. |
transfer_rate | A real (floating-point) value specifying the transfer rate in bytes per second. |
int SIDXCameraTriggerModeExists | ( | void * | SIDXcamera, |
SIDXTriggerInMode | mode, | ||
bool & | available | ||
) |
Determine whether a given trigger input control mode is available.
SIDXcamera | A handle value that references the open camera context. |
mode | The trigger input control mode to test. |
available | A variable to receive a boolean value, true if the trigger input control mode is available, false if the trigger input control mode is not available. |
int SIDXCameraTriggerModeGet | ( | void * | SIDXcamera, |
SIDXTriggerInMode & | mode | ||
) |
Obtain the current trigger input control setting.
SIDXcamera | A handle value that references the open camera context. |
mode | A variable to receive a value describing the current trigger input control setting mode. |
int SIDXCameraTriggerModeSet | ( | void * | SIDXcamera, |
SIDXTriggerInMode | mode | ||
) |
Set the trigger input control to the specified value.
SIDXcamera | A handle value that references the open camera context. |
mode | A value describing the trigger input control value to use. |
int SIDXCameraTriggerSignalExists | ( | void * | SIDXcamera, |
SIDXSignalActiveMode | mode, | ||
bool & | available | ||
) |
Determine whether a given trigger input signal mode is available.
SIDXcamera | A handle value that references the open camera context. |
mode | The trigger input signal mode to test. |
available | A variable to receive a boolean value, true if the trigger input signal mode is available, false if the trigger input signal mode is not available. |
int SIDXCameraTriggerSignalGet | ( | void * | SIDXcamera, |
SIDXSignalActiveMode & | mode | ||
) |
Obtain the current trigger input signal setting.
SIDXcamera | A handle value that references the open camera context. |
mode | A variable to receive a value describing the current trigger input signal setting mode. |
int SIDXCameraTriggerSignalSet | ( | void * | SIDXcamera, |
SIDXSignalActiveMode | mode | ||
) |
Set the trigger input signal to the specified value.
SIDXcamera | A handle value that references the open camera context. |
mode | A value describing the trigger input signal value to use. |
int SIDXGeometryChannelGetDepth | ( | void * | SIDXcamera, |
int & | depth | ||
) |
Obtain the pixel depth of one channel from the image data.
For grayscale image, there is one channel. For RGB image, there are three channels which represent red, green and blue respectively.
SIDXcamera | A handle value that references the open camera context. |
depth | A variable to receive an integer value representing the channel depth in bit. |
int SIDXGeometryImageGetSize | ( | void * | SIDXcamera, |
size_t & | size | ||
) |
Obtain the data size of an image.
The data size of an image is the size of the data in an image, excluding any padding.
SIDXcamera | A handle value that references the open camera context. |
size | A variable to receive an integer value representing the size of the data in an image, measured in bytes. |
int SIDXGeometryImageGetType | ( | void * | SIDXcamera, |
SIDXImageType & | type | ||
) |
Obtain the image type of the source image.
SIDXcamera | A handle value that references the open camera context. |
type | A variable to receive a value describing the type of source image. |
int SIDXGeometryPixelGetCount | ( | void * | SIDXcamera, |
int & | x, | ||
int & | y | ||
) |
Obtain the x and y pixel count for images.
SIDXcamera | A handle value that references the open camera context. |
x | A variable to receive an integer value representing the pixel count on the x axis. |
y | A variable to receive an integer value representing the pixel count on the y axis. |
int SIDXGeometryPixelSpacingGet | ( | void * | SIDXcamera, |
double & | x, | ||
double & | y | ||
) |
Obtain the pixel size in x and y.
SIDXcamera | A handle value that references the open camera context. |
x | A variable to receive a real (floating point) value representing the horizontal pixel spacing, measured in meters. |
y | A variable to receive a real (floating point) value representing the vertical pixel spacing, measured in meters. |