mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 19:49:42 +08:00
添加了开始计时后 立即采集的修改
This commit is contained in:
21
source/LinearShutter/VSMD12XMovementTest.cpp
Normal file
21
source/LinearShutter/VSMD12XMovementTest.cpp
Normal file
@ -0,0 +1,21 @@
|
||||
#include "VSMD12XMovementTest.h"
|
||||
|
||||
MovementTest::MovementTest()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
MovementTest::~MovementTest()
|
||||
{
|
||||
}
|
||||
|
||||
void MovementTest::TestAsLinearShutter()
|
||||
{
|
||||
PortInfo piTemp;
|
||||
piTemp.qstrFullPortName = QString::fromStdString("");
|
||||
m_ctrlLS.ILMES_InitializeComm(piTemp, 1, 1);
|
||||
ControllerParams cpTemp;
|
||||
bool res = m_ctrlLS.ILMES_InitializeParams(cpTemp);
|
||||
//m_ctrlLS.ILMES_SetPosition(m_struAcqPosSetting.iPosition, m_struAcqPosSetting.iTotalPosition);
|
||||
}
|
||||
|
11
source/LinearShutter/VSMD12XMovementTest.h
Normal file
11
source/LinearShutter/VSMD12XMovementTest.h
Normal file
@ -0,0 +1,11 @@
|
||||
#include "VSMD12XControl.h"
|
||||
class MovementTest
|
||||
{
|
||||
public:
|
||||
MovementTest();
|
||||
~MovementTest();
|
||||
private:
|
||||
CVSMD12XControl m_ctrlLS;
|
||||
public:
|
||||
void TestAsLinearShutter();
|
||||
};
|
Reference in New Issue
Block a user