Vishay Micro-Measurements System 7000 Programmer’s Reference Manual
Page 97 of 142
6.5.6.12
RetrieveFile Method
Syntax:
HRESULT _stdcall RetrieveFile(in long CardNo, in BSTR SourceName, in BSTR DestPath, in
VMM7000DataTransferStatus * Callback, out retval long * result );
Description:
Retrieves a file from the selected card and copies it to the selected file.
Arguments:
CardNo The card number (1-16). Use 0 to retrieve the file from the control module.
SourceName The name of the source file (in 8.3 format)
DestPath The fully qualified path/filename to copy the file.
Callback A reference (pointer) to the IVMM7000DataTransferStatus Interface (object)
Returns:
0 if Successful, otherwise an Error Code
Notes:
The IVMM7000DataTransferStatus interface provides critical information about the download.
6.5.6.13 RetrieveLastDataFile Method
Syntax:
HRESULT _stdcall RetrieveLastDataFile(in long CardNo, in BSTR DestPath, in
VMM7000DataTransferStatus * Callback, out retval long * result );
Description:
Retrieves the last created data file from the selected card and copies it to the selected file.
Arguments:
CardNo The card number (1-16).
DestPath The fully qualified path/filename to copy the file.
Callback A reference (pointer) to the IVMM7000DataTransferStatus Interface (object)
Returns:
0 if Successful, otherwise an Error Code
Notes:
The IVMM7000DataTransferStatus interface provides critical information about the download.