EasyManua.ls Logo

Vishay 7000 - Getsystemstate Method; Getsyncstatus Method

Vishay 7000
142 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Vishay Micro-Measurements System 7000 Programmer’s Reference Manual
Page 68 of 142
6.5.3.7 GetSystemState Method
Syntax:
HRESULT _stdcall GetSystemState(out retval long * result );
Description:
Returns the state of the System 7000.
Arguments:
None
Returns:
Bytes 0 (LSB) and 1: A bitmapped flag indicating the state of the system
0x0001 = Idle
0x0002 = Uploading
0x0004 = Armed
0x0008 = Scanning
0x0010 = Calibrating
0x0020 = Downloading
0x0040 = Updating
0x0080 = Maintenance mode
Byte 2: Set to 0x01 if an error is currently active in the system,
0x00 if no error is active.
Byte 3 (MSB): The last error code generated by the system. A value of 0x00
indicates no error
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.3.8 GetSyncStatus Method
Syntax:
HRESULT _stdcall GetSyncStatus(in long CurrentConfig, out retval long * result );
Description:
Returns the synchronization status for the scanner

Table of Contents