../pvss.htm menu.gif basics.gif

setACount ()

Sets an alarm number in an alarm time variable.

Synopsis

int setACount (atime &AlertTime, int AlertNo);

Parameters

Parameter

Meaning

AlertTime

Time of the alarm

AlertNo

Number of the alarm

Return value

If successful 0, in the event of an error -1.

Errors

no/incorrect arguments

Description

Sets an alarm number in an alarm time variable.

IconExample

main()

    {

time t;

t=makeTime(1999,8,23,10,52,46);

setACount(t, 2);

...

DebugN(getACount(t)); // 2

    }

Relates to

Data point function

Availability

UI, CTRL, DP

See also

      getACount()

Top Of Page

 

V 3.11
Copyright ETM professional control GmbH 2013 All Rights Reserved