Home
Community
Discussion Forums
Most Active Software Boards
LabWindows/CVI
Topic
LabWindows/CVI
Register
·
Login
·
Help
Community
Category
Board
Documents
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Topic Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
All Forum Topics
Previous Topic
Next Topic
How to detect whether the COM Port has been occupied or not?
How to detect whether the COM Port has been occupied or not?
jacky Wang
Active Participant
07-25-2006
04:00 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
I need to detect whether the COM Port has been occupied or not before I use it, but don't know how to do it?
Thanks!
Jacky
0
Kudos
Message
1
of 2
(3,119 Views)
Reply
Re: How to detect whether the COM Port has been occupied or not?
RobertoBozzolo
Proven Zealot
07-25-2006
04:04 AM
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report to a Moderator
Couldn't you simply trap if an error occurs on opening? OpenCom and OpenComConfig should return -7 in this case (Cannot open port.).
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
1
Kudo
Message
2
of 2
(3,114 Views)
Reply
All Forum Topics
Previous Topic
Next Topic