Relay¶
API Documentation: [cpp] [python] [.NET] [LabVIEW]
The Relay entity is a simple class which allows the enabling and disabling of a specified relay.
Get/Set Enable¶
The MTM-Relay has four (4) optically isolated solid-state relays controlled by the relay entity. Each relay is controllable via software and capable of 60V and 6A continuous current load.
Enables the relay channel for the specified index.
stem.relay[index].setEnable()
[cpp]
[python]
[NET]
[LabVIEW]
stem.relay[index].getEnable()
[cpp]
[python]
[NET]
[LabVIEW]
Get Voltage¶
Returns the voltage of the specified index.
stem.relay[index].getVoltage()
[cpp]
[python]
[NET]
[LabVIEW]