© 2013 Thorlabs GmbH
4 Programming (SDK)
371
4.4.14 isavi_OpenAVI
Syntax
INT isavi_OpenAVI (INT nAviID, const char* strFileName)
Description
isavi_OpenAVI() opens a new or existing AVI file.
Note
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
Instance ID set by the isavi_InitAVI() function.
Pointer to the name to be assigned to the AVI file. If NULL is
passed, the "Open File" dialog is displayed.
Return values
Function executed successfully.
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.
The file has no valid AVI format.
No memory could be allocated for the AVI file.
No AVI stream could be created.
Related functions
isavi_GetAVIFileName()
isavi_CloseAVI()
isavi_InitAVI()
isavi_ExitAVI()
371
372 365
369
362
364
360
369
362