User`s guide

FUNCTIONS
SDK SECTION 11
Page 188
SaveAsFITS
unsigned int WINAPI SaveAsFITS (char* szFileTitle, int typ)
Description
This function saves the last acquisition in the FITS (Flexible Image Transport System)
Data Format (*.fits) endorsed by NASA.
Parameters
char* szFileTitle: the filename to save too.
int typ:
Valid values: 0 Unsigned 16
1 Unsigned 32
2 Signed 16
3 Signed 32
4 Float
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_ERROR_ACK
DRV_P1INVALID
DRV_P2INVALID
DRV_ERROR_PAGELOCK
Data successfully saved.
System not initialized.
Acquisition in progress.
Unable to communicate with card.
Path invalid.
Invalid mode
File too large to be generated in memory.
See also
SaveAsSif SaveAsEDF SaveAsRaw SaveAsSPC SaveAsTiff SaveAsBmp
SaveAsRaw
unsigned int WINAPI SaveAsRaw(char* szFileTitle, int typ)
Description
This function saves the last acquisition as a raw data file.
Parameters
char* szFileTitle: the filename to save too.
int typ:
Valid values: 1 Signed 16
2 Signed 32
3 Float
Return
unsigned int
DRV_SUCCESS
DRV_NOT_INITIALIZED
DRV_ACQUIRING
DRV_ERROR_ACK
DRV_P1INVALID
DRV_P2INVALID
DRV_ERROR_PAGELOCK
Data successfully saved.
System not initialized.
Acquisition in progress.
Unable to communicate with card.
Path invalid.
Invalid mode
File too large to be generated in memory
See also
SaveAsSif SaveAsEDF SaveAsFITS SaveAsSPC SaveAsTiff SaveAsBmp