Bruxton Logo

SIDXGetCameraCount

Syntax

C/C++

int SIDXGetCameraCount(void* sidx, int* count);

Visual Basic

Function SIDXGetCameraCount (ByVal sidx As Long, count As Long) As Long

IGOR Pro

SIDXGetCameraCount   sidx, count, status

ITT IDL

status = SIDXGetCameraCount(sidx, count)

Parameters

sidx
The open SIDX handle created by SIDXOpen.
count
A variable to receive the number of cameras connected to the system.

The return value is non-zero if the function failed, zero if it succeeded.

Discussion

Use the function to receive the total cameras available on the running system. The total camera count includes a Bruxton Demonstration camera which is a software-emulated camera and requires no hardware.