VEX V5 Python API
Public Member Functions | Public Attributes | List of all members
vex.Triport Class Reference

Inherits vex.Device.

Public Member Functions

def __init__ (self, index, brain=None)
 Use this class to get and set information about devices on triports. More...
 
def type (self)
 Get the device type. More...
 
def installed (self)
 Gets the status of what is installed. More...
 
def value (self)
 

Public Attributes

 a
 Port A on the triport @type vex.TriportPort. More...
 
 b
 Port B on the triport @type vex.TriportPort. More...
 
 c
 Port C on the triport @type vex.TriportPort. More...
 
 d
 Port D on the triport @type vex.TriportPort. More...
 
 e
 Port E on the triport @type vex.TriportPort. More...
 
 f
 Port F on the triport @type vex.TriportPort. More...
 
 g
 Port G on the triport @type vex.TriportPort. More...
 
 h
 Port H on the triport @type vex.TriportPort. More...
 
 port
 List of all ports on the triport @type vex.TriportPort[]. More...
 

Constructor & Destructor Documentation

◆ __init__()

def vex.Triport.__init__ (   self,
  index,
  brain = None 
)

Use this class to get and set information about devices on triports.

Member Function Documentation

◆ type()

def vex.Device.type (   self)
inherited

Get the device type.

Returns
V5DeviceType enum value

◆ installed()

def vex.Device.installed (   self)
inherited

Gets the status of what is installed.

Returns
Returns a true Boolean if the triport is installed. Returns a false Boolean if the triport is not installed.

◆ value()

def vex.Device.value (   self)
inherited

Member Data Documentation

◆ a

vex.Triport.a

Port A on the triport @type vex.TriportPort.

◆ b

vex.Triport.b

Port B on the triport @type vex.TriportPort.

◆ c

vex.Triport.c

Port C on the triport @type vex.TriportPort.

◆ d

vex.Triport.d

Port D on the triport @type vex.TriportPort.

◆ e

vex.Triport.e

Port E on the triport @type vex.TriportPort.

◆ f

vex.Triport.f

Port F on the triport @type vex.TriportPort.

◆ g

vex.Triport.g

Port G on the triport @type vex.TriportPort.

◆ h

vex.Triport.h

Port H on the triport @type vex.TriportPort.

◆ port

vex.Triport.port

List of all ports on the triport @type vex.TriportPort[].