6 a/d and calibration data, A/d and calibration data – Rice Lake iRite IDE User Manual

Page 45

Advertising
background image

920i

Programming Reference - API Reference

41

SysCode values returned:

SysInvalidScale

The scale specified by

S

does not exist

SysLFTViolation

The zero operation would violate configured legal-for-trade restrictions for the
specified scale. No zero is performed.

SysOutOfRange

The zero operation would exceed the configured zeroing limit. No zero is acquired.

SysDeviceError

The scale is reporting an error condition.

SysOK

The function completed successfully.

Example:
ZeroScale (Scale1);

5.1.6

A/D and Calibration Data

GetFilteredCount

Sets C to the current filtered A/D count for scale S.

Method Signature:
function GetFilteredCount (S : Integer; VAR C : Integer) : SysCode;

Parameters:

[in]

S

Scale number

[out]

C

Current filtered A/D count

SysCode values returned:

SysInvalidScale

The scale specified by

S

does not exist.

SysInvalidRequest

The scale specified by

S

is not an A/D-based scale.

SysDeviceError

The scale is reporting an error condition.

SysOK

The function completed successfully.

Example:
FilterCount : Integer;

GetFilteredCount (1; FilterCount);

GetLCCD

Sets V to the calibrated deadload count for scale S.

Method Signature:
function GetLCCD (S : Integer; VAR V : Integer) : SysCode;

Parameters:

[in]

S

Scale number

[out]

V

Deadload count

SysCode values returned:

SysInvalidScale

The scale specified by

S

does not exist.

SysInvalidRequest

The scale specified by

S

is not an A/D-based scale.

SysOK

The function completed successfully.

GetLCCW

Sets V to the calibrated span count for scale S.

Method Signature:
function GetLCCW (S : Integer; VAR V : Integer) : SysCode;

Parameters:

[in]

S

Scale number

[out]

V

Calibrated span count

SysCode values returned:

SysInvalidScale

The scale specified by

S

does not exist.

SysInvalidRequest

The scale specified by

S

is not an A/D-based scale.

SysOK

The function completed successfully.

Advertising
This manual is related to the following products: