Vishay Micro-Measurements System 7000 Programmer’s Reference Manual
Page 101 of 142
6.6.1.3 TotalBytes Property (Read/Write)
Syntax:
Get: RESULT _stdcall TotalBytes(out retval BSTR * Value );
Set: HRESULT _stdcall TotalBytes (in BSTR Value );
Description:
Sets or returns the total number of bytes to be transferred. This value must be set before calling
the PercentComplete Property
Notes:
Setting the property is done internally by the ActiveX object. There is no need for the user to set
the property.
6.6.1.4 ErrorStatus Property (Read/Write)
Syntax:
Get: RESULT _stdcall ErrorStatus(out retval BSTR * Value );
Set: HRESULT _stdcall ErrorStatus (in BSTR Value );
Description:
Sets or returns the error status of the file transfer. A value of 0 indicates No Error.
Notes:
Set this property to 0 before calling the RetrieveFile, ListFiles, or RetrieveLastData methods. It
should be monitored during the file transfer process. If a non-zero value is read, an error has
occurred.
6.6.1.5 TransferComplete Property (Read/Write)
Syntax:
Get: RESULT _stdcall TransferComplete(out retval BSTR * Value );
Set: HRESULT _stdcall TransferComplete(in BSTR Value );
Description:
Sets or returns the transfer complete status of the file transfer. A value of 0 indicates the transfer
is active (not complete), a value of 1 indicates the transfer is complete.
Notes:
Set this property to 0 before calling the RetrieveFile, ListFiles, or RetrieveLastData methods.