ASCIIProtocolSetDeviceConfiguration(Int32, Int32, IOChangeTypes, CounterMode, Boolean) Method |
Set the new device configuration of digital 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,
IOChangeTypes newIOCounterUpdateDirection,
CounterMode newCounterMode,
bool newChecksum = false
)
Public Sub SetDeviceConfiguration (
newAddress As Integer,
newBaudRate As Integer,
newIOCounterUpdateDirection As IOChangeTypes,
newCounterMode As CounterMode,
Optional newChecksum As Boolean = false
)
abstract SetDeviceConfiguration :
newAddress : int *
newBaudRate : int *
newIOCounterUpdateDirection : IOChangeTypes *
newCounterMode : CounterMode *
?newChecksum : bool
(* Defaults:
let _newChecksum = defaultArg newChecksum false
*)
-> unit
override SetDeviceConfiguration :
newAddress : int *
newBaudRate : int *
newIOCounterUpdateDirection : IOChangeTypes *
newCounterMode : CounterMode *
?newChecksum : bool
(* Defaults:
let _newChecksum = defaultArg newChecksum false
*)
-> unit
Parameters
- newAddress Int32
- ASCII address of the device
- newBaudRate Int32
- Baud rate of the device
- newIOCounterUpdateDirection IOChangeTypes
- Counter update direction
- newCounterMode CounterMode
- Counter mode
- newChecksum Boolean (Optional)
- Enable checksum
Implements
IIOProtocolSetDeviceConfiguration(Int32, Int32, IOChangeTypes, CounterMode, Boolean)Exceptions See Also