From cbff36447bcb6162334317f0cd8f812fc440192d Mon Sep 17 00:00:00 2001 From: tangchao0503 <735056338@qq.com> Date: Tue, 6 Dec 2022 14:50:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=AF=BB=E5=86=99=E6=96=87=E4=BB=B6=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=88=B0=EF=BC=9A/media/nvme/300TC/config/ximea.cfg=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source_Files/configfile.cpp | 2 +- Source_Files/ximeaimager.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Source_Files/configfile.cpp b/Source_Files/configfile.cpp index e7c30fc..c54d362 100644 --- a/Source_Files/configfile.cpp +++ b/Source_Files/configfile.cpp @@ -264,7 +264,7 @@ bool Configfile::createConfigFile() // Write out the new configuration. - QString output_file = QDir::cleanPath(QCoreApplication::applicationDirPath() + QDir::separator() + "ximea.cfg"); + QString output_file = "/media/nvme/300TC/config/ximea.cfg"; try { cfg.writeFile(output_file.toStdString().c_str()); diff --git a/Source_Files/ximeaimager.cpp b/Source_Files/ximeaimager.cpp index 7b561c3..6ea872f 100644 --- a/Source_Files/ximeaimager.cpp +++ b/Source_Files/ximeaimager.cpp @@ -9,7 +9,7 @@ XimeaImager::XimeaImager() //connect(this, SIGNAL(recordFinished()),this, SLOT()); - QString ximeaCfgFile = QDir::cleanPath(QCoreApplication::applicationDirPath() + QDir::separator() + "ximea.cfg"); + QString ximeaCfgFile = "/media/nvme/300TC/config/ximea.cfg"; m_configfile.setConfigfilePath(ximeaCfgFile.toStdString()); if(!m_configfile.isConfigfileExist()) m_configfile.createConfigFile(); @@ -212,6 +212,8 @@ double XimeaImager::autoExposure() bool bIsAutoExposureOk=false; while(!bIsAutoExposureOk) { + std::cout<<"自动曝光本次时间为:"<< exposureTime <