Rail

API Documentation: [cpp] [python] [.NET] [LabVIEW]

The Rail entity provides power control to connected devices on some modules. Check the module datasheet to determine if the module has this capability.

the Rail entity controls power provided to downstream devices, it has the ability to enable and disable power, can read voltage on the rail, and provides current consumption information on some modules. There are additional capabilities that certain modules provide which enhance basic power delivery through Kelvin sensing, or by bringing online separate power management functionality.

Certain modules may provide more than one power rail. These are independently controlled and can be accessed via the entity index.


Rail Control

The USBHub3c has the ability to redirect power from ports 0-5 to an external connection. This applies to both sinking and sourcing and allows load testing of connected devices. Additionally there is a 5V rail that can be used as a trigger or even powering external devices.

Rail

Index: rail[x]

Port 0

0

Port 1

1

Port 2

2

Port 3

3

Port 4

4

Port 5

5

5 Volt

6

Rails are controlled through the following APIs:

stem.rail[x].setEnable()[cpp][python][NET][LabVIEW]
stem.rail[x].getEnable()[cpp][python][NET][LabVIEW]