Table of Contents

Class Cfheader

Namespace
ComfileTech.Cfnet.Cfheader
Assembly
ComfileTech.Cfnet.Cfheader.dll

A CFHEADER module.

public class Cfheader
Inheritance
Cfheader

Properties

Address

The address of the CFHEADER module as configured by its DIP switches.

AnalogInputModules

All possible analog input modules.

AnalogOutputModules

All possible analog output modules.

BackgroundSync

Background thread that calls Sync() repeatedly in a tight loop.

DigitalInputModules

All possible digital input modules.

DigitalOutputModules

All possible digital output modules.

FirmwareVersion

The firmware version as read from the CFHEADER module.

HardwareVersion

The hardware version as read from the CFHEADER module.

I2cIterationTime

The time in microseconds that the CFHEADER module took to write to and read from all of the IO modules connected to the CFHEADER module via I²C.

I2cOutputSettlingTime

The time in microseconds that the CFHEADER module waits for the output to settle after writing to the output modules via I²C before reading from the input modules via I²C.

Instances

All possible CFHEADER modules.

IsOpen

Returns true if the USB connection to this module is open.

NumberOfI2cIterations

The number of I²C iterations that have occurred since the CFHEADER module was last reset.

NumberOfUsbFramesToSync

The number of USB Start of Frame (SoF) interrupts the CFHEADER module will receive before writing to and reading from the connected IO modules via I²C, effectively synchronizing the I²C communication with the USB host.

UsbInterval

The time in microseconds between the CFHEADER finishing sending the last USB IN transfer back to the host and receiving the latest OUT transfer from the host.

Methods

Close()

Closes the USB connection to this module.

Open()

Opens the USB connection to this module.

Sync()

Synchronizes the USB host's memory with the CFHEADER module's memory.