Class UniFCT
Provides functionality for UniFCT type FCTs
Implements
Inherited Members
Namespace: Elatec.FCT.Client.Hardware
Assembly: ElatecFCT.dll
Syntax
public abstract class UniFCT : ICommandFCT
Constructors
View SourceUniFCT(SerialPort)
Initializes a new instance of the ElatecFCT.Hardware.UniFCT using a serial port
Declaration
public UniFCT(SerialPort serialPort)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Ports.SerialPort | serialPort |
Properties
View SourceADC
ADC of this FCT
Declaration
public AD7689 ADC { get; }
Property Value
Type | Description |
---|---|
AD7689 |
DUT
Get the counter reader type of the current FCT
Declaration
public abstract ATmega644.CounterType DUT { get; }
Property Value
Type | Description |
---|---|
ATmega644.CounterType |
DutFwBoot
ICommandFCT: Start the elatec firmware bootloader
Declaration
public virtual Signal DutFwBoot { get; protected set; }
Property Value
Type | Description |
---|---|
Signal |
DutHostsense
ICommandFCT: Signal to set the DUT comm mode (USB or serial)
Declaration
public virtual Signal DutHostsense { get; protected set; }
Property Value
Type | Description |
---|---|
Signal |
DutMcuBoot
ICommandFCT: Start the factory bootloader
Declaration
public virtual Signal DutMcuBoot { get; protected set; }
Property Value
Type | Description |
---|---|
Signal |
DutPwrDown
ICommandFCT: Signal to set the DUT Vreg
Declaration
public virtual Signal DutPwrDown { get; protected set; }
Property Value
Type | Description |
---|---|
Signal |
DutReset
ICommandFCT: Signal to reset the DUT
Declaration
public virtual Signal DutReset { get; protected set; }
Property Value
Type | Description |
---|---|
Signal |
ExpectedFirmware
ICommandFCT: Get the firmware version of an FCT
Declaration
public virtual string ExpectedFirmware { get; }
Property Value
Type | Description |
---|---|
System.String |
FctID
ICommandFCT: Get or set the ID of an FCT
Declaration
public string FctID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Firmware
ICommandFCT: Get the firmware version of an FCT
Declaration
public string Firmware { get; }
Property Value
Type | Description |
---|---|
System.String |
HasCircleMarker
Indicate if circle marker is available
Declaration
public abstract bool HasCircleMarker { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasInterlok
ICommandFCT: Show if FCT has an interlok
Declaration
public bool HasInterlok { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Identifier
Identifies an UniFCT
Declaration
public static byte[] Identifier { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
ImageNameFirmware
ICommandFCT: Get the imagename of the fimrware
Declaration
public abstract string ImageNameFirmware { get; }
Property Value
Type | Description |
---|---|
System.String |
IsDUTInserted
ICommandFCT: Check if interlook is closed
Declaration
public bool IsDUTInserted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsInit
ICommandFCT: Check if the init flag is set
Declaration
public bool IsInit { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LED
Uni FCT status LED
Declaration
public virtual Signal LED { get; }
Property Value
Type | Description |
---|---|
Signal |
MCU
MCU of this FCT
Declaration
public ATmega644 MCU { get; }
Property Value
Type | Description |
---|---|
ATmega644 |
SerialPort
ICommandFCT: Get or set the serial port of the FCT
Declaration
public SerialPort SerialPort { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Ports.SerialPort |
Signals
List of FCTs signals
Declaration
public List<Signal> Signals { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Signal> |
USBActive
ICommandFCT: Signal for open the DUT USB port
Declaration
public virtual Signal USBActive { get; protected set; }
Property Value
Type | Description |
---|---|
Signal |
Methods
View SourceAddCircleMark()
Add circle marking
Declaration
public abstract void AddCircleMark()
Blink()
ICommandFCT: Show some blinky LEDs
Declaration
public virtual void Blink()
ConnectDUT()
ICommandFCT: Connect DUT
Declaration
public abstract void ConnectDUT()
DisconnectDUT()
ICommandFCT: Disconnect power and IO from DUT
Declaration
public abstract void DisconnectDUT()
EnterTransparent(Int32, Parity)
Declaration
public void EnterTransparent(int baudRate, Parity parity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | baudRate | |
System.IO.Ports.Parity | parity |
ExitTransparent()
Declaration
public void ExitTransparent()
GetColor(Int32, Int32, Int32)
ICommandFCT: Get RGB color values
Declaration
public 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 |
GetCurrent_mA(Int32, ReadingMode)
ICommandFCT: Read current
Declaration
public double GetCurrent_mA(int channel, ReadingMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | channel | |
ReadingMode | mode |
Returns
Type | Description |
---|---|
System.Double |
GetField_dbm(Byte[])
ICommandFCT: Get em field in dbm
Declaration
public abstract double GetField_dbm(byte[] macAddress)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | macAddress |
Returns
Type | Description |
---|---|
System.Double |
GetFirmware()
Get the current firmware version
Declaration
protected string GetFirmware()
Returns
Type | Description |
---|---|
System.String |
GetSuccessCounter()
ICommandFCT: Get FCT success counter
Declaration
public uint GetSuccessCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
GetTrialCounter()
ICommandFCT: Get FCT trial counter
Declaration
public uint GetTrialCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
GetVoltage_V(Int32, ReadingMode)
ICommandFCT: Read voltage
Declaration
public double GetVoltage_V(int channel, ReadingMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | channel | |
ReadingMode | mode |
Returns
Type | Description |
---|---|
System.Double |
IncrementSuccessCounter()
ICommandFCT: Increment FCT success counter
Declaration
public uint IncrementSuccessCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
IncrementTrialCounter()
ICommandFCT: Increment FCT trial counter
Declaration
public uint IncrementTrialCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
Init()
ICommandFCT: Init the FCT
Declaration
public abstract void Init()
ResetCounter()
ICommandFCT: Reset counter
Declaration
public void ResetCounter()
ResetDUT()
ICommandFCT: Reset DUT
Declaration
public void ResetDUT()
RestartDUT()
ICommandFCT: Restart DUT
Declaration
public void RestartDUT()
SetTransparentRS485(Boolean)
Declaration
public void SetTransparentRS485(bool isRS485)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isRS485 |
ShowBusy()
ICommandFCT: Show that the FCT is working
Declaration
public virtual void ShowBusy()
ShowError()
ICommandFCT: Show that production of a DUT was not ok
Declaration
public virtual void ShowError()
ShowOK()
ICommandFCT: Show that production of a DUT was ok
Declaration
public virtual void ShowOK()