Mobile App Development Software
Alpha TransForm - Free Trial
|
Alpha Anywhere - Free Trial
Alpha Software
Documentation
  • User's Guide
  • Dotnet Integration
  • Examples
  • DotNet Example: Serial IO
Parent | Child | Previous | Next
  • DotNet Example: Big Integers
  • DotNet Example: Complex Numbers
  • DotNet Example: Digital Hash
  • DotNet Example: Image metadata class
  • DotNet Example: Matrix Manipulation
  • DotNet Example: Send an email
  • DotNet Example: Serial IO
  • DotNet Example: Speech Synthesis
  • DotNet Example: Using a Private Assembly
  • DotNet Example: Using System.Text.StringBuilder
  • DotNet Example: Working with Enumerated Types
  • DotNet Example: Working with Streams
 

DotNet Example: Serial IO

Description

This is an interactive session that assumes there is a modem on port COM1: and dials the modem.

dim sp as system::io::Ports::SerialPort
?sp.PortName
= "COM1"
 
?sp.BaudRate
= 9600
 
?sp.Parity.value__
= 0
 
sp.Open()
 
sp.WriteLine("atdt9785551212")
 
sp.Close()

See Also

  • .NET System.IO.Ports.SerialPort Class
  • Xbasic DotNet Namespace
Report an issue with this page
Mobile App Development Software

Alpha TransForm - Quickly Build Enterprise Mobile Forms
- Try it for Free

Alpha Anywhere - Low Code Platform for Mobile Developers
- Try it for Free
Alpha Software Corporation

70 Blanchard Road, Burlington, MA 01803-5100, 781.229.4500
© Copyright 2000-2020 Alpha Software Corporation. All Rights Reserved

Privacy Policy