© 2013 Thorlabs GmbH
4 Programming (SDK)
283
Contents of the IO_FLASH_PARAMS structure
Flash duration (in µ s)
If 0 is passed, the flash output will be active until the end of
the exposure time. For sensors with Global Start Shutter this
is the time until the end of exposure of the first sensor row.
Contents of the IO_PWM_PARAMS structure
Frequency of the pulse-width modulation (PWM)
1.0…10 000 Hz
Duty cycle of the pulse-width modulation
0.0…1.0 (1.0 corresponds to 100 %)
Contents of the IO_GPIO_CONFIGURATION structure
Sets the GPIO whose configuration is to be read or set
(IO_GPIO_1, IO_GPIO_2). So this value must be initialized
before the GPIO configuration is read or set.
When reading the configuration: ORed bitmask of the
supported GPIO modes (IS_GPIO_INPUT |
IS_GPIO_OUTPUT…).
When reading the configuration: returns the current set
configuration
When setting the configuration: sets the configuration
When reading the configuration: returns the current state of
the GPIO (0 = Low, 1 = High).
When setting the configuration: sets the state of the GPIO
(0 = Low, 1 = High).
Return values
IS_CANT_COMMUNICATE_WITH_DRIVER
Communication with the driver failed because no driver has
been loaded.
An attempt to initialize or select the camera failed (no
camera connected or initialization error).
One of the submitted parameters is outside the valid range
or is not supported for this sensor or is not available in this
mode.
An IO request from the uc480 driver failed. Possibly the
versions of the uc480_api.dll (API) and the driver file
(uc480_usb.sys) do not match.
The camera model used here does not support this
function or setting.
Function executed successfully
The function cannot be used because the camera is
waiting for a trigger signal.
The function is not possible as trigger is disabled.