public interface PWMOutputController extends HardwareDevice
Different analog input controllers will implement this interface.
| Modifier and Type | Method and Description |
|---|---|
int |
getPulseWidthOutputTime(int port)
Gets the pulse width for the channel output in units of 1 microsecond.
|
int |
getPulseWidthPeriod(int port)
Gets the pulse repetition period for the channel output in units of 1 microsecond.
|
SerialNumber |
getSerialNumber()
Serial Number
|
void |
setPulseWidthOutputTime(int port,
int time)
Set the pulse width output time for this channel.
|
void |
setPulseWidthPeriod(int port,
int period)
Set the pulse width output period.
|
close, getConnectionInfo, getDeviceName, getVersionSerialNumber getSerialNumber()
void setPulseWidthOutputTime(int port,
int time)
port - port this device is attached totime - pulse width for the port in microseconds.void setPulseWidthPeriod(int port,
int period)
port - port this device is attached toperiod - pulse repetition period in microseconds.int getPulseWidthOutputTime(int port)
port - port this device is attached toint getPulseWidthPeriod(int port)
port - port this device is attached to