10 display operations – Rice Lake iRite IDE User Manual

Page 70

Advertising
background image

66

920i

Programming Reference

PulseRate

Sets R to the current pulse rate (in pulses per second) of the pulse input card in slot S.

Method Signature:
function PulseRate (S : Integer; VAR R : Integer) : SysCode;

Parameters:

[in]

S

Slot number

[out]

C

Current pulse rate

SysCode values returned:

SysInvalidCounter

The specified counter (

S

) is not a valid pulse input.

SysOK

The function completed successfully.

5.10 Display Operations

ClosePrompt

Closes a prompt opened by the PromptUser function.

Method Signature:
procedure ClosePrompt;

DisplayStatus

Displays the string msg in the front panel status message area. The length of string msg should not exceed 32
characters.

Method Signature:
procedure DisplayStatus (msg : String);

Parameters:

[in]

msg

Display text

GetEntry

Retrieves the user entry from a programmed prompt.

Method Signature:
function GetEntry : String;

PromptUser

Opens the alpha entry box and places the string msg in the user prompt area.

Method Signature:
function PromptUser (msg : String) : SysCode;

Parameters:

[in]

msg

Prompt text

SysCode values returned:

SysRequestFailed

The prompt could not be opened.

SysOK

The function completed successfully.

SelectScreen

Selects the configured screen, N, to show on the indicator display.

Method Signature:
function SelectScreen (N : Integer) : SysCode;

Parameters:

[in]

N

Screen number

SysCode values returned:

SysInvalidRequest

The value specified for

N

is less than 1 or greater than 10.

SysOK

The function completed successfully.

Advertising
This manual is related to the following products: