Serial Members

<< 点击显示目录 >>

主页  PVI通信 > PVI帮助信息 > PVI Services > BR.AN.Namespace > BR.AN.PviServices > Serial Class >

Serial Members

BR.AN.PviServices .NET


Serial overview

Public Instance Constructors

pubmethod Serial Constructor

Initializes a new instance of the Serial class

Public Instance Properties

pubpropertyBaudRate

Gets or sets baud rate in bits per second

pubpropertyChannel

Gets or sets the channel of this instance. By default = COM1 to COM4. With some serial interface cards, it is possible to have more than COM4.

pubpropertyDeviceParameterString

Call this method to split all parameters into CPU and device parameters and get the DEVICE parameters.

pubpropertyFlowControl

Gets or sets the flow control flag. Sample: "/RS=422". This parameter controls the data flow of the CTS (clear to send) and the RTS (request to send) cable of the serieal device. Valid values are: NOT_SET = -2:TheRS flag will not be set for communication. SYSTEM = -1: PVI does not change the settings. The settings set in the OS Control Panel will be used. RTS_OFF = 0: Permanently turn off the RTS line. (RTS flow control is disabled). RS232 = 232: Use RTS Handshake. RS422 = 422: Permanently turn on RTS line. The CTS flow control is deactivated for all values bigger than 0. Some USB to serial adapters are not able to handle the CTS and RTS flow control. To use these devices anyway set the flow control to RTS_OFF.

pubpropertyParity

Gets or sets the parity.

Public Instance Methods

pubmethodFromXmlTextReader

Reads the configuration from xml configuration file and updates.

pubmethodToString

Overrides the basic implementation.

See Also

Serial Class | BR.AN.PviServices Namespace


Generated from assembly BR.AN.PviServices [8.1.0.4]