View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003823 | FSiMX6 | AIN | public | 2019-02-01 06:56 | 2019-05-16 11:53 |
Reporter | zutter | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | V2.50 | ||||
Target Version | V2.70 | ||||
Summary | 0003823: AIN stop working after several measurement cycles (NetDCUA9 only) | ||||
Description | AIN stop working after several measurement cycles | ||||
Steps To Reproduce | Call following code, after 0...300 cycles AIN stop working: int _tmain(int argc, _TCHAR* argv[]) { HANDLE hAIN = CreateFile( _T("AIN1:"),GENERIC_READ, 0, NULL, OPEN_EXISTING ,FILE_ATTRIBUTE_NORMAL, NULL ); int i=0; while(true) { Sleep(500); unsigned short data; DWORD dwSamples = 1; //SetFilePointer( hAIN, 0x10 /*ch1*/, 0, FILE_BEGIN ); ReadFile( hAIN, &data, dwSamples, &dwSamples, NULL ); }... | ||||
Forum Link | |||||
Found Driver Version | |||||
Fixed Driver Version | |||||