© 2013 Thorlabs GmbH
4 Programming (SDK)
281
is_SetLED()
See also: Obsolete functions
Input parameters
IS_IO_CMD_GPIOS_GET_SUPPORTED
Returns the supported GPIO ports (Example 1 )
IO_FLASH_GPIO_PORT_MASK
(IO_FLASH_MODE_GPIO_1 |
IO_FLASH_MODE_GPIO_2)
IS_IO_CMD_GPIOS_GET_SUPPORTED_INPUTS
Returns the supported GPIO inputs (Example 1 )
IS_IO_CMD_GPIOS_GET_SUPPORTED_OUTPUTS
Returns the supported GPIO outputs (Example 1 )
IS_IO_CMD_GPIOS_GET_DIRECTION
Returns the input/output mask of the GPIOs (Example 2
)
IS_IO_CMD_GPIOS_SET_DIRECTION
Set the GPIO on input/output (Example 2 )
IO_FLASH_MODE_GPIO_1: Sets GPIO 1 as outout.
IO_FLASH_MODE_GPIO_2: Sets GPIO 2 as output.
IS_IO_CMD_GPIOS_GET_STATE
Returns the state of the GPIO (High, Low) (Example 2
)
IS_IO_CMD_GPIOS_SET_STATE
Sets the state of the GPIOs if they are defined as output
(High, Low) (Example 2 )
IS_IO_CMD_GPIOS_GET_CONFIGURATION
Returns the configuration of a GPIO port (Example 10
)
IS_IO_CMD_GPIOS_SET_CONFIGURATION
Sets the configuration of a GPIO port (Example 11 ,
Example 12 )
IS_IO_CMD_FLASH_GET_SUPPORTED_GPIOS
Returns the GPIOs which can be used for flash output
(Example 6 )
Returns the current flash mode, see below (Example 7
)
Sets the flash mode (Example 7 )
IO_FLASH_MODE_OFF: Disables the digital output.
IO_FLASH_MODE_TRIGGER_LO_ACTIVE: Enables
the flash strobe in trigger mode. The digital output is set
to low level for the flash duration.
IO_FLASH_MODE_TRIGGER_HI_ACTIVE: Enables
the flash strobe in trigger mode. The digital output is set
to high level for the flash duration.
IO_FLASH_MODE_CONSTANT_HIGH: Statically sets
the digital output to high level (HIGH).
IO_FLASH_MODE_CONSTANT_LOW: Statically sets the
digital output to low level (LOW).
IO_FLASH_MODE_FREERUN_LO_ACTIVE: Enables
the flash strobe in freerun mode. The digital output is
set to low level for the flash duration.
IO_FLASH_MODE_FREERUN_HI_ACTIVE: Enables
the flash strobe in freerun mode. The digital output is
set to high level for the flash duration.
IS_IO_CMD_FLASH_GET_GLOBAL_PARAMS
Returns the parameters for the global exposure window
(Example 4 )
IS_IO_CMD_FLASH_APPLY_GLOBAL_PARAMS
Returns the parameters for the global exposure window
and sets them as flash parameters (Examplel 4 )
IS_IO_CMD_FLASH_GET_PARAMS
Returns the current values for flash delay and duration
379
284
284
284
284
284
284
284
287
287
287
285
285
285
284
284