Device Properties

Phcc Interface Library .NET / COM

The Device type exposes the following members.

Properties

  NameDescription
AnalogInputs
Gets an array of 16-bit signed integers containing the current values of all analog inputs. Only the low 10 bits contain information; the high 6 bits are always zero because the precision of the analog inputs is currently limited to 10 bits.
DigitalInputs
Gets a bool array containing the current values of all digital inputs.
FirmwareVersion
Gets a string containing the PHCC motherboard's firmware version.
PortName
Gets/sets the name of the COM port to use for communicating with the PHCC motherboard (i.e. "COM1", "COM2", etc.)
SerialPort
Gets the underlying SerialPort object, which allows direct communication with the PHCC motherboard via RS232.

See Also