pulseTrain

Block Category: Signal Producer

Inputs: You can add two input connectors to the pulseTrain block. The top input connector lets you specify an external time delay; the bottom one lets you specify an external time between pulses. These additional inputs override the existing parameters. If you add only one input connector, it corresponds to the external delay. Note that if you try to implement an external time delay that is a fraction of the simulation time step, the result is undefined.

Description: The pulseTrain block generates a sequence of unit amplitude pulses separated by zeros. You cannot control the duration of the pulse; you can only control the time between pulses.

Label: Indicates a user-defined block label that appears when View > Block Labels is activated.

Time Between Pulses: Specifies the time between pulses. This is useful for clocking delays and sampleholds. The default is 0.01 sec. You can also enter a value in hexadecimal notation or as a C expression.

Time Delay (sec): Specifies how long to delay before calculating the value of the output signal. The default is 0 sec. If you try to implement a time delay that is a fraction of the simulation time step, the result is undefined. You can also enter a value in hexadecimal notation or as a C expression.