GenICam_SDK.docx
13
csiGetDeviceInfo
A function to get information about the found devices in the system
Syntax
csiErr csiGetDeviceInfo(uint32_t deviceIndex, csiDeviceInfo* deviceInfoOut)
Parameters:
In: deviceIndex
Index of the found device from the
function
Out:
deviceInfoOut
Detailed information of the found device. The information will be provided in this structure.
The structure must be allocated on the caller side.
Return value:
Returns csiSuccess or an error defined in the csiErr-Enum.
Comment:
This function provides in more detailed information about the found devices such as device identifier, name, model, vendor,
serial number, interface description, interface-ID, username, version, consistency of camera package, TL-Producer-information,
access status
csiGetNumberOfTLProducers
Returns the number of available transport layers in the system
Syntax
csiErr csiGetNumberOfTLProducers(int32_t *numTLProducers);
Parameters:
In: Nothing
Out:
numTLProducers
The number of transport layers detected in the environment.
Return value:
Returns csiSuccess or an error defined in the csiErr-Enum.
Comment:
The SDK uses the environment variable GENICAM_GENTL64_PATH to search for available transport layers. This function
allows to request the number of transport layers available through that environment variable.
csiGetTLProducerInfoByIndex
Returns additional information about a transport layer.
Syntax
CSI_DLL_EXPORT csiErr csiGetTLProducerInfoByIndex(csiTLProducerInfos *tlProducerInfos, int32_t indexTL);
Parameters:
In: intexTL:
The index of the transport layer in the list.
Out:
tlProdcrInfos:
The structure holding additional information about the transport layer.
Return value:
Returns csiSuccess or an error defined in the csiErr-Enum.
Comment:
The index must be within 0 and the number of transport layer returned by csiGetNumberOfTLProducers.
csiGetTLProducerInfoByName
Returns additional information about a transport layer.
Syntax
CSI_DLL_EXPORT csiErr csiGetTLProducerInfoByName(csiTLProducerInfos *tlProdecrrInfos, const char* producerName);
Parameters:
In:
producerName
:
The name of the producer (usually the file path to the producer *.cti file)
Out:
tlProdcrInfos:
The structure holding additional information about the transport layer.
Return value:
Returns csiSuccess or an error defined in the csiErr-Enum.
Comment:
Similar to csiGetTLProducerInfoByIndex but using the name (file path) of the producer.