RS485()

Sets the direction of RS-485 communications port buffers.

Member of the MccBoard class.

Function Prototype

VB .NET

Public Function RS485(ByVal transmit As MccDaq.OptionState, ByVal receive As MccDaq.OptionState) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo RS485(MccDaq.OptionState transmit, MccDaq.OptionState receive)

Parameters

transmit

Set to Enabled or Disabled. The transmit RS-485 line driver is turned on. Data written to the RS-485 UART chip is transmitted to the cable connected to that port.

receive

Set to Enabled or Disabled. The receive RS-485 buffer is turned on. Data present on the cable connected to the RS-485 port is received by the UART chip.

Returns

Notes