© 2013 Thorlabs GmbH
4 Programming (SDK)
441
4.5.43 is_SetIOMask
Syntax
INT is_SetIOMask (HIDS hCam, INT nMask)
Description
Attention
This function is obsolete and should not be used anymore. We recommend to use the is_IO() function
instead (see also Obsolete functions ).
Using is_SetIOMask(), you can configure the general purpose I/Os (GPIO) of some DCx Camera models as an
input or output. The is_SetIO() function sets or returns the current GPIO states.
The GPIOs are not provided with optocouplers and use TTL voltages. For information on GPIO wiring, please refer
to the Electrical Specifications chapter.
Note
To use hardware triggering with the DCx Cameras, we suggest that you use the trigger input provided for this
purpose (see is_SetExternalTrigger() ). To connect and control a flash (strobe) unit for the DCx
Cameras, it is recommended to use the flash output provided (see is_SetFlashStrobe() ).Input
parameters
Bit mask for inputs/outputs.
Use both GPIOs as inputs.
Use the first GPIO as output, the second one as input.
Use the first GPIO as input, the second one as output.
Use both GPIOs as outputs.
Returns the current bit mask.
Returns the IOs to be used as inputs.
Returns the IOs to be used as outputs.
Return values
Function executed successfully
When used with
IS_GET_INPUT_MASK
IS_GET_OUTPUT_MASK
Bit masks of the IOs to be used.
Related functions
is_SetIO()
is_GetImageInfo()
is_SetFlashStrobe()
is_SetExternalTrigger()
280
379
440
487
327
431
440
244
431
327