Qdebug; Constructor; Preparing The Serial Port - Mini-Circuits ISC-2425-25+ Quick Start Manual

Hide thumbs Also See for ISC-2425-25+:
Table of Contents

Advertisement

3.1.3

QDebug

Several lines can be found throughout the code that reference the QDebug class of Qt
These lines simply output text and/or values to the console/terminal during runtime. They are only there for the
convenience of the developer, and can otherwise be ignored entirely.

3.2 Constructor

The constructor is executed upon the instantiation of the MainWindow class at startup. It sets everything up for use in
the rest of the program.
3.2.1

Preparing the serial port

To establish communication between the software and ISC board, the QSerialPort class is used from the Qt framework.
Qt QSerialPort documentation:
The object pointer of the QSerialPort 'SG_port' for the signal generator is declared in mainwindow.h:
This involves:
Setting up error handling (line 24)
Setting up the serial parameters (baudrate, databits, etc.) (line 27-31)
Setting up the port name. (line 34-35)
AN-50-008
Rev: OR
This document and its contents are the property of Mini-Circuits.
https://doc.qt.io/qt-5/qserialport.html
DCO-000822
(03/07/22)
File: AN-50-008.docx
Page 8 of 26

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ISC-2425-25+ and is the answer not in the manual?

Questions and answers

Related Products for Mini-Circuits ISC-2425-25+

Table of Contents