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

Error -200558 When Using Two or More Devices in a Task

Hardware: PXI/CompactPCI>>Controllers

Problem:
Why do I receive Error -200558 when I try to use a task that contains multiple DAQ devices?




Solution:
Though a DAQmx task can bundle multiple channels together, it is usually restricted to accessing only one hardware device (with the exception being Compact DAQ, S Series, and DSA modules).  If you try to combine multiple devices into one task, as shown below, you will receive this error because each device will have its own sample clock and a task can only time off of one sample clock.



Instead you should use a separate DAQmx task for each device, as shown below.


The excluded modules allow such a setup because S Series and DSA modules support channel expansion (see related KnowledgeBase linked below) and Compact DAQ chassis produce a single sample clock for all modules they contain.


Related Links:
KnowledgeBase 3U0G7O9N: Synchronizing DSA and SMIO Devices With a Single NI-DAQmx Task
KnowledgeBase 2XE9HRIP: Physical Channels, Virtual Channels, and Tasks in NI-DAQmx
KnowledgeBase 4M29F4VP: How to Reassign DAQmx Tasks to a Different DAQ Device

Attachments:





Report Date: 09/07/2007
Last Updated: 05/27/2009
Document ID: 4D6EKA4M

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