Click or drag to resize

ASCIIProtocolSetDeviceConfiguration(Int32, Int32, IOChangeTypes, CounterMode, Boolean) Method

Set the new device configuration of digital 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,
	IOChangeTypes newIOCounterUpdateDirection,
	CounterMode newCounterMode,
	bool newChecksum = false
)

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
ExceptionCondition
InvalidOperationExceptionThrown if send command was invalid
See Also