473,396 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

sending data with serial port problem (16chars=ok, >17chars Not working)

Hi,

I have a LED Sign with standard software to control messages (via
serial port). Because the limitations of the software I want my own
VB.net program.
With a serial analyzer program, I see all the data that the standard
program is sending to de LED sign.
With my ownprogram I send the same, and it works fine... except:
If I send a string to the LED Sign with a length of upto 16 chars it
works fine, but if the lengthe is 17 chars or more. The sign will nog
display it.
Any suggestions?
I allready tried the following:
-increase the send buffer
-split the string and use serialport.write("asdf") twice

Thanks in advance

Mar 15 '07 #1
1 1600
It may be that the sign has a 16 byte input buffer and when you send
it more than 16 bytes at one time, it cannot handle all the data. You
might try inserting a delay between each character or a delay between
each packet of 16 bytes that you send to the sign to give it enough
time to read in the data.

On 15 Mar 2007 06:55:22 -0700, cv*****@gmail.com wrote:
>Hi,

I have a LED Sign with standard software to control messages (via
serial port). Because the limitations of the software I want my own
VB.net program.
With a serial analyzer program, I see all the data that the standard
program is sending to de LED sign.
With my ownprogram I send the same, and it works fine... except:
If I send a string to the LED Sign with a length of upto 16 chars it
works fine, but if the lengthe is 17 chars or more. The sign will nog
display it.
Any suggestions?
I allready tried the following:
-increase the send buffer
-split the string and use serialport.write("asdf") twice

Thanks in advance
Apr 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: ken | last post by:
Hello everyone, I'm new to visual VB and I am trying to setup communications to the outside world. I found the example listed below in the help section of Microsoft Visual Basic 2005 Express...
3
by: Stu Lock | last post by:
Hi, I am trying to write a script that sends a code to a COM port to open a till draw. The code at the bottom of the page (written in C) is what the suppliers sent as an example. I have used the...
2
by: wesolutki | last post by:
Hi, how to send data to other application by serial port? I want to have two programs opened on one computer, one send and second recive data, but using serial port. Wesolutki :-)
15
by: colin | last post by:
Hi, Im familiar with c,c++ etc, and Ive spent a week trying to write my first app in c# it works reasonably well, but im having difficulty getting to grips with inter thread signalling etc. I...
23
by: cmdolcet69 | last post by:
How can i add a 5ms delay between bytes i send over to a controller? I have to send 6 bytes in total however in between each byte i need to have a 5ms delay.
1
by: Rich | last post by:
Hello, I am working on a python library for sending and receiving data from a Subaru's ECU (the fuel injection computer) via the OBD-II port and an OBD to USB cable, with the Subaru Select Monitor...
1
by: ASPnewb1 | last post by:
I'm running into a problem of how to send a string across to another machine via serial port using the serial port class. The string that needs to be sent is like this, ...
0
by: Charles Crawford | last post by:
Hi, This apparently is a common problem and I've yet to read a solution that actually works for my specific situation. I have a Zebra RW220 printer that I connect to via Bluetooth connection...
0
by: =?Utf-8?B?Q2hhcmxpZQ==?= | last post by:
Hi, This apparently is a common problem and I've yet to read a solution that actually works for my specific situation. I have a Zebra RW220 printer that I connect to via Bluetooth connection...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.