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

Error -89140 When Routing a Signal for a DAQmx Device In a PXI Real-Time System

Primary Software: LabVIEW Modules>>Real-Time Module
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-DAQmx
Hardware: Multifunction DAQ (MIO)>>E Series

Problem:
I am writing a data acquisition application in which I will like to share the analog input sample clock to the analog output so both operations are synchronized. I am routing the signal as it is shown in the example program PID Control-Single Channel.vi that comes with the LabVIEW Real-Time module. This is in a PXI system running LabVIEW RT. However, when I run the VI, I am getting Error -89140. How can I fix this?

Solution:
Error -89140 occurs when the driver cannot complete the trigger routing due to no trigger being configured in Measurement & Automation Explorer(MAX), but this is not the only circumstance which can cause the error. Another possible reason that Error -89140 appears is that the PXI system has not been identified correctly under MAX. This can occur when a system has been updated to newer drivers or a later version of LabVIEW than was originally being developed on. To verify resolve the error, follow these steps:
  1. Open MAX and find your PXI Real-Time system under Remote Systems.
  2. Expand Devices and Interfaces and locate the entry PXI System.
  3. Right-click on PXI System and select Identify As and choose the correct controller (i.e. PXI-8170).
  4. A new subentry will appear under the PXI System, labeled Chassis. Right-click Chassis and select Identify As and choose the correct chassis (i.e. PXI-1000B).
  5. Hit the Save button on the top of MAX.

Your VI should run now. If you still experience problems getting the routing section of your VI to work, try running one of the shipped examples that come with LabVIEW RT to verify that the routing functions are called correctly.

Related Links:
KnowledgeBase 267FAS5P: MXI-3 and MXI-4 Troubleshooting Guide
KnowledgeBase 3KQ9K9LZ: Accessing PXI Instruments with NI-VISA in LabVIEW RT

Attachments:





Report Date: 11/02/2004
Last Updated: 12/30/2008
Document ID: 3F17QNUW

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