![]() |
IDS peak comfortC
v1.2.0
|
Enumerations | |
| enum | peak_io_channel { PEAK_IO_CHANNEL_INVALID, PEAK_IO_CHANNEL_NONE, PEAK_IO_CHANNEL_SOFTWARE, PEAK_IO_CHANNEL_TRIGGER_INPUT, PEAK_IO_CHANNEL_FLASH_OUTPUT, PEAK_IO_CHANNEL_GPIO_1, PEAK_IO_CHANNEL_GPIO_2 } |
| peak IO channel More... | |
Functions | |
| peak_access_status | peak_IOChannel_GetAccessStatus (peak_camera_handle hCam, peak_io_channel ioChannel) |
| Query the io channel access status. More... | |
| peak_status | peak_IOChannel_GetList (peak_camera_handle hCam, peak_io_channel *ioChannelList, size_t *ioChannelCount) |
| Get the list of supported io channels. More... | |
| peak_access_status | peak_IOChannel_Level_GetAccessStatus (peak_camera_handle hCam, peak_io_channel ioChannel) |
| Query the io channel level property access status. More... | |
| peak_bool | peak_IOChannel_Level_IsHigh (peak_camera_handle hCam, peak_io_channel ioChannel) |
| Get the level of the io channel. More... | |
| peak_access_status | peak_IOChannel_Inverter_GetAccessStatus (peak_camera_handle hCam, peak_io_channel ioChannel) |
| Query the io channel inverter property access status. More... | |
| peak_status | peak_IOChannel_Inverter_Enable (peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled) |
| Enable/Disable the io channel inverter property. More... | |
| peak_bool | peak_IOChannel_Inverter_IsEnabled (peak_camera_handle hCam, peak_io_channel ioChannel) |
| Get the enabled status of the io channel inverter property. More... | |
| peak_access_status | peak_IOChannel_NoiseFilter_GetAccessStatus (peak_camera_handle hCam, peak_io_channel ioChannel) |
| Query the io channel noise filter property access status. More... | |
| peak_status | peak_IOChannel_NoiseFilter_Enable (peak_camera_handle hCam, peak_io_channel ioChannel, peak_bool enabled) |
| Enable/Disable the io channel noise filter property. More... | |
| peak_bool | peak_IOChannel_NoiseFilter_IsEnabled (peak_camera_handle hCam, peak_io_channel ioChannel) |
| Get the enabled status of the io channel noise filter property. More... | |
| peak_status | peak_IOChannel_NoiseFilter_Duration_GetRange (peak_camera_handle hCam, peak_io_channel ioChannel, double *minNoiseFilterDuration_us, double *maxNoiseFilterDuration_us, double *incNoiseFilterDuration_us) |
| Get the current range of valid io channel noise filter duration values. More... | |
| peak_status | peak_IOChannel_NoiseFilter_Duration_Set (peak_camera_handle hCam, peak_io_channel ioChannel, double noiseFilterDuration_us) |
| Set the io channel noise filter duration. More... | |
| peak_status | peak_IOChannel_NoiseFilter_Duration_Get (peak_camera_handle hCam, peak_io_channel ioChannel, double *noiseFilterDuration_us) |
| Get the io channel noise filter duration. More... | |
IO channel related functions and types.
| enum peak_io_channel |
peak IO channel
The io channel specifies the channel at which a certain signal or event is received or transmitted. It is used for several features like trigger and flash.
Not all channels are applicable for all features.
| peak_access_status peak_IOChannel_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel | ||
| ) |
Query the io channel access status.
Provides the current access status for the specified io channel.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
hCam is an invalid camera handle. ioChannel is an invalid io channel. Check peak_io_channel. | peak_status peak_IOChannel_GetList | ( | peak_camera_handle | hCam, |
| peak_io_channel * | ioChannelList, | ||
| size_t * | ioChannelCount | ||
| ) |
Get the list of supported io channels.
Queries the list of supported io channels.
This function implements the Two Staged Data Query principle.
| [in] | hCam | The camera handle. |
| [out] | ioChannelList | Pointer to a user allocated array buffer to receive the io channel list. If this parameter is NULL, ioChannelCount will contain the current number of io channels. The required size of ioChannelList in bytes is ioChannelCount x sizeof(peak_io_channel). |
| [in,out] | ioChannelCount |
|
ioChannelList is not NULL and the value of *ioChannelCount is too small to receive the expected amount of data. ioChannelCount is an invalid pointer. hCam is an invalid camera handle. | peak_status peak_IOChannel_Inverter_Enable | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel, | ||
| peak_bool | enabled | ||
| ) |
Enable/Disable the io channel inverter property.
Sets the io channel inverter property to enabled or disabled.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
| [in] | enabled | The desired enabled status. PEAK_TRUE for enabled, PEAK_FALSE for disabled. |
ioChannel is an invalid channel. hCam is an invalid camera handle. | peak_access_status peak_IOChannel_Inverter_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel | ||
| ) |
Query the io channel inverter property access status.
Provides the current access status for the inverter property for the specified io channel.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
ioChannel is an invalid channel. hCam is an invalid camera handle. | peak_bool peak_IOChannel_Inverter_IsEnabled | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel | ||
| ) |
Get the enabled status of the io channel inverter property.
Queries whether the io channel inverter property is currently enabled or disabled.
This function implements the Enabled Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
| peak_access_status peak_IOChannel_Level_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel | ||
| ) |
Query the io channel level property access status.
Provides the current access status for the level property for the specified io channel.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
ioChannel is an invalid io channel. Check peak_io_channel. hCam is an invalid camera handle. | peak_bool peak_IOChannel_Level_IsHigh | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel | ||
| ) |
Get the level of the io channel.
Queries whether the io channels level is currently high or low.
This function implements the Boolean Status Queries principle.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
| peak_status peak_IOChannel_NoiseFilter_Duration_Get | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel, | ||
| double * | noiseFilterDuration_us | ||
| ) |
Get the io channel noise filter duration.
Reads the current io channel noise filter duration for the specified io channel.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
| [out] | noiseFilterDuration_us | The noise filter duration in microseconds. |
noiseFilterDuration_us is an invalid pointer or ioChannel is an invalid channel. hCam is an invalid camera handle. | peak_status peak_IOChannel_NoiseFilter_Duration_GetRange | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel, | ||
| double * | minNoiseFilterDuration_us, | ||
| double * | maxNoiseFilterDuration_us, | ||
| double * | incNoiseFilterDuration_us | ||
| ) |
Get the current range of valid io channel noise filter duration values.
Queries the current range of valid values for the io channel noise filter duration for the specified io channel.
The range of valid io channel noise filter duration delay values may depend on the camera configuration and the camera status.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
| [out] | minNoiseFilterDuration_us | The minimum noise filter duration value in microseconds. |
| [out] | maxNoiseFilterDuration_us | The maximum noise filter duration value in microseconds. |
| [out] | incNoiseFilterDuration_us | The noise filter duration value increment in microseconds. |
minNoiseFilterDuration_us, maxNoiseFilterDuration_us, and incNoiseFilterDuration_us is an invalid pointer or ioChannel is an invalid channel. hCam is an invalid camera handle. | peak_status peak_IOChannel_NoiseFilter_Duration_Set | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel, | ||
| double | noiseFilterDuration_us | ||
| ) |
Set the io channel noise filter duration.
Writes the desired io channel noise filter duration for the specified io channel.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
| [out] | noiseFilterDuration_us | The noise filter duration to set in microseconds. |
noiseFilterDuration_us is out of range. Check the range of valid values via peak_IOChannel_NoiseFilter_Duration_GetRange. ioChannel is an invalid channel. hCam is an invalid camera handle. | peak_status peak_IOChannel_NoiseFilter_Enable | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel, | ||
| peak_bool | enabled | ||
| ) |
Enable/Disable the io channel noise filter property.
Sets the io channel noise filter property to enabled or disabled.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
| [in] | enabled | The desired enabled status. PEAK_TRUE for enabled, PEAK_FALSE for disabled. |
ioChannel is an invalid channel. hCam is an invalid camera handle. | peak_access_status peak_IOChannel_NoiseFilter_GetAccessStatus | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel | ||
| ) |
Query the io channel noise filter property access status.
Provides the current access status for the noise filter property for the specified io channel.
This function implements the Access Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |
If the function indicates an error by returning PEAK_ACCESS_INVALID, these are the possible errors:
ioChannel is an invalid channel. hCam is an invalid camera handle. | peak_bool peak_IOChannel_NoiseFilter_IsEnabled | ( | peak_camera_handle | hCam, |
| peak_io_channel | ioChannel | ||
| ) |
Get the enabled status of the io channel noise filter property.
Queries whether the io channel noise filter property is currently enabled or disabled.
This function implements the Enabled Status Query principle.
| [in] | hCam | The camera handle. |
| [in] | ioChannel | The io channel. |