Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 2.0

USB 3.x

USB 2.0

USB 3.x

Syntax

INT is_IO(HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)

Description

You can toggle the color of the LED on the back of the USB 2 uEye SE camera housing. For the USB 3.1 and USB 3 uEye cameras, you can set the LED flashing.

The nCommand input parameter is used to select the function mode. The pParam input parameter depends on the selected function mode. If you select functions for setting or returning a value, pParam contains a pointer to a variable of the UINT type. The size of the memory area to which pParam refers is specified in the cbSizeOfParam input parameter.

Input parameters

hCam

Camera handle

pParam

Pointer to a function parameter, whose function depends on nCommand.

cbSizeOfParam

Size (in bytes) of the memory area to which pParam refers.

Example

INT nRet = IS_SUCCESS;
UINT nCurrentState = 0;
 
// Get the current state of the LED
nRet = is_IO(m_hCam, IS_IO_CMD_LED_GET_STATE, (void*)&nCurrentState, sizeof(nCurrentState));
 
// Set LED to state 1 (red)
nCurrentState = IO_LED_STATE_1;
nRet = is_IO(m_hCam, IS_IO_CMD_LED_SET_STATE, (void*)&nCurrentState, sizeof(nCurrentState));
 
// Toggle LED state to green
nRet = is_IO(m_hCam, IS_IO_CMD_LED_TOGGLE_STATE, NULL, 0);

Sample program

uEye IO demo

© 2022 IDS Imaging Development Systems GmbH