Please enable JavaScript to view this site.

IDS Software Suite 4.96.1

Windows_Logo
Linux_Logo

USB 2.0

USB 3.x

GigE

-

Syntax

INT isavi_OpenAVI (INT nAviID, const char* strFileName)

Description

isavi_OpenAVI() opens a new or existing AVI file.

hint_info

The functions isavi_OpenAVI() and isavi_GetAVIFileName() do not support UNICODE strings. For this purpose you use the functions isavi_OpenAVIW() and isavi_GetAVIFileNameW().

Input parameters

nAviID

Instance ID set by the isavi_InitAVI() function.

pFileName

Pointer to the name to be assigned to the AVI file. If NULL is passed, the "Open File" dialog is displayed.

Return values

IS_AVI_NO_ERR

No error, function executed successfully.

IS_AVI_ERR_INVALID_ID

The indicated AVI instance could not be found. Either the AVI ID is invalid or the instance has already been deleted using isavi_ExitAVI().

IS_AVI_ERR_CAPTURE_RUNNING

Another capturing operation is in progress or an AVI file is still open.

IS_AVI_ERR_INVALID_FILE

The file has no valid AVI format.

IS_AVI_ERR_NEW_FAILED

No memory could be allocated for the AVI file.

IS_AVI_ERR_CREATESTREAM

No AVI stream could be created.

Related functions

isavi_GetAVIFileName()

isavi_CloseAVI()

isavi_InitAVI()

isavi_ExitAVI()

© 2022 IDS Imaging Development Systems GmbH