You are here: Start » Function Reference » Camera Support » XSightSmartCamera » XSightSmartCamera_GrabImage_WithTimeout
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Captures with timeout an image using X-Sight smart camera.
Syntax
bool fil::XSightSmartCamera_GrabImage_WithTimeout ( XSightSmartCamera_State& ioState, ftl::Optional<int> inDeviceIndex, int inInputQueueSize, const ftl::Optional<int> inTimeout, ftl::Optional<const fil::XSightSmartCameraImageFormat&> inImageFormat, ftl::Optional<int> inExposureTime, ftl::Optional<int> inFrameRate, ftl::Optional<bool> inGainAuto, ftl::Optional<const ftl::Array<int>&> inGain, ftl::Optional<int> inBlackLevel, ftl::Optional<bool> inWhiteBalanceAuto, ftl::Optional<int> inContrast, ftl::Optional<int> inGamma, ftl::Optional<int> inLumination, ftl::Optional<int> inSaturation, ftl::Optional<int> inHUE, ftl::Optional<int> inColorCorrection, ftl::Optional<int> inSharpness, ftl::Optional<bool> inTriggerMode, ftl::Optional<const fil::XSightSmartCameraTriggerConfiguration&> inTriggerConfiguration, ftl::Conditional<fil::Image>& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | XSightSmartCamera_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceIndex | Optional<int> | NIL | Device identifying number | |
![]() |
inInputQueueSize | int | 1 - ![]() |
5 | Capacity of output frames queue |
![]() |
inTimeout | const Optional<int> | 1 - ![]() |
100 | Frame timeout in milliseconds |
![]() |
inImageFormat | Optional<const XSightSmartCameraImageFormat&> | NIL | ||
![]() |
inExposureTime | Optional<int> | 1 - ![]() |
NIL | Exposure time in milliseconds |
![]() |
inFrameRate | Optional<int> | 1 - ![]() |
NIL | |
![]() |
inGainAuto | Optional<bool> | NIL | ||
![]() |
inGain | Optional<const Array<int>&> | NIL | ||
![]() |
inBlackLevel | Optional<int> | 1 - ![]() |
NIL | |
![]() |
inWhiteBalanceAuto | Optional<bool> | NIL | ||
![]() |
inContrast | Optional<int> | 1 - 128 | NIL | |
![]() |
inGamma | Optional<int> | 0 - ![]() |
NIL | |
![]() |
inLumination | Optional<int> | 1 - 128 | NIL | |
![]() |
inSaturation | Optional<int> | 1 - ![]() |
NIL | |
![]() |
inHUE | Optional<int> | 1 - ![]() |
NIL | |
![]() |
inColorCorrection | Optional<int> | 1 - ![]() |
NIL | |
![]() |
inSharpness | Optional<int> | 1 - ![]() |
NIL | |
![]() |
inTriggerMode | Optional<bool> | NIL | ||
![]() |
inTriggerConfiguration | Optional<const XSightSmartCameraTriggerConfiguration&> | NIL | ||
![]() |
outImage | Conditional<Image>& | Captured image |
Remarks
Camera driver software
inDeviceIndex can be used to pick one of multiple devices connected to the computer. inDeviceIndex can be set to:
- Device Index - X-Sight smart camera identifying internal index.
Camera device driver software
This filter is intended to cooperate with a device using its vendor SDK. To be able to connect to a device, it is required to install X-Sight smart camera SDK.
Add DLL path to system environment variable is required.
Recommended Runtime version for FabImage Studio usage is 1.0.
All the other parameters exposed by camera filters are optional, setting them to 'Auto' leaves related parameter unchanged in camera (device default or user set configuration).
See Also
- XSightSmartCamera_GrabImage_WithTimeout – Captures with timeout an image using X-Sight smart camera.
- XSightSmartCamera_StartAcquisition – Starts image acquisition.