USB 2.0 USB 3.x GigE |
- |
Syntax
INT israw_InitFile(UINT* punFileID, INT nAccessMode)
Description
israw_InitFile() initializes an instance of the uEye RAW interface. Multiple instances can be created simultaneously.
Input parameters
punFileID |
Pointer in which the instance ID is returned. This ID is needed for calling other functions. |
nAccessMode |
File access mode: •Read: IS_FILE_ACCESS_MODE_READ •Write: IS_FILE_ACCESS_MODE_WRITE |
Return values
IS_AVI_NO_ERR |
No error, function executed successfully. |
IS_AVI_ERR_EXCEPTION |
An error has occurred. |
IS_AVI_ERR_GENERIC |
Generic error |
IS_AVI_ERR_PARAMETER |
One of the submitted parameters is outside the valid range. |
IS_AVI_ERR_NEW_FAILED |
The maximum number of instances have been reached. |
Related functions