Pulse - Crestron SIMPL+ Reference Manual

Language reference guide
Hide thumbs Also See for SIMPL+:
Table of Contents

Advertisement

Software
®
236
SIMPL+

Pulse

Name:
Pulse
Syntax:
Pulse(TIME, DIGITAL_OUTPUT OUT);
Description:
Pulses the output high then low for the specified length of time (in hundredths of a
second). When the pulse starts, a task switch is performed so other logic can be
processed. If the output is already high, the SIMPL Windows logic processor will not
see a change and no further actions will be triggered.
Parameters:
TIME is the number of hundredths of a second to pulse. For example, 500 specifies
a 5-second delay.
OUT is a DIGITAL_OUTPUT that is to be pulsed.
Return Value:
None.
NOTE: (X-Gen only)Elements of a DIGITAL_OUTPUT array cannot be used within
the Pulse function.
Example:
// A pulse of 525 hundredths of a second or 5.25 seconds
#define_constant MY_PULSE_TIME 525
DIGITAL_OUTPUT OutputToPulse;
PULSE(MY_PULSE_TIME, OutputToPulse);
This will execute immediately and output a pulse of 5.25 seconds to the digital output
OutputToPulse.
Version:
SIMPL+ Version 1.00
Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®

Advertisement

Table of Contents
loading

Table of Contents