Skip to content

Signal generator outputs

Control the output voltage, frequency, and waveform of a signal generator using Blockly code.

The blocks described on this page can be used together to control the signal generator on the Wireless AC/DC Module and the 550 Universal Interface.

Set output value

Use this block to set the output voltage of a signal generator. The default number block can be replaced with a block from the Math group. In this example, the voltage of the AC/DC Module is set to 1 volt.

Set output frequency

Use this block to set the frequency of a signal generator. The default number block can be replaced with a block from the Math group.

Set output waveform

Use this block to set the waveform of a signal generator. In this example, the waveform of the AC/DC Module is set to a square wave.

Turn output on or off

Use this block to turn a signal generator on (true) or off (false). The default true/false block can be replaced with a block from the Logic group.

Example: Multiple blocks used together

In this example, the Wireless AC/DC Module outputs a square wave with an amplitude of 2 V and a frequency of 1000 Hz.