|
-
Feb 28th, 2008, 07:56 PM
#1
Thread Starter
New Member
Serial port access in WM6 Standard via SerialPort - TX works fine, RX crashes
Hello,
This is the first time I've ever used VB.NET. I'm used to VB6. I am trying to create a serial terminal program for my WM6. I have a bluetooth serial adaptor connected to a microcontroller development board. I have created a textbox. When there is a keypress event I use 'serialport.write(e.keychar)' That works fine. I'm having problems with the SerialPort_DataReceived method. There are a few methods that seem to do what I want for receiving:
serialport.
read
readbyte
readchar
readline
readexisting
I've tried readbyte, readchar, readline and readexisting and they all throw an exception.
All I want to do is get a single byte from the serial port and place it in txtTerminal (My 'terminal' window).
The serial connection is via a bluetooth adaptor.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|