Device Members

Phcc Interface Library .NET / COM

The Device type exposes the following members.

Constructors

  NameDescription
DeviceOverloaded.

Methods

  NameDescription
CharTo7Seg
CreateObjRef (Inherited from MarshalByRefObject.)
Dispose
Public implementation of IDisposable.Dispose(). Cleans up managed and unmanaged resources used by this object before allowing garbage collection
DoaSend40DO
Sends data to a DOA_40DO digital output daughtercard.
DoaSend7Seg
Sends data to a DOA_7Seg daughtercard to control the 7-segment LCDs (or individual LEDs) wired to the card.
DoaSend7Seg8774067
Sends data to a DOA_877_4067 daughtercard to control the 7-segment LCDs (or individual LEDs) wired to the card.
DoaSend8ServoCalibration
Sends data to a DOA_servo daughtercard to control the calibration of an individual servo wired to the card.
DoaSend8ServoGain
Sends data to a DOA_servo daughtercard to control the gain parameter of an individual servo wired to the card.
DoaSend8ServoPosition
Sends data to a DOA_servo daughtercard to control the position of an individual servo wired to the card.
DoaSendAirCoreMotor
DoaSendAnOut1
Sends data to a DOA_AnOut1 analog output daughtercard, to control the RMS voltage (using PWM) being supplied by that channel.
DoaSendAnOut1GainAllChannels
Sends data to a DOA_AnOut1 analog output daughtercard, to control the gain parameter which is in effect for all channels simultaneously.
DoaSendCharLcd
Sends data to an individual HD44780-compatible character LCD display wired to a PHCC DOA_char_lcd character LCD driver daughtercard.
DoaSendRaw
Sends data to a Digital Output Type A (DOA) peripheral attached to the PHCC motherboard.
DoaSendStepperMotor
Sends data to a stepper motor daughtercard.
DobSendRaw
Sends data to a Digital Output Type B (DOB) peripheral attached to the PHCC motherboard.
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetLifetimeService (Inherited from MarshalByRefObject.)
GetType (Inherited from Object.)
I2CSend
Sends data to an I2C peripheral attached to the PHCC motherboard.
InitializeLifetimeService (Inherited from MarshalByRefObject.)
MemberwiseCloneOverloaded.
Reset
Instructs the PHCC motherboard to perform a software reset on itself.
SetIdle
Instructs the PHCC motherboard to enter the IDLE state.
StartTalking
Informs the PHCC motherboard to start sending automatic change notification events.
StopTalking
Informs the PHCC motherboard to stop sending change notification events
ToString (Inherited from Object.)

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.

Events

  NameDescription
AnalogInputChanged
The AnalogInputChanged event is raised when the PHCC motherboard detects that one of the analog inputs has changed values (i.e. whenever an analog input signal changes state).
DigitalInputChanged
The DigitalInputChanged event is raised when the PHCC motherboard detects that one of the digital inputs has changed (i.e. whenever a button that is wired into the digital input key matrix is pressed or released).
I2CDataReceived
The I2CDataReceived event is raised when the PHCC motherboard receives data from one of the attached I2C peripherals (if any).

See Also