REXDESKREXGEN 2REXGEN 2 IMU GNSSREXGEN AirREXGEN ProManual

REXDESK: log analogue and digital inputs

Updated

Record sensor voltages and on/off signals alongside your bus data, scaled to engineering units. This guide also shows how to wire a digital input.

Which loggers have inputs

REXGEN 2, REXGEN 2 IMU GNSS, REXGEN Air and REXGEN Pro have analogue and digital inputs. REXGEN 1 has none. REXGEN 2 has two analogue and two digital inputs. These guides give the input pins and their limits:

Analogue inputs

  1. Create a project. Select New Project on the toolbar.
  2. Drop Analog on Channels. Drag Analog from the Channels group onto the Channels area of the configuration.
  3. Set up the channel. In Add Analog Channel, select the input in Analog Channel. Enter the Sampling Rate (ms), which is the time between two samples.
    The Add Analog Channel panel with Analog Channel set to Channel 0, Sampling Rate 100 ms, Coeff A 1, Coeff B 0 and the formula A*X + B
    With Coeff A at 1 and Coeff B at 0, the channel records the input voltage unchanged.
  4. Enter the scaling. REXDESK applies Formula: A*X + B. X is the input in volts, Coeff A is the slope or scale factor and Coeff B is the offset. Enter both coefficients. The logger records the result in your engineering units.
  5. Add the channel. Select Add. The channel appears in the list. Repeat for each input.
  6. Run the configuration. Select Run, then save and name the project. The logger loads the configuration and starts logging at once.

For example, a pressure sensor's output runs from 0 V at 0 bar to 5 V at 10 bar. That is a slope of 2 bar per volt and no offset. Enter A = 2 and B = 0 to record bar.

Digital inputs

  1. Drop Dig In on Channels. Drag Dig In from the Channels group onto the Channels area.
  2. Set up the channel. In Add Digital Channel, select the input in Digital Channel and enter the Sampling Rate (ms).
    The Add Digital Channel panel with the Digital Channel list open on Channel 0 to Channel 3 and Sampling Rate 100 ms
    The channel list shows the digital inputs of the logger you configure.
  3. Add the channel. Select Add. Use the buttons beside the list to add another digital channel, edit one or remove it.
  4. Run the configuration. Select Run, then save and name the project.

A digital input reads high when nothing is connected to it. To start or stop logging from a digital input, add a trigger. See REXDESK: start and stop logging with triggers.

Watch: Configure analogue and digital channels using REXDESK (1:15)

Wiring a digital input

A REXGEN digital input reads a voltage below 0.8 V as low and above 2.5 V as high. Three of the circuits below hold the input high through a 1 kΩ pull-up resistor, and the switch, the transistor or the relay contact pulls the input low when it switches on. The fourth uses a Schmitt-trigger buffer such as SN74LVC1G14, whose output drives the input directly from the instrumentation supply.

Four ways to drive a digital input DIGITAL INPUT · WIRING Four ways to drive a digital input Switch Instrumentation supply Pull-up Input A closed switch pulls the input low. NPN transistor Instrumentation supply Pull-up Input Control The transistor turned on pulls the input low. Relay contact Instrumentation supply Pull-up Input Relay coil in a separate circuit closes the contact A closed contact pulls the input low. Schmitt-trigger buffer Instrumentation supply Pull-up Input Signal The buffer output drives the input directly. The input reads low below VIL and high above VIH. Take VIL, VIH, the pull-up value and the maximum input voltage from the product guide. Every circuit shares the module ground.
Four ways to drive a REXGEN digital input. VIL is 0.8 V and VIH is 2.5 V. The pinouts guide for your logger gives the maximum input voltage.

The pull-up needs a supply. Where it comes from depends on the logger:

Pull-up supply for digital inputs, by logger
Logger Pull-up supply
REXGEN 2 and REXGEN 2 IMU GNSS No supply pin on the logger. Use an external supply and connect its ground to the logger's ground.
REXGEN Air The instrumentation supply pin, 5 V, 100 mA maximum.
REXGEN Pro The instrumentation supply pin.

Next: REXDESK: set up GNSS and the IMU.

Products in this guide

REXDESK

Logger setup & data export

View REXDESK Ask an engineer

REXGEN 2

Evidence data logger

View REXGEN 2 Ask an engineer

REXGEN 2 IMU GNSS

Motion & location data logging

View REXGEN 2 IMU GNSS Ask an engineer

REXGEN Air

CAN to cloud

View REXGEN Air Ask an engineer

REXGEN Pro

Edge data platform

View REXGEN Pro Ask an engineer

Still stuck?

Our engineers answer support questions on every Influx Technology product.