Skip to Navigation

5.2.5.1 - AIN: IOType = 1

This IOType returns a single analog input reading.

Note: Do not use this IO type while streaming.

  • Positive Channel: 0-15 for AIN0-AIN15, 30 for temp sensor, or 31 for Vreg. Note that AIN0-AIN7 appear on FIO0-FIO7, and AIN8-AIN15 appear on EIO0-EIO7.
  • LongSettling: If this bit is set, additional settling time is added between the multiplexer configuration and the analog to digital conversion.
  • QuickSample: If this bit is set, a faster analog input conversion is done, at the expense of increased noise.
  • Negative Channel: 0-15 for AIN0-AIN15, 30 for Vref, or 31 for single-ended. Note that AIN0-AIN7 appear on FIO0-FIO7, and AIN8-AIN15 appear on EIO0-EIO7.
  • AIN LSB & MSB: Analog input reading is returned justified as a 16-bit value (always unsigned).

LabJackPython example session

Automatically extracted from u3.py. Debugging turned on to show the bytes sent and received.

tags:

Comments

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