Vishay Micro-Measurements System 7000 Programmer’s Reference Manual
Page 91 of 142
6.5.6.2 GetFreeSpace Method
Syntax:
HRESULT _stdcall GetFreeSpace(in long CardNo, out retval long * result );
Description:
Returns the free space remaining on the CompactFlash of the selected card.
Arguments:
CardNo The card number (1-16) Specifying a value of 0 returns the free space on the
control module.
Returns:
The amount of free space, in bytes.
Notes:
This method does not return a Success/Error status. Use the LastErrorCode property to check if
an error occurred during the method.
6.5.6.3 GetCardStatusMethod
Syntax:
HRESULT _stdcall GetCardStatus(in long CardNo, out retval BSTR * result );
Description:
Returns the card status for the selected card
Arguments:
CardNo The card number (1-16)
Returns:
A string representing the current card status, delimited by carriage returns.
Card State[CR]
Last error code[CR] (0 = no error)
Low disk space flag[CR] (1 = low disk space)
Limit latched flag[CR] (1 = limit latched)
Limit asserted flag[CR] (1 = limit asserted)
Masked offscale+ status[CR] (corresponding bit is set if offscale)
Masked offscale- status[CR] (corresponding bit is set if offscale)
Calibration status of current range[CR] (1 = out of range)