Jump to content

Pop up error if COM port is already in use


Recommended Posts

Oh, I am the first to post here on the 'NEW' LAVA smile.gif

Hi all,

I have COM prot selection utility done in which the Com port indicator output passes on to my program further. However, as seen in the attached file, I need to Notify user if a particular COM port is already open by using one button dialog box. In the case as shown in the screenshot, no data would be coming to the program input and also, no error would be getting popped up if the port is already in use.

Could anyone please tell me how can I pop a message to the user if the port is already open without using any timeout logic?

I am using VISA Configure Serial port to take the com port input from the following diagram

post-12235-124636593629_thumb.jpg

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.