Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5     Rate this Document

Error -200474 With Digital Frequency Example VIs Modified for Continuous Acquisition

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 8.10
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>Professional Development System
Hardware: Multifunction DAQ (MIO)>>M Series>>PCI-6229

Problem:
I modified the Meas Dig Frequency-Low Freq 1 Ctr example VI to acquire continuously, and unless there is a signal with a frequency greater than 100Hz, I get  Error -200474. What is wrong and how can I fix it?

Solution:
For some DAQmx driver versions any input frequency below 100Hz yields this error, which is expected behavior by design. If you do not want your program to cease acquiring data in the absence of a signal (or a frequency below 100Hz), you can clear that specific error number with each iteration as shown in the block diagram below. You can also download the attached VI which has this workaround implemented.



Related Links:

Attachments:


clear_error_-200474_for_low_freq.jpg - clear_error_-200474_for_low_freq.jpg
clear_error_-200474_for_low_freq.vi - clear_error_-200474_for_low_freq.vi


Report Date: 05/25/2007
Last Updated: 06/06/2007
Document ID: 49OGKCLO

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit