Class PCR2TWN4
TWN4 MultiTech3 Cicuitpython FCT
Inheritance
System.Object
PCR2TWN4
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: ElatecFCT.dll
Syntax
public class PCR2TWN4 : CircuitPythonFCT, ICommandFCT
Constructors
View Source
PCR2TWN4(CircuitPythonREPL)
Initializes a new instance of the ElatecFCT.Hardware.CircuitPythonFCT using a CircuitPythonREPL board
Declaration
public PCR2TWN4(CircuitPythonREPL board)
Parameters
Properties
View Source
ColorSensor1
Standard I2C color sensor
Declaration
public ColorSensorREPL ColorSensor1 { get; set; }
Property Value
View Source
ColorSensor2
Declaration
public ColorSensorREPL ColorSensor2 { get; set; }
Property Value
View Source
ColorSensor3
Declaration
public ColorSensorREPL ColorSensor3 { get; set; }
Property Value
View Source
ColorSensor4
Declaration
public ColorSensorREPL ColorSensor4 { get; set; }
Property Value
View Source
CurrentSensor
Typical INA219 current sensor
Declaration
public ICurrentSensor CurrentSensor { get; set; }
Property Value
View Source
DutFwBoot
Declaration
public override Signal DutFwBoot { get; set; }
Property Value
Overrides
View Source
DUTGPIO
Fixture external GPIO expander
Declaration
public GPIOExpanderREPL DUTGPIO { get; set; }
Property Value
View Source
DutHostsense
Declaration
public override Signal DutHostsense { get; set; }
Property Value
Overrides
View Source
DutMcuBoot
Declaration
public override Signal DutMcuBoot { get; set; }
Property Value
Overrides
View Source
DutPower
Declaration
public Signal DutPower { get; set; }
Property Value
View Source
DutPwrDown
Declaration
public override Signal DutPwrDown { get; set; }
Property Value
Overrides
View Source
DutReset
Declaration
public override Signal DutReset { get; set; }
Property Value
Overrides
View Source
GPIO
Fixture internal GPIO expander
Declaration
public GPIOExpanderREPL GPIO { get; set; }
Property Value
View Source
HasCircleMarker
ICommandFCT: Show if FCT has an circle marker
Declaration
public override bool HasCircleMarker { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
View Source
HasInterlok
ICommandFCT: Show if FCT has an interlok
Declaration
public override bool HasInterlok { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
View Source
In
Declaration
public Signal In { get; set; }
Property Value
View Source
Interlok
Declaration
public Signal Interlok { get; set; }
Property Value
View Source
IsDUTInserted
ICommandFCT: Check if interlook is closed
Declaration
public override bool IsDUTInserted { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
View Source
ProgSW
Declaration
public Signal ProgSW { get; set; }
Property Value
View Source
ShutterSens
Sensor input for LED shutter
Declaration
public Signal ShutterSens { get; set; }
Property Value
View Source
USBActive
Declaration
public override Signal USBActive { get; set; }
Property Value
Overrides
Methods
View Source
AddCircleMark()
Declaration
public override void AddCircleMark()
Overrides
View Source
Blink()
ICommandFCT: Show some blinky LEDs
Declaration
public override void Blink()
Overrides
View Source
ConnectDUT()
Declaration
public override void ConnectDUT()
Overrides
View Source
DisconnectDUT()
Declaration
public override void DisconnectDUT()
Overrides
View Source
GetColor(Int32, Int32, Int32)
ICommandFCT: Get RGB color values
Declaration
public override int GetColor(int channel, int waveLenght, int sensitivity)
Parameters
Type |
Name |
Description |
System.Int32 |
channel |
|
System.Int32 |
waveLenght |
|
System.Int32 |
sensitivity |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
View Source
GetCurrent_mA(Int32, ReadingMode)
ICommandFCT: Read current
Declaration
public override double GetCurrent_mA(int channel, ReadingMode mode)
Parameters
Type |
Name |
Description |
System.Int32 |
channel |
|
ReadingMode |
mode |
|
Returns
Type |
Description |
System.Double |
|
Overrides
View Source
GetVoltage_V(Int32, ReadingMode)
ICommandFCT: Read voltage
Declaration
public override double GetVoltage_V(int channel, ReadingMode mode)
Parameters
Type |
Name |
Description |
System.Int32 |
channel |
|
ReadingMode |
mode |
|
Returns
Type |
Description |
System.Double |
|
Overrides
View Source
Init()
ICommandFCT: Init the FCT
Declaration
public override void Init()
Overrides
View Source
ResetDUT()
Declaration
public override void ResetDUT()
Overrides
View Source
RestartDUT()
Declaration
public override void RestartDUT()
Overrides
View Source
SetSwitchSensorDown()
Tell the user to switch the sensor. Throw exception if it was not set correctly
Declaration
public void SetSwitchSensorDown()
View Source
SetSwitchSensorUp()
Tell the user to switch the sensor. Throw exception if it was not set correctly
Declaration
public void SetSwitchSensorUp()
View Source
ShowBusy()
ICommandFCT: Show that the FCT is working
Declaration
public override void ShowBusy()
Overrides
View Source
ShowError()
ICommandFCT: Show that production of a DUT was not ok
Declaration
public override void ShowError()
Overrides
View Source
ShowOK()
ICommandFCT: Show that production of a DUT was ok
Declaration
public override void ShowOK()
Overrides
Implements