Examples

These are some examples that can be executed with any LabJack (U3, U6, or T7). The table below shows the hardware that is required to run them. Four of the examples only need a pair of wires. Two examples require a T7 device.

The idea of the examples is to go beyond just using the LabJack device, by showing some execution loop and sampling techiques.

Example

Hardware Requirements

Analog I/O

Two wires

Digital I/O

Two wires

Streaming

Two wires

Incremental Encoder

Quadrature encoder wit A-B phases

Absolute Encoder

Quadrature encoder wit A-B-Z phases

Electric Motor

12V power supply, 12V DC motor, H-Bridge

Electric Motor with Encoder

12V power supply, 12V DC motor with encoder, H-Bridge

T7 Streaming (internal clock)

Two wires

T7 Streaming (external clock)

12V power supply, 12V DC motor, H-Bridge, A-B-Z encoder

Note

For best graphic display of the results, consider running them in an interactive Jupyter notebook session (instead of a plain old terminal window).