The Win32_SerialPortConfiguration class represents the default settings for data transmission on a Win32 serial port. this may include the default configuration for establishing a connection and error checking.
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.
The AbortReadWriteOnError property indicates whether read and write operations are terminated if an error occurs.
Values: TRUE or FALSE. If TRUE, the driver terminates all read and write operations with an error status if an error occurs. The driver will not accept any further communications operations until the application acknowledges the error.
The BaudRate property indicates the baud (bits per second) rate at which the communications device operates.
The BinaryModeEnabled property indicates whether binary-mode data transfers are enabled for the serial port. Win32 systems only allow binary transfers through serial ports, so this value will always be TRUE.
The BitsPerByte property indicates the number of bits transmitted and received for each byte of data for the Win32 serial port. The number may vary with control and error correction bits, such as parity bits.
A short textual description (one-line string) of the CIM_Setting object.
The ContinueXMitOnXOff property specifies whether data transmissions continue when the receiving buffer is close to full and an XoffChar character has been sent to the transmitter.
Values: TRUE or FALSE. If TRUE, transmission continues after the input buffer has come within XoffLim bytes of being full and the driver has transmitted the XoffChar character to stop receiving bytes. If FALSE, transmission does not continue until the input buffer is within XonLim bytes of being empty and the driver has transmitted the XonChar character to resume reception.
The CTSOutflowControl property determines whether the Clear To Send (CTS) is checked before transmitting data. CTS signals that both devices on the serial connection are ready to transfer data.
Values: TRUE or FALSE. If TRUE, data transmission is suspended until CTS signal is given.
A textual description of the CIM_Setting object.
The DiscardNULLBytes property determines whether to discard NULL bytes (characters) when they are received.
Values: TRUE or FALSE. If TRUE, NULL bytes are discarded.
The DSROutflowControl property determines whether data outflow control is enabled when there is a Data Set Ready (DSR) condition. DSR signals that the connection has been established by the devices on the serial connection.
Values: TRUE or FALSE. If TRUE, DSR data transmission is suspended until DSR signal is given.
The DSRSensitivity property specifies whether the communications driver is sensitive to the state of the DSR signal.
Values: TRUE or FALSE. If TRUE, the driver ignores any bytes received, unless the DSR modem input line is high.
The DTRFlowControlType property specifies the use of the data-terminal-ready (DTR) flow control after a connection has been established. After a communication line has been established the DTR can be left in the following states: enabled, to show that the connection is still active; disabled, to ignore the DTR once received; or it can be used as a data flow control flag.
The EOFCharacter property specifies the value of the character used to signal the end of data. .
The ErrorReplaceCharacter property specifies the value of the character used to replace bytes received with a parity error.
The ErrorReplacementEnabled specifies whether bytes received with parity errors are replaced with the ErrorReplaceCharacter value. Characters with parity errors are only replaced if this member is TRUE and the parity is enabled.
The EventCharacter specifies the value of the control character that is used to signal an event, such as end of file.
The IsBusy property determines whether the serial port is busy.
Values: TRUE or FALSE. If TRUE, the serial port is busy.
The Name property indicates the name of the Win32 serial port.
The Parity property specifies the method of parity checking to be used. Parity is used as an error checking technique where an extra parity bit is included with every unit of data. If even parity is used, the parity bit is used to make the total count of bits set an even number. The receiver can then verify the validity of the data by counting the bits that are set. Odd parity, sets the parity bit so that the count of bits set is an odd number. Mark parity always leaves the parity bit set to 1, while space parity always leaves the parity bit set to 0.
The ParityCheckEnabled property determines whether parity checking is enabled.
Values: TRUE or FALSE. If TRUE, parity checking is enabled.
The RTSFlowControlType property specifies the request-to-send (RTS) flow control. RTS is used to signal that data is available for transmission. Uses of this member include:
Disable - RTS is ignored after the first RTS signal is received.
Enable - RTS is left on for the data transfer session.
Handshake - RTS is turned off if the transmission buffer is more than three-quarters full, and RTS is turned on when the buffer is less than one-half full.
Toggle - RTS is turned on if there is any data buffered for transmission.
The identifier by which the CIM_Setting object is known.
The StopBits specifies the number of stop bits to be used. StopBits separate each unit of data on an asynchronous serial connection. They are also sent continuously when no data is available for transmission.
The XOffCharacter property specifies the value of the XOFF character for both transmission and reception. XOFF is a software control to stop the transmission of data (whereas RTS and CTS are hardware controls). XON resumes the transmission.
The XOffXMitThreshold property specifies the maximum number of bytes allowed in the input buffer before the XOFF character is sent.
The XOnCharacter property specifies the value of the XON character for both transmission and reception. XON is a software control to resume the transmission of data (whereas RTS and CTS are hardware controls). XOFF stops the transmission.
The XOnXMitThreshold property specifies the minimum number of bytes allowed in the input buffer before the XON character is sent. This member works in conjunction with XOffXMitThreshold to regulate the rate at which data is transferred.
The XOnXOffInFlowControl property specifies whether XON/XOFF flow control is used during reception.
Values TRUE or FALSE. If TRUE the XOffCharacter is sent when the input buffer comes within XOffXMitThreshold bytes of being full, and the XOnCharacter is sent when the input buffer comes within XOnXMitThreshold bytes of being empty.
The XOnXOffOutFlowControl specifies whether XON/XOFF flow control is used during transmission.
Values TRUE or FALSE. If TRUE, transmission stops when the XOffCharacter is received and starts again when the XonCharacter is received.
Method not found.
SELECT * FROM Win32_SerialPortConfiguration
About this site information
This contents is created by WMI having class information.
WMI Environment is Windows Server 2008 R2 Enterprise Edition.
is Microsoft documents for "Managing Windows with WMI"
That is VB(Visual Basic) scripting sample.
is Microsoft documents for "Advanced Programming Topics in WMI .NET"
That is VB.net(Visual Basic .net) scripting sample.