Skip to main content

Class KellerTransducer

Represents a Keller pressure transducer or transmitter that communicates via Modbus RTU.

Assembly: Keller.XLine.dll
View Source
Declaration
public class KellerTransducer : IKellerTransducer

Implements:
Meadow.Foundation.Sensors.Environmental.IKellerTransducer

Fields

DefaultModbusAddress

The default Modbus address for the device.

View Source
Declaration
public const int DefaultModbusAddress = 1

DefaultBaudRate

The default baud rate for communication with the device.

View Source
Declaration
public const int DefaultBaudRate = 9600

Methods

ReadModbusAddress()

Reads the device's Modbus Address.

View Source
Declaration
public Task<byte> ReadModbusAddress()
Returns

System.Threading.Tasks.Task<System.Byte>

ReadSerialNumber()

Reads the serial number of the device.

View Source
Declaration
public Task<int> ReadSerialNumber()
Returns

System.Threading.Tasks.Task<System.Int32>: A task that represents the asynchronous operation. The value is the device's serial number.### ReadTemperature(TemperatureChannel) Reads the temperature from the specified temperature channel.

View Source
Declaration
public Task<Temperature> ReadTemperature(TemperatureChannel channel)
Returns

System.Threading.Tasks.Task<Meadow.Units.Temperature>: A task that represents the asynchronous operation. The value is the temperature reading.

Parameters
TypeNameDescription
Meadow.Foundation.Sensors.Environmental.TemperatureChannelchannelThe temperature channel to read from.

ReadPressure(PressureChannel)

Reads the pressure from the specified pressure channel.

View Source
Declaration
public Task<Pressure> ReadPressure(PressureChannel channel)
Returns

System.Threading.Tasks.Task<Meadow.Units.Pressure>: A task that represents the asynchronous operation. The value is the pressure reading.

Parameters
TypeNameDescription
Meadow.Foundation.Sensors.Environmental.PressureChannelchannelThe pressure channel to read from.

Implements