修改外触发测试功能。
This commit is contained in:
@@ -372,10 +372,22 @@ BOOL CART_PCI8622::GetData(double (*_Data)[HALF_SIZE_WORDS],int* _DataNumber)
|
||||
case E_ART_PCI8622_SAMPLE_NPT_SEQ:
|
||||
case E_ART_PCI8622_SAMPLE_NPT_TRIGCLK:
|
||||
{
|
||||
PCI8622_STATUS_AD ADStatus;
|
||||
if(!PCI8622_GetDevStatusProAD(m_hDevice, &ADStatus))
|
||||
{
|
||||
rStatus=FALSE;
|
||||
break;
|
||||
}
|
||||
m_SegmentID=0;
|
||||
LONG nReadSizeWords = m_iReadDataSize;
|
||||
LONG nRetSizeWords(0);
|
||||
PCI8622_ReadDeviceProAD_Npt(m_hDevice, ADBuffer[m_SegmentID], nReadSizeWords, &nRetSizeWords);
|
||||
|
||||
if(!PCI8622_GetDevStatusProAD(m_hDevice, &ADStatus))
|
||||
{
|
||||
rStatus=FALSE;
|
||||
break;
|
||||
}
|
||||
nADChannel = m_ADPara.FirstChannel;
|
||||
TRACE1("[PCI8622_ReadDeviceProAD_Npt] Retsize:%d.\r\n",nRetSizeWords);
|
||||
for(Index=0; Index<nReadSizeWords; Index++)
|
||||
|
||||
Reference in New Issue
Block a user