Back to FabImage Library website
You are here: Start » Function Reference » Camera Support » XSightSmartCamera » XSightSmartCamera_SetPWMLumination
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Sets PWM light.
Syntax
void fil::XSightSmartCamera_SetPWMLumination ( XSightSmartCamera_State& ioState, ftl::Optional<int> inDeviceIndex, int inValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | XSightSmartCamera_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceIndex | Optional<int> | 0 - ![]() |
NIL | Device identifying number |
![]() |
inValue | int | 0 - 127 | Current value adjustment range, unit: 1A/127 |
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 – Captures an image using X-Sight smart camera.
- XSightSmartCamera_StartAcquisition – Starts image acquisition.