Home > C: Programming > AVI Function Descriptions > History back  Previous chapter  Next chapter  Print  

isavi_OpenAVI

uEye Camera Manual Version 3.80

isavi_OpenAVI

Windows_Logo

Linux_Logo

USB 2.0

GigE

-

Syntax

INT isavi_OpenAVI (INT nAviID, const char* strFileName)

Description

isavi_OpenAVI() opens a new or existing AVI file.

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

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

 

No valid AVI file was selected in the "Open File..." dialog.

IS_AVI_ERR_NEW_FAILED

No memory could be allocated for the AVI file.

IS_AVI_ERR_AVIFILEOPEN

 

The AVI file could not be opened. Please check if the file is corrupted or was opened in another application.

IS_AVI_ERR_CREATESTREAM

No AVI stream could be created.

Related Functions

isavi_CloseAVI()
isavi_InitAVI()
isavi_ExitAVI()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com