public interface AnalogOutputController extends HardwareDevice
Different analog input controllers will implement this interface.
HardwareDevice.Manufacturer
Modifier and Type | Method and Description |
---|---|
SerialNumber |
getSerialNumber()
Serial Number
|
void |
setAnalogOutputFrequency(int port,
int freq)
Sets the channel output frequency in the range 1-5,000 Hz in mode 1, 2 or 3.
|
void |
setAnalogOutputMode(int port,
byte mode)
Sets the channel operating mode.
|
void |
setAnalogOutputVoltage(int port,
int voltage)
Sets the channel output voltage.
|
close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpMode
SerialNumber getSerialNumber()
void setAnalogOutputVoltage(int port, int voltage)
port
- channel 0 or 1voltage
- voltage value in the correct range.void setAnalogOutputFrequency(int port, int freq)
port
- 1 or 0freq
- output frequency in the range1-5,000Hzvoid setAnalogOutputMode(int port, byte mode)
port
- 0 or 1mode
- voltage, sine, square, or triangle