Saltar a contenido

Trigger

The trigger source supplies a predefined sequence of pulses. The height of the pulses corresponds to logic 1 level and their width to the current integration step size. This source is useful for triggering time dependent events in a controlled process.

The pulse sequence is defined in the simulation properties of the source. By setting the option Iterative, the sequence is continuously repeated. If the first pulse is at time 0, the sequence starts its repetitions at pulse no. 2, because the last pulse of the sequence has priority.

The time sequence can be stored into a text file and loaded at any time. The maximum number of pulses is 10,000.

The data format in the text file is the same as for the file source and user source, except that it needs only one data value per line.

Format description for the text file

  • One single data value per line. Valid decimal separators are comma and period. A data line may be finished by a comment preceded by an asterisk (*)

  • Pure comment lines which start with a numeral must place an asterisk (*) in front. Preceding spaces are allowed.

  • The file must be an ANSI- or ASCII text file. Default file name extension is .txt, but any other valid Windows file name extension is allowed.

The decimal separator depends on the associated setting in the program options: comma or period.

Sample text file

Trigger source sample file
Created by Bruno Buesser, Feb. 29, 2003
0 *First pulse at simulation start. Excluded from repetitions.
3.67 *Second pulse. Time values are in ascending order.
(>Blank lines are skipped)
5
6,2 *Decimal separator may also be a comma
8 *Last pulse
* 5 values >> Asterisk * is used as comment starts with a numeral
By setting the option Iterative, the sequence from 3.67 to 8 is successively repeated.
End of sample file