Jazz Soft 您要聯絡嗎?   JazzSoft@live.com     繁體字漢語   英語  日語  繁體字漢語  簡體字漢語
提供半導體工廠自動化與生産效率改善法 
Skip Navigation Links首頁 > 產品一覽 > Savoy > Savoy Comm 詳細資料 > Properties > PortNumber

Dorian.Core is added. Dorian now supports .NET 6 and 7.

Savoy Comm 詳細資料   

Properties
BaudRate
ByteSize
ByteStream
Connect
Count
IniFileName
IniSection
Parity
PortNumber
StopBit

Methods
AboutBox
LoadIniFile
Send
Setup

Events
Received

PortNumber Property

Gets or sets the serial port number. Port number starts at 0. For example, comm #1 is 0, comm. #2 is 1.

Default value is 0.

Syntax

Visual Basic

PortNumber As Integer


Visual C++

short GetPortNumber()
void SetPortNumber(short)

Return Value

Example

Visual Basic

.PortNumber = 0
.BaudRate = 9600
.ByteSize = 8
.StopBit = 0
.Parity = 0
.Connect = True


Visual C++

m_ctrl.SetPortNumber(0);
m_ctrl.SetBaudRate(9600);
m_ctrl.SetByteSize(8);
m_ctrl.SetStopBit(0);
m_ctrl.SetParity(0);
m_ctrl.SetConnect(true);

Remarks

Persistent property.

See Also

您要聯絡嗎?   JazzSoft@live.com
  Copyright © 1997 - 2024 Jazz Soft, Inc.