Interface ICommandFCT
Interface for general FCT commands
Namespace: Elatec.FCT.Client.Hardware
Assembly: ElatecFCT.dll
Syntax
public interface ICommandFCT
Properties
View SourceDutFwBoot
ICommandFCT: Start the elatec firmware bootloader
Declaration
Signal DutFwBoot { get; }
Property Value
Type | Description |
---|---|
Signal |
DutHostsense
ICommandFCT: Signal to set the DUT comm mode (USB or serial)
Declaration
Signal DutHostsense { get; }
Property Value
Type | Description |
---|---|
Signal |
DutMcuBoot
ICommandFCT: Start the factory bootloader
Declaration
Signal DutMcuBoot { get; }
Property Value
Type | Description |
---|---|
Signal |
DutPwrDown
ICommandFCT: Signal to set the DUT Vreg
Declaration
Signal DutPwrDown { get; }
Property Value
Type | Description |
---|---|
Signal |
DutReset
ICommandFCT: Signal to reset the DUT
Declaration
Signal DutReset { get; }
Property Value
Type | Description |
---|---|
Signal |
ExpectedFirmware
ICommandFCT: Get the firmware version of an FCT
Declaration
string ExpectedFirmware { get; }
Property Value
Type | Description |
---|---|
System.String |
FctID
ICommandFCT: Get or set the ID of an FCT
Declaration
string FctID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Firmware
ICommandFCT: Get the firmware version of an FCT
Declaration
string Firmware { get; }
Property Value
Type | Description |
---|---|
System.String |
HasCircleMarker
ICommandFCT: Show if FCT has an circle marker
Declaration
bool HasCircleMarker { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HasInterlok
ICommandFCT: Show if FCT has an interlok
Declaration
bool HasInterlok { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ImageNameFirmware
ICommandFCT: Get the imagename of the fimrware
Declaration
string ImageNameFirmware { get; }
Property Value
Type | Description |
---|---|
System.String |
IsDUTInserted
ICommandFCT: Check if interlook is closed
Declaration
bool IsDUTInserted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsInit
ICommandFCT: Check if the init flag is set
Declaration
bool IsInit { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
SerialPort
ICommandFCT: Get or set the serial port of the FCT
Declaration
SerialPort SerialPort { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Ports.SerialPort |
Signals
List of all available signals for this FCT
Declaration
List<Signal> Signals { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Signal> |
USBActive
ICommandFCT: Signal for open the DUT USB port
Declaration
Signal USBActive { get; }
Property Value
Type | Description |
---|---|
Signal |
Methods
View SourceAddCircleMark()
ICommandFCT: Add circle mark
Declaration
void AddCircleMark()
Blink()
ICommandFCT: Show some blinky LEDs
Declaration
void Blink()
ConnectDUT()
ICommandFCT: Connect DUT
Declaration
void ConnectDUT()
DisconnectDUT()
ICommandFCT: Disconnect power and IO from DUT
Declaration
void DisconnectDUT()
EnterTransparent(Int32, Parity)
Enter the FCTs serial transparent mode
Declaration
void EnterTransparent(int baudRate, Parity parityMode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | baudRate | serial baudrate |
System.IO.Ports.Parity | parityMode | serial parity mode |
ExitTransparent()
Exit the FCTs serial transparent mode
Declaration
void ExitTransparent()
GetColor(Int32, Int32, Int32)
ICommandFCT: Get RGB color values
Declaration
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
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
double GetField_dbm(byte[] macAddress)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | macAddress |
Returns
Type | Description |
---|---|
System.Double |
GetSuccessCounter()
ICommandFCT: Get FCT success counter
Declaration
uint GetSuccessCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
GetTrialCounter()
ICommandFCT: Get FCT trial counter
Declaration
uint GetTrialCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
GetVoltage_V(Int32, ReadingMode)
ICommandFCT: Read voltage
Declaration
double GetVoltage_V(int channel, ReadingMode mode)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | channel | The ADC channel |
ReadingMode | mode |
Returns
Type | Description |
---|---|
System.Double | ADV voltage in V |
IncrementSuccessCounter()
ICommandFCT: Increment FCT success counter
Declaration
uint IncrementSuccessCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
IncrementTrialCounter()
ICommandFCT: Increment FCT trial counter
Declaration
uint IncrementTrialCounter()
Returns
Type | Description |
---|---|
System.UInt32 |
Init()
ICommandFCT: Init the FCT
Declaration
void Init()
ResetCounter()
ICommandFCT: Reset counter
Declaration
void ResetCounter()
ResetDUT()
ICommandFCT: Reset DUT
Declaration
void ResetDUT()
RestartDUT()
ICommandFCT: Restart DUT
Declaration
void RestartDUT()
SetTransparentRS485(Boolean)
Exit the FCT transparent mode to RS485 or not
Declaration
void SetTransparentRS485(bool isRS485)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isRS485 |
ShowBusy()
ICommandFCT: Show that the FCT is working
Declaration
void ShowBusy()
ShowError()
ICommandFCT: Show that production of a DUT was not ok
Declaration
void ShowError()
ShowOK()
ICommandFCT: Show that production of a DUT was ok
Declaration
void ShowOK()