Jump to content

Help transmitting binary on serial


Aaron L

Recommended Posts

Posted

Hello,

I am having trouble sending binary through the serial VI in LV 2009 (same problem in 8.5, 8.6). I'm fine until I attemp to send 0x00. The transmission stops. Attached is a sample VI. If anyone can direct me to exactly how to do this, I will appreciate it. The help on NI's site doesn't have good links any more.

Regards,

Aaron

binary out serial.vi

Posted

Could your device be interpreting 0x0 as its termination character?

I'm using another computer running B&B Electronics ComTest as a surrogate receiver so I can see what bytes are coming across. The transmission stops at 0x00 and 0x00 isn't ever sent. I have another device that I can transmit a 0x00 null character and the PC running ComTest reads it perfectly as well as characters following 0x00.

Attached is an image of the VI.

post-4583-127084551292_thumb.jpg

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.