Chooser and Selector
March 21, 2024Less than 1 minute
GUI Chooser
The QT GUI Chooser adds a dropdown menu for selecting variable options.
System Diagram:
Parameters:
- Signal Source: freq
- GUI Chooser: ID=freq, Label="Frequency", Number of Options=4, Default Option=1000, Options: 800 (Label=800), 900 (Label=900), 1000 (Label=1000), 1100 (Label=1100), Widget=Radio Buttons, Orientation=Horizontal
Result:
Selector
Selector connects the input index port to the output index port.
System Diagram:
Parameters:
- Signal Source 1: Waveform=Cosine
- Signal Source 2: Waveform=Square
- GUI Chooser: ID=sigtype, Label="Signal Type", Number of Options=2, Default Option=0, Options: 0 (Label=Sinusoidal), 1(Label=Square), Widget=Radio Buttons, Orientation=Horizontal
- Selector: ID=sigtype, Label="Signal Type", Number of Options=2, Default Option=0, Options: 0 (Label=Sinusoidal), 1
Simulation Result:
Exercise 2