© 2013 Thorlabs GmbH440
DCx Cameras
4.5.42 is_SetIO
Syntax
INT is_SetIO (HIDS hCam, INT nIO)
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 ).
is_SetIO() sets the additional digital outputs (GPIOs) of the DCx Camera or returns their current states. Using
is_SetIOMask() , you can define each GPIO as a digital input or output.
Attention
To be able to set the Status of a GPIO you must first configure the GPIO as output using is_SetIOMask() . If
only one GPIO is configured as output the command is_SetIO() has no effect on the other GPIO.
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 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
Sets the first output to 1, the second one to 0.
Sets the first output to 0, the second one to 1.
Reads the states of the GPIOs. If a GPIO is configured
as input this reads the signal applied to the GPIO.
Return values
Function executed successfully
Related functions
is_SetIOMask()
is_GetImageInfo()
is_SetFlashStrobe()
is_SetExternalTrigger()
280
379
441
441
487
431
441
244
431
327