Cyclone Automated Control Package
30
4.4.5 get_last_error_code
function get_last_error_code(cyclonepromaxhandle : longword) :
word;
unsigned short get_last_error_code(unsigned long
cyclonepromaxhandle);
UInt16 get_last_error_code(UInt32 cyclonepromaxhandle);
Returns the last error code recorded by a Cyclone unit. Refer to section 5
for all possible error codes.
@param
cyclonepromaxhandle
The handle of the Cyclone unit from which
to request the error code.
@returnvalue
The last error code of the specified
Cyclone unit. A return value of 0 indicates
that no error occurred during the
programming process.
4.4.6 get_last_error_addr
function get_last_error_addr(cyclonepromaxhandle : longword) :
longword;
unsigned long get_last_error_addr(unsigned long
cyclonepromaxhandle);
UInt32 get_last_error_address(UInt32 cyclonepromaxhandle);
If the “get_last_error_code” function returns a non-zero value (indicating
an error has occurred), this routine can be used to query the address
where the error occurred.
@param
cyclonepromaxhandle
The handle of the Cyclone unit from which
to request the error address.
@returnvalue
The memory address where the last
programming error occurred.