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

Why do I get DAQmx Error 50412 for Finite or Continuous Acquisition with my PCI-MIO-16XE-50 Board?

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 8.3
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>Base Package
Hardware: Multifunction DAQ (MIO)>>E Series>>PCI-MIO-16XE-50

Problem:
I am attempting to test my PCI-MIO-16XE-50 in Measurement and Automation Explorer (MAX) but I keep getting DAQmx Error 50412.  I only get this error under Continuous Samples or N Samples acquisition, and not during 1 Sample (On Demand) or 1 Sample (HW Timed).  I also see this error when running the LabVIEW shipping example Cont acq&graph-int clk.VI. Can I use Continuous Samples or N Samples acquisition with this card?

Solution:
Error -50412 is an error that occurs because a transfer was aborted because it could not be completed within the maximum number of retry attempts allowed by the bus on which the transfer was occurring. When this error occurs it means that there is a hardware conflict in the computer preventing the DMA from being used by this device. To avoid this error you can add a DAQmx Channel Property Node in between the DAQmx Timing (Sample Clock).vi and DAQmx Start Task.vi in LabVIEW. From the Property Node select the property Ananlog Input»General Properties»Advanced»Data Transfer and Memory»Data Transfer Mechanism. Once this is selected right click select Change all to Write. After this right-click on the input terminal of the property, select Create»Constant. From the drop down menu of the constant choose Interrupts as shown by the picture. The VI attached also has this set up.

 



Related Links:

Attachments:


transfer.JPG - transfer.JPG



Report Date: 05/31/2007
Last Updated: 07/02/2007
Document ID: 49UKTN8H

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