完善ART PCI8622测试。

This commit is contained in:
TAO Cheng
2014-07-21 14:50:34 +08:00
parent 4bc4d0eb92
commit c1838204f2
14 changed files with 216 additions and 107 deletions
@@ -57,6 +57,22 @@ BOOL CART_PCI8622::Exit()
#endif //_RELEASE_FULL_VERSION
return rStatus;
}
//========================================
BOOL CART_PCI8622::SetSampleChannel(int _FirstChannel,int _LastChannel)
{
BOOL rStatus(TRUE);
if (_LastChannel<_FirstChannel)
{
rStatus=FALSE;
}
else
{
m_iFirstChannel=_FirstChannel;
m_iLastChannel=_LastChannel;
}
return rStatus;
}
//========================================
BOOL CART_PCI8622::SetSamplePara(int _Mode,int _ReadDataSize)
@@ -52,6 +52,7 @@ public:
BOOL Init();
BOOL Exit();
BOOL SetSamplePara(int _Mode,int _ReadDataSize);
BOOL SetSampleChannel(int _FirstChannel,int _LastChannel);
BOOL StartSampleData();
BOOL StopSampleData();
BOOL GetData(double (*_Data)[HALF_SIZE_WORDS],int* _DataNumber);