본문 바로가기

카테고리 없음

Basic Serial Port Programming

  1. Serial Port Communication
  2. Visual Basic Serial Port Programming
Port

Serial Port Communication

Visual Basic Serial Port Programming

. Programming Methods.Controlling a serial port in Visual BasicTo control a serial port in Visual Basic, there is a method to use the.NET Framework SerialPort class and a method to use the Win32 API. Here we will introduce a programming example that sends and receives data using the relatively simple SerialPort class.NET Framework SerialPort (SerialPort class)A COM port class (SerialPort component) has been added to the.NET Framework from Ver. Visual Basic 2005 or later can use the.NET Framework SerialPort component which allows relatively simple control of a COM port.