Usb/ethernet synthesized signal generators (50 pages)
Summary of Contents for Mini-Circuits ISC-2425-25+
Page 1
ISC-2425-25+ Quick Start Companion Software version: 1.1.1 AN-50-008 www.minicircuits.com AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 3 of 28...
3.5.2 Drawing a plot from the sweep data ......................20 3.5.3 Plot notation buttons ............................ 21 3.6 About button ..............................22 AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 2 of 26...
Qt Creator application. Qt is available for download here: https://www.qt.io/download AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 3 of 26...
④ Communications log Displays all the inbound and outbound communication between the GUI and the ISC board. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 4 of 26...
The command buttons are laid out in an order meant to intuitively align with the instructions of the Quick Start Guide. The following buttons are present: AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 5 of 26...
Page 6
The two buttons right of the plotting area which read ‘Reflection graph (Linear)’ and ‘S11 graph (Logarithmic)’ will redraw the data of the plot in linear (%) or logarithmic (dB) notation respectively. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 6 of 26...
Notably UI elements (e.g., buttons) also emit signals which are connected to the respective slot functions, though for these UI elements Qt auto-generates files at compilation which describe those particular connections. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 7 of 26...
Setting up the serial parameters (baudrate, databits, etc.) (line 27-31) Setting up the port name. (line 34-35) AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 8 of 26...
This is covered in a bit more detail in chapter 3.3.1 - Ports comboBox. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 9 of 26...
‘POLL_TIMER’ is defined near the top of mainwindow.cpp as 1000. So, the timer operates at intervals of 1000ms, or 1 second. Every time it expires, the timeout() signal is emitted, which triggers the update_port_ list slot function. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 10 of 26...
This approach lets the list stay up to date as needed, but avoids interrupting the user experience by constantly resetting the contents of the comboBox while the user is interacting with it. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 11 of 26...
At start-up, the connection to the signal generator is not yet opened, so the connection buttons are enabled (and the disconnect button is disabled) using the show_connection_buttons function: AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 12 of 26...
Page 13
UI elements residing within a container in the UI called ‘frame’: This results in a start-up state of the GUI that looks like this: AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 13 of 26...
If the port is opened successfully, the state of the GUI is updated. The connection buttons are disabled (disconnect is enabled), and all the other elements of the UI are enabled for the user to interact with. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 14 of 26...
When the disconnect button is pressed, the serial port connection is closed, and the UI is reverted to the same state as at start-up. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 15 of 26...
Then the ‘on_pushButton_connect_clicked’ function is reused to connect to the port. The selection of the ports occurs using the ‘autodetect_SG_port’ function: AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 16 of 26...
Some commands require additional input from the user. For example, the ‘Set Frequency’ command takes a numeric input for the desired frequency value. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 17 of 26...
1. It takes the command string for the signal generator as an argument, checks whether the SG_port is still open at all before continuing, and then prepares a QString ‘rx’ in which to store a response to the command. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 18 of 26...
Page 19
4. After breaking out of the while loop, the response string is printed in the communications log, and ‘rx’ is returned to the function which called writeRead, allowing further interaction with the response string if necessary. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 19 of 26...
If the direction of the message is inbound from the ISC board, “<\t” is inserted before the string, as well as after the “\r\n” of each line of the response (if there are multiple), except the last. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 20 of 26...
Execute the sweep and parse the resulting data Draw a plot from the data (If the sweep was successful) AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 21 of 26...
If the sweep fails (for example because of an invalid input in the sweep lineEdits), it instead pops an error message and returns false, letting the program know it shouldn’t try to draw a plot from this data. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 22 of 26...
Page 23
Finally, the ‘SWP_run_sweep’ function returns true, indicating the sweep has been executed successfully and the data is ready to use. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 23 of 26...
The visible limits of the plot’s Y-axis are set to smallest and largest S11 values multiplied by a factor of 1.1 for improved visibility. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 24 of 26...
When either of these is pressed, they activate the ‘SWP_draw_plot’ function again, with either the linear or logarithmic notation. SWP_draw_plot re-uses the last known measurements stored in the QVectors to re- draw the plot. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 25 of 26...
The text of the message is retrieved from a file called ‘about.txt’, which is loaded into the project as a ‘resource’ and compiled into the executable. AN-50-008 Rev: OR DCO-000822 (03/07/22) File: AN-50-008.docx This document and its contents are the property of Mini-Circuits. Page 26 of 26...
Need help?
Do you have a question about the ISC-2425-25+ and is the answer not in the manual?
Questions and answers