Click here to Skip to main content
15,888,802 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is my IP?? Pin
monstale26-Nov-10 2:52
monstale26-Nov-10 2:52 
GeneralRe: What is my IP?? Pin
harold aptroot26-Nov-10 2:54
harold aptroot26-Nov-10 2:54 
AnswerRe: What is my IP?? Pin
Richard MacCutchan26-Nov-10 2:52
mveRichard MacCutchan26-Nov-10 2:52 
AnswerRe: What is my IP?? Pin
Luc Pattyn26-Nov-10 2:54
sitebuilderLuc Pattyn26-Nov-10 2:54 
GeneralRe: What is my IP?? Pin
RobK4104-Jun-11 19:20
RobK4104-Jun-11 19:20 
AnswerRe: What is my IP?? Pin
Luc Pattyn5-Jun-11 0:59
sitebuilderLuc Pattyn5-Jun-11 0:59 
AnswerRe: What is my IP?? Pin
Bernhard Hiller26-Nov-10 3:50
Bernhard Hiller26-Nov-10 3:50 
QuestionSerialPort Fire DataRecevie Pin
I Believe In GOD26-Nov-10 1:15
I Believe In GOD26-Nov-10 1:15 
Hi , have a good day ,

I have an Indicator Weight connect to COM port on My Pc ,

When I press the "Print Button" on the Indicator it sent weight to the Com Port ,

And I receive the data by this events :

private void serialPort1_DataReceived(object sender, SerialDataReceivedEventArgs e)
{
     TxtOutPut.Text = serialPort1.ReadExisting();
}


So far so good ,

The Only problem I had is that When I press The "Print Button" on the indicator "
The DataReceived Firing 5 times , Before all the data sent , For Example :
The indicator Show The Weight on it's screen Like "US,NT 4.590 KG"

so When I press "Print Button" On the Indicator its Sent :

1) US,NT --- DataReceived Firing ,
2) Space --- DataReceived Firing ,
3) 4.590 --- DataReceived Firing ,
4) Space --- DataReceived Firing ,
5) "\r\n" --- DataReceived Firing ,


I think It's Must Sent the Weight as a whole , ( as Other Indicators Works ! )


Any Suggest Would be Appreciated !
I know nothing , I know nothing ...

AnswerRe: SerialPort Fire DataRecevie Pin
JF201526-Nov-10 1:40
JF201526-Nov-10 1:40 
GeneralRe: SerialPort Fire DataRecevie Pin
I Believe In GOD26-Nov-10 2:10
I Believe In GOD26-Nov-10 2:10 
AnswerRe: SerialPort Fire DataRecevie Pin
Luc Pattyn26-Nov-10 2:16
sitebuilderLuc Pattyn26-Nov-10 2:16 
GeneralRe: SerialPort Fire DataRecevie Pin
I Believe In GOD26-Nov-10 2:21
I Believe In GOD26-Nov-10 2:21 
GeneralRe: SerialPort Fire DataRecevie Pin
Richard MacCutchan26-Nov-10 2:54
mveRichard MacCutchan26-Nov-10 2:54 
Questiondirectshow dinamic format change problem Pin
Nematjon Rahmanov26-Nov-10 0:28
Nematjon Rahmanov26-Nov-10 0:28 
QuestionHow to use C++ Classes from C++ DLL in C#? Pin
bankey101025-Nov-10 22:44
bankey101025-Nov-10 22:44 
AnswerRe: How to use C++ Classes from C++ DLL in C#? Pin
Bernhard Hiller25-Nov-10 23:41
Bernhard Hiller25-Nov-10 23:41 
GeneralRe: How to use C++ Classes from C++ DLL in C#? Pin
bankey101025-Nov-10 23:57
bankey101025-Nov-10 23:57 
GeneralRe: How to use C++ Classes from C++ DLL in C#? Pin
JF201526-Nov-10 0:37
JF201526-Nov-10 0:37 
GeneralRe: How to use C++ Classes from C++ DLL in C#? Pin
Dave Kreskowiak26-Nov-10 6:16
mveDave Kreskowiak26-Nov-10 6:16 
QuestionMessagebox appearing behind uninstaller Pin
Jacob D Dixon25-Nov-10 17:32
Jacob D Dixon25-Nov-10 17:32 
AnswerRe: Messagebox appearing behind uninstaller Pin
JF201525-Nov-10 21:33
JF201525-Nov-10 21:33 
GeneralRe: Messagebox appearing behind uninstaller Pin
Jacob D Dixon26-Nov-10 3:51
Jacob D Dixon26-Nov-10 3:51 
QuestionProblem with reading a csv file Pin
benams25-Nov-10 5:33
benams25-Nov-10 5:33 
AnswerRe: Problem with reading a csv file Pin
Dave Kreskowiak25-Nov-10 5:54
mveDave Kreskowiak25-Nov-10 5:54 
AnswerRe: Problem with reading a csv file Pin
Luc Pattyn25-Nov-10 6:03
sitebuilderLuc Pattyn25-Nov-10 6:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.