Error -10007 When Using the Digital Line Functions With E Series Devices Primary Software: Driver Software>>NI-DAQPrimary Software Version: 7.5 Primary Software Fixed Version: N/A Secondary Software: N/A Hardware: Digital I/O (DIO)>>Static
Problem: Why do I receive the message, "Error -10007 occurred at DIO Port Config" when I am using the Read from Digital Line or Write to Digital Line function with most E Series devices? Solution: Ensure that you are not confusing digital lines with digital ports. The eight DIO (digital input/output) lines on E Series devices are digital lines under Port 0 (P0.<0..7>), not Ports 0-7. Hence, the digital channel input of the Read from Digital Line VI and the Write to Digital Line VI can only be 0. When you connect anything other than 0 as an input to the Digital Channel input, the VI returns Error -10007. You need to connect the port number to the Digital Channel input, and the <0..7> line inputs can be wired to the Line input. Note: The NI PCI-6025E has four DIO ports. In Traditional NI-DAQ, these ports are numbered 0, 2, 3 and 4. If you reference port 1 you will receive Error -10007 because there is no port with this number. In NI-DAQmx, the ports are numbered 0, 1, 2, and 3. Legacy Devices: Some legacy devices that use the 8255 chip, such as the AT-MIO-16DE-10, are not line configurable. NI-DAQ group functions require line addressing, so using them with these legacy devices will give this error. Instead, use the NI-DAQ Port functions. Related Links: KnowledgeBase 2N89NPT0: The NI PCI-6025E Digital Line Virtual Channels Return Error -10007 in Measurement & Automation Explorer Test Panel Attachments:
Report Date: 12/19/2001 Last Updated: 12/08/2006 Document ID: 2GIICLDJ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
