Jump to content

Serial Port in LabView


Mansour

Recommended Posts

Hi everyone,, I am reading serial port from " Basic Serial Write and Read.vi " example. I need to read 2 bytes on this port and then convert from ascii to its equivalent hexadecimal or binary.

What should I change in the above example in order to get 2 bytes from serial port?

Thanks

Link to comment

IMO, it's best to open the visa session, then close it at the end of your program....

Agreed. The existence of the 'Automatically Close VISA Sessions' setting in the IDE has always irked me.

Thanks for reminding me. I totally agree, but just wanted to quickly spit out an example. (I was rushed, you know how regular work can suck up all of your time)

Link to comment
  • 1 month later...

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.