DAQmx Finite Acquisition 모드를 사용할 때 몇 분이 경과한 후 PC와의 충돌문제.



주요한 소프트웨어:
주요한 소프트웨어 버전: 7.3
문제가 해결된 소프트웨어 버전:
부차적인 소프트웨어: LabVIEW Development Systems>>LabVIEW Full Development System

문제점: While loop내에 sub-VI로 DAQmx finite acquisition을 사용할 때 얼마후 아래와 같은 경고 메시지가 뜹니다.

"An exception occurred within the external code called by a call library node. This might have corrupted labview's memory.
Stopped at node 0x558 of subvi DAQmx Read (analog 1D WFM Nchan Nsamp)".


솔루션: DAQmx Read VI이후에 꼭 DAQmx Clear Task.vi를 넣어주셔야 됩니다. 각각의 while루프가 수행된 후에 메모리를 재분배 해주셔야 됩니다. 만약 그렇치 않으면 메모리의 에러가 발생하게 됩니다.

관련 링크: http://digital.ni.com/public.nsf/websearch/BAF29EE03747EE4B86256E9700541436?OpenDocument">KnowledgeBase 39G995DW: How to Prevent Memory Leaks When Using NI-DAQmx

첨부:





리포트 날짜: 04/06/2005
마지막 업데이트: 05/26/2005
문서 번호: 3K59MO1J