完善ART PCI8622测试。
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user