Click or drag to resize

ASCIIProtocolSetDeviceConfiguration(Int32, Int32, AnalogDataFormat, Boolean, Boolean, Boolean, TemperatureUnit) Method

Set the new device configuration of analog device

Namespace: Brainboxes.IO
Assembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void SetDeviceConfiguration(
	int newAddress,
	int newBaudRate,
	AnalogDataFormat newAnalogDataFormat,
	bool newFilterSettings = false,
	bool newModuleSettings = false,
	bool newChecksum = false,
	TemperatureUnit newTemperatureUnit = TemperatureUnit.Celsius
)

Parameters

newAddress  Int32
ASCII address of device
newBaudRate  Int32
Baud rate of device
newAnalogDataFormat  AnalogDataFormat
Data format
newFilterSettings  Boolean  (Optional)
Filter setting of analog device
newModuleSettings  Boolean  (Optional)
Module setting of analog device
newChecksum  Boolean  (Optional)
Enable checksum
newTemperatureUnit  TemperatureUnit  (Optional)
Temperature unit

Implements

IIOProtocolSetDeviceConfiguration(Int32, Int32, AnalogDataFormat, Boolean, Boolean, Boolean, TemperatureUnit)
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if send command was invalid
See Also