EasyManuals Logo

THORLABS DCC1645C User Manual

THORLABS DCC1645C
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #443 background imageLoading...
Page #443 background image
© 2013 Thorlabs GmbH
4 Programming (SDK)
441
4.5.43 is_SetIOMask
USB 2.0
USB 2.0
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
hCam
Camera handle
nMask
Bit mask for inputs/outputs.
0x00 (00)
Use both GPIOs as inputs.
0x01 (01)
Use the first GPIO as output, the second one as input.
0x02 (10)
Use the first GPIO as input, the second one as output.
0x03 (11)
Use both GPIOs as outputs.
IS_GET_IO_MASK
Returns the current bit mask.
IS_GET_INPUT_MASK
Returns the IOs to be used as inputs.
IS_GET_OUTPUT_MASK
Returns the IOs to be used as outputs.
Return values
IS_SUCCESS
Function executed successfully
IS_NO_SUCCESS
General error message
Wen used with
IS_GET_IO
Current setting
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

Table of Contents

Other manuals for THORLABS DCC1645C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCC1645C and is the answer not in the manual?

THORLABS DCC1645C Specifications

General IconGeneral
BrandTHORLABS
ModelDCC1645C
CategorySecurity Camera
LanguageEnglish

Related product manuals