Class CircuitPythonFCTs3LED
Generic circuit python 3 LED sensor FCT with current sensor
Implements
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()
Namespace: Elatec.FCT.Client.Hardware
Assembly: ElatecFCT.dll
Syntax
public abstract class CircuitPythonFCTs3LED : CircuitPythonFCT, ICommandFCT
Constructors
View SourceCircuitPythonFCTs3LED(CircuitPythonREPL)
Initializes a new instance of the ElatecFCT.Hardware.CircuitPythonFCT using a CircuitPythonREPL board
Declaration
public CircuitPythonFCTs3LED(CircuitPythonREPL board)
Parameters
Type | Name | Description |
---|---|---|
CircuitPythonREPL | board |
Properties
View SourceColorSensor1
Standard I2C color sensor
Declaration
public ColorSensorREPL ColorSensor1 { get; set; }
Property Value
Type | Description |
---|---|
ColorSensorREPL |
ColorSensor2
Declaration
public ColorSensorREPL ColorSensor2 { get; set; }
Property Value
Type | Description |
---|---|
ColorSensorREPL |
ColorSensor3
Declaration
public ColorSensorREPL ColorSensor3 { get; set; }
Property Value
Type | Description |
---|---|
ColorSensorREPL |
CurrentSensor
Typical INA219 current sensor
Declaration
public ICurrentSensor CurrentSensor { get; set; }
Property Value
Type | Description |
---|---|
ICurrentSensor |
DutFwBoot
Declaration
public override Signal DutFwBoot { get; set; }
Property Value
Type | Description |
---|---|
Signal |
Overrides
View SourceDutHostsense
Declaration
public override Signal DutHostsense { get; set; }
Property Value
Type | Description |
---|---|
Signal |
Overrides
View SourceDutMcuBoot
Declaration
public override Signal DutMcuBoot { get; set; }
Property Value
Type | Description |
---|---|
Signal |
Overrides
View SourceDutPwrDown
Declaration
public override Signal DutPwrDown { get; set; }
Property Value
Type | Description |
---|---|
Signal |
Overrides
View SourceDutReset
Declaration
public override Signal DutReset { get; set; }
Property Value
Type | Description |
---|---|
Signal |
Overrides
View SourceHasCircleMarker
ICommandFCT: Show if FCT has an circle marker
Declaration
public override bool HasCircleMarker { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
View SourceHasInterlok
ICommandFCT: Show if FCT has an interlok
Declaration
public override bool HasInterlok { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
View SourceIsDUTInserted
ICommandFCT: Check if interlook is closed
Declaration
public override bool IsDUTInserted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
View SourceUSBActive
Declaration
public override Signal USBActive { get; set; }
Property Value
Type | Description |
---|---|
Signal |
Overrides
Methods
View SourceAddCircleMark()
Declaration
public override void AddCircleMark()
Overrides
View SourceBlink()
ICommandFCT: Show some blinky LEDs
Declaration
public override void Blink()
Overrides
View SourceConnectDUT()
Declaration
public override void ConnectDUT()
Overrides
View SourceDisconnectDUT()
Declaration
public override void DisconnectDUT()
Overrides
View SourceGetColor(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 SourceGetCurrent_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 SourceGetVoltage_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 SourceInit()
ICommandFCT: Init the FCT
Declaration
public override void Init()
Overrides
View SourceResetDUT()
Declaration
public override void ResetDUT()
Overrides
View SourceRestartDUT()
Declaration
public override void RestartDUT()
Overrides
View SourceShowBusy()
ICommandFCT: Show that the FCT is working
Declaration
public override void ShowBusy()
Overrides
View SourceShowError()
ICommandFCT: Show that production of a DUT was not ok
Declaration
public override void ShowError()
Overrides
View SourceShowOK()
ICommandFCT: Show that production of a DUT was ok
Declaration
public override void ShowOK()