No announcements
Found 2250412 threads
-
0 Votes
.Net SerialPort class Write buffer information.
>When writing to an open SerialPort, how can I determine if there is enough room in the write buffer, considering that it may already have contents waiting to sendAnswered | 2 Replies | 418 Views | Created by NK3 - Monday, October 3, 2016 5:52 PM | Last reply by NK3 - Tuesday, October 4, 2016 6:40 PM -
0 Votes
C# SerialPort receive buffer & input buffer
. There's a problem however if the binary data you receive contains a byte with value 0x1A. SerialPort will call your event, regardless of how many bytes are available in the ...Answered | 6 Replies | 20527 Views | Created by Immanuel2005 - Thursday, April 17, 2008 3:25 AM | Last reply by nobugz - Saturday, April 19, 2008 3:42 PM -
1 Votes
SerialPort DataReceived buffer Construction
I would like to build up my buffer until the closing tag on my XML "</li840>" is received and then send the string to my parsing ...Answered | 4 Replies | 3489 Views | Created by Martin Murray - Wednesday, June 15, 2011 4:34 AM | Last reply by Acamar - Friday, June 17, 2011 9:57 PM -
0 Votes
write sbyte in serialport.
Hi, How can I write sbyte in serialport?. I need same thing like: serialport ...Answered | 1 Replies | 3258 Views | Created by Haythem77 - Tuesday, June 1, 2010 11:32 AM | Last reply by Haythem77 - Tuesday, June 1, 2010 12:27 PM -
1 Votes
SerialPort class
0 Then Buffers -= 1 End While End Sub Function Write(Buffer() As Byte) As Integer Dim BytesWritten(0) As Integer Kernel32.WriteFile(hSP, ...Answered | 20 Replies | 4621 Views | Created by RuvenV - Thursday, March 15, 2012 9:12 AM | Last reply by JohnWein - Sunday, March 18, 2012 3:57 PM -
0 Votes
SerialPort class misbehaving?
I'm trying to use the SerialPort class to communicate with a servo controller, and I have a slightly annoying problem. When I write anything to the output ...Discussion | 1 Replies | 4401 Views | Created by a_n_o_n_y_m_o_u_s___ - Monday, April 23, 2007 7:48 PM | Last reply by nobugz - Friday, April 27, 2007 3:09 AM -
1 Votes
serialport write
Hi all! I have a problem with my serialport. Sometimes, if I send a long (35 char) command, only first 20 chars are sent; last chars, maybe, remain in a ...Answered | 3 Replies | 3484 Views | Created by Athos84 - Wednesday, October 15, 2008 8:58 AM | Last reply by nobugz - Wednesday, October 15, 2008 12:49 PM -
0 Votes
Serialport Class
I am using the Serialport Class to receive strings of text from a serial device. However, if I writeAnswered | 1 Replies | 3836 Views | Created by RARiedel - Tuesday, July 11, 2006 3:41 AM | Last reply by nobugz - Wednesday, July 12, 2006 6:06 PM -
0 Votes
SerialPort Class
keeps catching that exception everytime that I try to write in the serialport. How can I continue sending characters?Answered | 2 Replies | 3923 Views | Created by Arturo Moreno - Monday, July 17, 2006 2:09 PM | Last reply by Arturo Moreno - Tuesday, July 18, 2006 5:35 AM -
0 Votes
Delayed serialport write
Is it o.k. to use delayed serialport write like this, or is there some other better way to do it and why? serialport.Write("1"Answered | 1 Replies | 2318 Views | Created by mcupwr - Tuesday, May 29, 2012 11:41 AM | Last reply by Ellen Ramcke - Tuesday, May 29, 2012 12:18 PM -
1 Votes
SerialPort write, flush
Hi, I've noticed that the System.IO.Ports.SerialPort class sends data if and only if the write buffer inside the class is full. I'd like to know ...Answered | 2 Replies | 8844 Views | Created by Eosie - Wednesday, July 9, 2008 8:19 PM | Last reply by Martin Xie - MSFT - Thursday, July 17, 2008 2:18 AM -
0 Votes
C# Thread class, SerialPort class
I am creating a thread in my component to execute a piece of code(method) which sends/ receives data/ command to/ from serial port( I am using SerialPort class). ...Answered | 1 Replies | 3678 Views | Created by Hojjy - Thursday, July 5, 2007 6:41 AM | Last reply by Evan H - Thursday, July 5, 2007 7:35 AM -
0 Votes
fOutxCtsFlow in SerialPort class
Setting SerialPort.Handshake to Handshake.RequestToSend or Handshake.RequestToSendXOnXOff will set fOUtxCtsFlow and will cause Write methods to block after CTS goes inactive. I wrote the ...Answered | 1 Replies | 6654 Views | Created by Alex Barry - Monday, March 20, 2006 2:49 PM | Last reply by Ryan Byington - Tuesday, April 18, 2006 5:43 PM -
0 Votes
SerialPort Class Implementation
The SerialPort class belongs to the :NET Framework. If you want to program managed code you can use it. For unmanageged code ...Answered | 3 Replies | 4522 Views | Created by Ademaure - Tuesday, April 25, 2006 10:39 AM | Last reply by Martin Richter - Tuesday, April 25, 2006 5:57 PM -
2 Votes
Problem Serialport Class GetPortNames
/Vsexpressinstall/thread/440c79b8-2f55-4d1b-a4e8-df931f3d7fa9 httpAnswered | 2 Replies | 3366 Views | Created by Toussaic - Friday, March 19, 2010 3:32 PM | Last reply by Toussaic - Monday, March 22, 2010 9:09 AM -
0 Votes
SerialPort class help...
Please forgive me if this is a silly question, but it's been a while since I've played with Serial Port communication. I'm using the .NET 2.0 SerialPort class. I ...Answered | 1 Replies | 3332 Views | Created by drgarp - Wednesday, November 8, 2006 8:39 PM | Last reply by nobugz - Wednesday, November 8, 2006 11:52 PM -
0 Votes
SerialPort->Write(Byte) problem
Hi, Are you getting the following compiler error with your codes? error C2664: 'void System::IO::Ports::SerialPort::Write(cli::arrayAnswered | 4 Replies | 17577 Views | Created by tamirci - Friday, March 12, 2010 3:50 PM | Last reply by tamirci - Tuesday, April 13, 2010 6:41 PM -
0 Votes
problems using SerialPort class
? What stimulates the movement of the data from otherl buffer to the SerialPort ...Answered | 12 Replies | 3829 Views | Created by gearhead - Sunday, May 6, 2007 1:51 PM | Last reply by Carsten Kanstrup - Monday, May 21, 2007 1:48 PM -
0 Votes
In serialport->write() i have a error
If it is a native class, then use the managed SerialPort class or try this: #include <msclr/marshal.h> . . . ...Answered | 1 Replies | 397 Views | Created by KrishnaPriya C - Saturday, April 18, 2015 12:43 PM | Last reply by Viorel_ - Saturday, April 18, 2015 5:41 PM -
0 Votes
SerialPort Read/Write
If your hardware is working, you should have no problems with Write(ByteArray, Offset, Count), which is the only byte related send method there is.Answered | 1 Replies | 4693 Views | Created by _tom_A - Tuesday, April 22, 2008 9:20 AM | Last reply by Carsten Kanstrup - Tuesday, April 22, 2008 2:50 PM - Items 1 to 20 of 2250412 Next ›
No announcements