

How to do a serial port programming in Visual Studio C ++ that is portable betwe...
source link: https://www.codesd.com/item/how-to-do-a-serial-port-programming-in-visual-studio-c-that-is-portable-between-windows-linux.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to do a serial port programming in Visual Studio C ++ that is portable between Windows & Linux?
I'm writing a test program that need to access serial port. I'm doing it in Visual studio 2012 now, but I want to port to Linux later. (For using in my Pandaboard)
Can you suggest me a way to access serial port that has almost the same interface between Win & Linux?
I used to do it in Labview, but now I want to turn to C++
Thank you so much for your help!
Boost.ASIO is well-documented, well-tested, has been peer reviewed by thousands of people, and fully supports serial port communication in a cross-platform manner. Specific documentation can be found here.
That being said, it does assume a moderate skill level in modern C++, so if you're new to the language then the learning curve may be a bit steep.
Related Articles
How to debug a C # .NET application in Visual Studio 2010 that starts from another process
VB6 Serial Port Programming
Writing to a serial port (Com) in Visual C ++
How can I debug a program with Visual Studio 2010?
& Ldquo; Step over & rdquo; When debugging multithreaded programs in Visual Studio
How to compile, build, and debug MASM using Visual Studios Standard 2005
How to read SQL Server table columns in Visual Studio?
How to configure Vim to compile using the Visual Studio 2010 C ++ compiler?
How to run the c # visual studio project created in ubuntu in Windows 10
How to publish to multiple Web sites in Visual Studio in a batch
How do I script the deployment of a Visual Studio database project?
How to enable the C ++ 11 compiler on Visual Studio 2010 express edition?
How do I get Silverlight Add-On for Visual Studio 2010 and a sample code?
How do I connect to a database in Visual Studio
Recommend
-
83
The Visual Studio Code team continues to add Java functionality to Microsoft's open source, cross-platform code editor via extensions, just launching a new batch for working with Maven, Tomcat and Checkstyle.
-
57
Introduction Today, the Go team at Google is releasing a new open source project, Go Cloud , a library and tools for developing on the
-
9
pySerial Overview This module encapsulates the access for the serial port. It provides backends for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant system) and Ir...
-
12
Handy portable iPad stand is also a 6-port hub [Review]The Satechi Aluminum Stand & Hub has what you need to make your iPad Pro or Air into a portable desktop.Photo: Ed Hardy/Cult of MacThe Satechi Aluminum Stand & H...
-
17
Hardware Surface Laptop Studio: Microsoft’s New Portable Workstation
-
4
Linux Fu: The Infinite Serial Port Ok, the title is a bit misleading. Like most things in life, it really isn’t infinite. But I’m going to show you how you...
-
8
Introducing the private preview of port tunneling in Visual Studio for ASP.NET Core projects
-
9
Serial and Zephyr support for Visual Studio and VS Code Marc Goodner
-
3
MiCreator Studio hands-on: A $199 portable recording studio worth more than its price tagAustrian Audio put an excellent condenser mic and a simple audio interface in a tiny, affordable package.
-
9
Book Review: The Handover explores how AI is shifting the delicate balance between states, companies, and institutions By Geo...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK