The Signal Generator allows you to specify a standard waveform as the data source for a DataBlock. The generated Signal can be used as the specified stimulus or expected response values.

Note: Reactive TestCases provide another, more powerful, method of using C# code to define Signal patterns.

To use the Signal Generator:

1.Create a DataBlock that spans the time domain where you want the waveform to exist. If you want the waveform to cover the full extent of the Signal, ensure that the Signal has only one Data Block. By default, a Signal has one DataBlock that spans the Signal from beginning to end.

2.Right-click in the Plot Area of the signal, somewhere between the beginning and end of the DataBlock, then select DataBlock‑>Properties...



3.Select the Data Source tab, then select the Signal Generator radio button.

4.Choose the waveform that you want to use.

5.Provide the parameters for that waveform.

Note: Once you have generated a signal, you can access the DataBlock Properties by double-clicking on the signal.

You can define a Signal Generator with a C# Snippet, or use one of the pre-defined generators:

hmtoggle_plus1C# Snippet Signal Generator
hmtoggle_plus1Pre-Defined Generators

Related Topics:

Signal Generator Transforms

Manipulating DataBlocks

Editing Test Patterns

Reactive TestCases