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

Why do I get Error -89137 When Using Counter and Digital Tasks?

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 9.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW SignalExpress>>Development System
Hardware: Multifunction DAQ (MIO)>>M Series

Problem:
I am currently using Counter and Digital I/O together.  When I have two simultaneous counter and digital acquisition or generations, I see inconsistent behavior between my two counters.  I can do digital and counter I/O perfectly fine on counter 1, but when I try using counter 0, I receive the following error: Error -89137: Specified route cannot be satisfied, because it requires resources that are currently in use by another route.

Why can't I perform a counter acquisition or generation on counter 0 while performing digital I/O?

Solution:
Counter 0 is used as a subsystem throughout all DAQmx cards including E Series, M Series and S Series devices.  Consult the device routes for your particular DAQ device.  For instance, on an S Series device, the MasterTimebase uses Counter 0, which won't allow you to use it.
The text beneath the error will also describe which resources are accessing the counter.  As a work-around, use static (software-timed) digital or counter I/O for one of your tasks.

Related Links:
KnowledgeBase 3MGERQXL: Why Do I Get Error 89137 "Specified route cannot be satisfied..." When Routing PFI Lines Over RTSI?

Attachments:





Report Date: 05/26/2009
Last Updated: 05/27/2009
Document ID: 4XPDCLBB

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