ASCIIProtocolSetDeviceConfiguration(Int32, Int32, AnalogDataFormat, Boolean, Boolean, Boolean, TemperatureUnit) Method |
Set the new device configuration of analog device
Namespace: Brainboxes.IOAssembly: 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
)
Public Sub SetDeviceConfiguration (
newAddress As Integer,
newBaudRate As Integer,
newAnalogDataFormat As AnalogDataFormat,
Optional newFilterSettings As Boolean = false,
Optional newModuleSettings As Boolean = false,
Optional newChecksum As Boolean = false,
Optional newTemperatureUnit As TemperatureUnit = TemperatureUnit.Celsius
)
abstract SetDeviceConfiguration :
newAddress : int *
newBaudRate : int *
newAnalogDataFormat : AnalogDataFormat *
?newFilterSettings : bool *
?newModuleSettings : bool *
?newChecksum : bool *
?newTemperatureUnit : TemperatureUnit
(* Defaults:
let _newFilterSettings = defaultArg newFilterSettings false
let _newModuleSettings = defaultArg newModuleSettings false
let _newChecksum = defaultArg newChecksum false
let _newTemperatureUnit = defaultArg newTemperatureUnit TemperatureUnit.Celsius
*)
-> unit
override SetDeviceConfiguration :
newAddress : int *
newBaudRate : int *
newAnalogDataFormat : AnalogDataFormat *
?newFilterSettings : bool *
?newModuleSettings : bool *
?newChecksum : bool *
?newTemperatureUnit : TemperatureUnit
(* Defaults:
let _newFilterSettings = defaultArg newFilterSettings false
let _newModuleSettings = defaultArg newModuleSettings false
let _newChecksum = defaultArg newChecksum false
let _newTemperatureUnit = defaultArg newTemperatureUnit TemperatureUnit.Celsius
*)
-> unit
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 See Also