Jump to content

how to open and close serial port?


Gunjan

Recommended Posts

Hi everyone,

I am new with LabVIEW. This is the first project I am doing. I want to use Labview as a Hyper Terminal, But I am unable to determine how do I open and Close Serial port before and after the session. So that the port is free for other applications.

Thanks

Serial communication in LabVIEW works through the NI-VISA infrastructure. All the VIs you need can be found in the Instument I/O>Serial palette. You don't have to open the port (although you may need to configure it), but to close it you use Visa Close. You can probably find quite a few examples in the example finder (Help>>Find Examples). You should try looking up some tutorials to learn more about LV.

Link to comment
Hi everyone,

I am new with LabVIEW. This is the first project I am doing. I want to use Labview as a Hyper Terminal, But I am unable to determine how do I open and Close Serial port before and after the session. So that the port is free for other applications.

Thanks

Take a look at Scott Hannah's Serial library; it already has a simple terminal emulator.

http://sthmac.magnet.fsu.edu/labview/vi_library.html

Neville.

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.