LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string to character transmission ?

Having a problem when transmitting a large string over a serial port from a
labview application - the receiving device tends to drop the latter characters
from the large string, but it works OK when the string is shorter. No way to
correct the problem in the receiving device.

Is there a labview vi or application that would takle this large string and
break it up to send out one character at a time ?
0 Kudos
Message 1 of 2
(2,110 Views)
You are experiencing a buffer overrun. The receiver cannot process the incoming characters fast enough. If you cannot implement handshaking (RTS/CTS or XON/XOFF), the only thing to do is to split the string into several smaller ones and transmit them in intervals. In the String Function palette there is a String Subset function that you can use to create smaller strings from a large one. Transmit the first substring, allow time for receiver to catch up, then transmit the next one, and so on...
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 2
(2,110 Views)