2.9 - Digital I/O
The LabJack UE9 has 23 digital I/O. The LabJackUD driver uses the following bit numbers to specify all the digital lines:
0-7 FIO0-FIO7 8-15 EIO0-EIO7 16-19 CIO0-CIO3 20-22 MIO0-MIO2
The UE9 has 8 FIO (flexible digital I/O). The first 4 lines, FIO0-FIO3, appear both on the screw terminals and on the DB37 connector. These connections are electrically the same, and the user must exercise caution only to use one connection or the other, and not create a short circuit. The upper 4 lines appear only on the DB37 connector. By default, the FIO lines are digital I/O, but they can also be configured as up to 6 timers and 2 counters (see Timers/Counters Section of this User’s Guide).
The 8 EIO and 4 CIO lines appear only on the DB15 connector. See the DB15 Section of this User’s Guide for more information.
MIO are standard digital I/O that also have a special multiplexer control function described in Section 2.7 above (AIN). The MIO are addressed as digital I/O bits 20-22 by the Windows driver. The MIO hardware (electrical specifications) is the same as the EIO/CIO hardware.
All the digital I/O include an internal series resistor that provides overvoltage/short-circuit protection. These series resistors also limit the ability of these lines to sink or source current. Refer to the specifications in Appendix A.
All digital I/O on the UE9 have 3 possible states: input, output-high, or output-low. Each bit of I/O can be configured individually. When configured as an input, a bit has a ~100 kΩ pull-up resistor to 3.3 volts (all digital I/O are 5 volt tolerant). When configured as output-high, a bit is connected to the internal 3.3 volt supply (through a series resistor). When configured as output-low, a bit is connected to GND (through a series resistor).
The power-up condition of the digital I/O can be configured by the user. From the factory, all digital I/O are configured to power-up as inputs. Note that even if the power-up default for a line is changed to output-high or output-low, there is a delay of about 100 ms at power-up where all digital I/O are in the factory default condition.
The low-level Feedback function (Section 5.3.3) writes and reads all digital I/O. See Section 3.1 for timing information. For information about using the digital I/O under the Windows LabJackUD driver, see Section 4.3.5.
Many function parameters contain specific bits within a single integer parameter to write/read specific information. In particular, most digital I/O parameters contain the information for each bit of I/O in one integer, where each bit of I/O corresponds to the same bit in the parameter (e.g. the direction of FIO0 is set in bit 0 of parameter FIODir). For instance, in the function ControlConfig, the parameter FIODir is a single byte (8 bits) that writes/reads the power-up direction of each of the 8 FIO lines:
- if FIODir is 0, all FIO lines are input,
- if FIODir is 1 (20), FIO0 is output, FIO1-FIO7 are input,
- if FIODir is 5 (20 + 22), FIO0 and FIO2 are output, all other FIO lines are input,
- if FIODir is 255 (20 + … + 27), FIO0-FIO7 are output.
DAQ Devices
- UD Series (U3, U6, UE9)
- U3
- U6
- UE9
- Start with the UD Driver
- User's Guide
- 1 - Installation on Windows
- 2 - Hardware Description
- 3 - Operation
- 4 - LabJackUD High-Level Driver
- 5 - Low-level Function Reference
- Appendix A - Specifications
- Appendix B - Noise and Resolution Tables
- Appendix C - Enclosure and PCB Drawings
- C Native TCP Example
- Modbus TCP Example
- Calibration App
- Ethernet Troubleshooting
- LabVIEW Native TCP Example
- PocketPC Native TCP Example
- Wireless data acquisition
- UD Driver for Windows Quick Reference
- UE9 Firmware Revision History
- Software Options
- U12
- T Series
All Support Guides
Search
Shopping Cart
Testimonials
-
I received the U6. I am very pleased with the device! Let me say it in spanish: Muy groso! I hope you keep developing more products so I could buy them all.
—Martin, Argentina


Comments
No comments yet. Speak up. We're listening.