JeeWiz Home

 
  
 
Contents  >   7.  GigaSystemBuilder Profile Reference
 


7.22 Pulse Object

Used on
processingUnit
DescriptionThe pulse event is an event that is triggered by time rather than events in a space.

The most common use of the pulse is to specify a recurring event, by setting the 'period' field, possibly also setting an initial delay.

Another usage is likely to be an event to start the main thread of the application, by specifying an initialDelay without a period. There is actually a special name for this - a clientStart, which is equivalent to a pulse with no period (only fires once) and no delay.

If the 'period' is specified, then the pulse is constantly recurring after the specified period time; if not, it is a one-shot.
Inherited
properties
template (base property)

text (base property)

jwpattern (base property)

 7.22.1  Property 'description'
 7.22.2  Property 'initialDelay'
 7.22.3  Property 'name'
 7.22.4  Property 'period'

7.22.1  Property 'description'
TypeString

7.22.2  Property 'initialDelay'
DescriptionIf this value is set, it must be >= 0 and indicates that the push event is to start after this amount of time in milliseconds.

The default is 0 and indicates that this pulse will be fired without delay.
Typelong
Default0

7.22.3  Property 'name'
DescriptionGives the name of the pulse event. This will be used to identify the method in the PU's actions class.

The name is required and must be unique across all actions (i.e. including pulses and event actions) within a given PU.
TypeString
Requiredtrue

7.22.4  Property 'period'
DescriptionIf this value is specified, it should be > 0 and indicates that the event is to be repeated, this amount of milliseconds apart; this is a periodic pulse.

The default is -1. For any period <= 0, the pulse does not reoccur. It is therefore a one-shot (kickstart) that can be used to start a thread once for the PU.
Typelong
Default-1

Copyright (c) 2001-2009 New Technology/enterprise Ltd.