T4 AIN Channel Registers
Name Start Address Type Access
AIN#(0:11) 0 FLOAT32 R
AIN#(0:11)_BINARY 50000 UINT32 R
AIN#(0:11)
- Starting Address: 0
Returns the voltage of the specified analog input.
  • Data type: FLOAT32  (type index = 3)
  • Read-only
  • This register may be streamed
Expanded Names Addresses Formula
AIN0, AIN1, AIN2, AIN3, AIN4, AIN5, AIN6, AIN7, AIN8, AIN9, AIN10, AIN11 ... Show All 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22 ... Show All address = 0+(2*#)
AIN#(0:11)_BINARY
- Starting Address: 50000
Returns the 24-bit binary representation of the specified analog input. If you prefer 16-bit representation, simply divide this by 256. This is for command-response only. Stream always returns binary and LJM applies cal constants, so the LJM config flag LJM_STREAM_AIN_BINARY is used to get binary values.
  • Data type: UINT32  (type index = 1)
  • Read-only
Expanded Names Addresses Formula
AIN0_BINARY, AIN1_BINARY, AIN2_BINARY, AIN3_BINARY, AIN4_BINARY, AIN5_BINARY, AIN6_BINARY, AIN7_BINARY, AIN8_BINARY, AIN9_BINARY, AIN10_BINARY, AIN11_BINARY ... Show All 50000, 50002, 50004, 50006, 50008, 50010, 50012, 50014, 50016, 50018, 50020, 50022 ... Show All address = 50000+(2*#)
LJScribe postfix