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

Digital Output Returns Error -10612 When Using an AT-MIO-16XE-50 With an AMUX-64T.

Primary Software: LabVIEW Development Systems>>Full Development System
Primary Software Version: 3.1.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Legacy DAQ Devices>>Multifunction DAQ>>AT-MIO-16XE-50

Problem: Using an AT-MIO-16XE-50 with an AMUX-64T in LabVIEW 3.1.1 I call DIO Port Config and configure all the digital lines for output. I then call AI Acquire Waveforms to collect data via the AMUX-64T. After the AI Acquire Waveforms, I call DIO Port Write with lines 0 through 3 masked out. I get a -10612 error. badLineDirErr: The specified line does not support the transfer direction. Why is this?

Solution: Since using an AMUX-64T means 4 digital lines of Port 0 will be used, the last thing AI Acquire Waveforms does is call the NI-DAQ function DAQ_Clear. DAQ_Clear on port 0 will reset all 8 digital lines to input. Thus, you must call DIO Port Config again before outputting data on any of the Port 0 digital lines.

Related Links: Product Manuals: AMUX-64T User Manual

Product Manuals: E Series Help User Manual

Attachments:





Report Date: 05/24/1995
Last Updated: 10/27/2004
Document ID: 09NH1G2X

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