mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-13 09:10:45 +00:00
Dump some serial port info to help with port identification on Mac
This commit is contained in:
parent
2fcc2de524
commit
ce6f90c541
@ -120,10 +120,12 @@ void Oximetry::on_RefreshPortsButton_clicked()
|
|||||||
if (!portname.isEmpty() && ports.at(i).qesPORTNAME==portname) current_found=true;
|
if (!portname.isEmpty() && ports.at(i).qesPORTNAME==portname) current_found=true;
|
||||||
ui->SerialPortsCombo->addItem(ports.at(i).qesPORTNAME);
|
ui->SerialPortsCombo->addItem(ports.at(i).qesPORTNAME);
|
||||||
z++;
|
z++;
|
||||||
qDebug() << "Serial Port:" << ports.at(i).qesPORTNAME << ports.at(i).friendName;
|
|
||||||
}
|
}
|
||||||
//qDebug() << "port name:" << ports.at(i).portName;
|
//qDebug() << "Serial Port:" << ports.at(i).qesPORTNAME << ports.at(i).friendName;
|
||||||
//qDebug() << "enumerator name:" << ports.at(i).enumName;
|
qDebug() << "port name:" << ports.at(i).portName;
|
||||||
|
qDebug() << "phys name:" << ports.at(i).physName;
|
||||||
|
qDebug() << "friendly name:" << ports.at(i).friendName;
|
||||||
|
qDebug() << "enumerator name:" << ports.at(i).enumName;
|
||||||
}
|
}
|
||||||
if (z>0) {
|
if (z>0) {
|
||||||
ui->RunButton->setEnabled(true);
|
ui->RunButton->setEnabled(true);
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QTabWidget" name="tabWidget">
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="tab">
|
<widget class="QWidget" name="tab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
@ -99,7 +99,7 @@ It will be faster changing to days you've already been to if you leave it on. </
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Combine Sessions</string>
|
<string>Combine Close Sessions </string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||||
|
Loading…
Reference in New Issue
Block a user