Vishay Micro-Measurements
System 7000 Programmer’s Reference Manual
Page 92 of 142
Notes:
This method does not return a Success/Error status. Use the LastErrorCode property to check if
an error occurred during the method.
Note that these values are ASCII text values, not byte values. With the exception of card state,
they should be converted to numeric format.
The card state is one of the following strings:
Idle
Uploading
Armed
Scanning
Calibrating
Downloading
Updating
Maintenance mode
Low disk space is true when there is less than 10 megabytes remaining on the compact flash.
The masked offscale (+ or -) status is a bit masks. If any channel is offscale then the
corresponding bit is set in the mask. For example, if the mask is 0x03, then channels 1 and 2 are
offscale. The calibration status is also a bit mask. If any channel’s calibration is out of range,
then the corresponding bit is set in the mask.
6.5.6.4
DetectCards Method
Syntax:
HRESULT _stdcall DetectCards(out retval long * result );
Description:
Detects the cards installed in the system
Arguments:
None
Returns:
A mask value representing which cards are installed in the system. Bit 0 corresponds to Card 1.
If the bit is set, the card is present. A value of 0x0001 indicates only Card 1 is present; a value of
0xFFFF indicates that sixteen cards are present.
Notes:
This method does not return a Success/Error status. Use the LastErrorCode property to check if
an error occurred during the method.