© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
287
pParam refers is specified in the cbSizeOfParam input parameter.
Note
The following functions are obsolete by the is_IO() function:
is_GetGlobalFlashDelays()
is_SetFlashDelay()
is_SetFlashStrobe()
is_SetIO()
is_SetIOMask()
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