plugins/fmcomms2.c: Write Hz instead of MHz to the up/dn converter

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/fmcomms2.: UP/DN Converter Fix flip in function arguments

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
osc: Refactor rx_update_labels() function and usage
- Allow plugins to provide the sampling freqeuncy and rx lo frequency to the rx_update_labels() function.
- Passing 0 value to this function will let the function get these frequency on its own.

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/fmcomms2.c: Update RX labels after changing FREQCVT1 frequency

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
added LTE waveforms generated by MW LTE Toolbox

LTE5/10/20. Tested by ADI IIO Scope.
plugins/dac_data_manager.c: Fix stack corruption in get_tx_channel_state()
Corruption happens due to the size difference between bool and gboolean.
sizeof(bool) = 1 and sizeof(gboolean) = 4
gtk_tree_model_get(model, &iter, TX_CHANNEL_ACTIVE, &state, -1) expects that the TX_CHANNE_ACTIVE column to be of type gboolean.

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
FMComms5 plugin: Add block diagram and photo of the board
- a new fmcomms5 block diagram is still needed. Right now is uses a fmcomms2 diagram.

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/fmcomms2.c: Update plugin widgets after loading a profile

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/fmcomms2/3/4/5: Restore FIR filter before restoring sample rate
Specific sampling frequency values cannot be set until the proper FIR filter is enabled.
GSM.ini profile stores a 0.541666 MHz sample rate that cannot be set before configuring the FIR filter.

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
OSC: Add early bits of a trigger feature

The scope currently only supports triggering on a rising edge of
voltage0.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
plugins/dac_data_manager.c: Ignore multiple new lines at the end of a waveform file

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/fmcomms5.c: Update plugin widgets after loading a profile

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/fmcomms6.c: Update plugin widgets after loading a profile

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/daq2.c: Update widgets after loading a profile

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
OSC: Rework handling of right-click in the device/channel tree

The right-click menu will now only appear if performed on a device or
channel. The underlying channel or device will be highlighted, which
forces the "color settings" sub-menu to consider the channel that was
right-clicked instead of the last one selected.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
plugins/fmcomms2_adv.c: Update widgets after loading a profile

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
Use standard Cancel/Apply buttons for the Impulse Generator dialog

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
plugins/dac_data_manger.c: Skip blank lines when parsing a waveform file

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
OSC: Add a dialog to specify trigger settings

This dialog can be opened by doing a right-click on a device name.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Merge branch 'trigger'