Start count – Remote Processing CAMBASIC User Manual

Page 154

Advertising
background image

Comm ands - 121

START COUNT

Tasking Statement

SYNTAX:

START COUNT n [, n 1] [, n m]

PURPOSE:

To activate a software counter task that was previously defined.

REMARK S:

Once on e or m ore cou nters hav e been defin ed by the C ONF IG CO UN T statem ent, the counter is
activated by the START CO UNT statement. Until that time no counts will be accumulated.

The range of n is 0 to 7, which is the counter number.

See the Multitasking Chapter for more information.

RELATED:

CLEAR COUNT, ON COUNT, CONFIG COUNT, STOP COUNT, RESUME COUNT

EXAMPLE:

10 CONFIG COUNT 0,1,0
20 START COUNT 0

ERROR:

< Data negative> – for n
< Data out of range> – if n > 7

Advertising