WriteToFile¶
-
void IAcqSink.WriteToFile(AcqFileFormat format, string filename)¶
Writes all samples to a file of the specified format.
- Parameters
format – One of the AcqFileFormat values.
filename – Name of file in which samples are stored.
- Throws
NullArgumentException– Null reference was passed.InvalidArgumentException– Unknown file format specified.InvalidOperationException– Complete callback not yet received.AccessDeniedException– Unable to open file for writing.WriteErrorException– Error while writing file.
- Remarks
This method may only be called after the complete callback is received.