This is very urgent.
We are trying to connect two PCs using serial cable and have written a
simple read-write application pair in Windows NT, one writing some bytes to
the cable frm one end and the other reading from the other end. Now the
problem we are facing is that the first bit(MSB) of every byte we are
sending is getting reset to 0. We have tried Overlapped/Non-overlapped
read/write, various serial settings etc. But we are not able to converge to
the problem. Can somebody shed some light on this issue. This is very
critical.
Thanks in advance,
Rakesh
Hello Rakesh,
We are trying to connect two PCs using serial cable and have written
a simple read-write application pair in Windows NT, one writing some
bytes to the cable frm one end and the other reading from the other
end. Now the problem we are facing is that the first bit(MSB) of
every byte we are sending is getting reset to 0.
Make sure that the “data bits” parameter on your windows NT box is set
to 8 for this particular port. Also, check the parity is set to
“none”.
Best regards,
Oleg Smolsky
Software Engineer
Allied Telesyn Research
ya, thanks , the problem is solved.
Rakesh Shrivastava
From: Rakesh Shrivastava[SMTP:xxxxx@dcmtech.co.in]
Sent: Thursday, September 28, 2000 10:52 AM
To: NT Developers Interest List
Subject: [ntdev] Data Transmission over serial cableThis is very urgent.
We are trying to connect two PCs using serial cable and have written a
simple read-write application pair in Windows NT, one writing some bytes
to
the cable frm one end and the other reading from the other end. Now the
problem we are facing is that the first bit(MSB) of every byte we are
sending is getting reset to 0. We have tried Overlapped/Non-overlapped
read/write, various serial settings etc. But we are not able to converge
to
the problem. Can somebody shed some light on this issue. This is very
critical.
Thanks in advance,
Rakesh
You are currently subscribed to ntdev as: xxxxx@dcmtech.co.in
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
what was the problem and tell us the solution also yaar??
-----Original Message-----
From: Rakesh Shrivastava [SMTP:xxxxx@dcmtech.co.in]
Sent: Thursday, September 28, 2000 11:53 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Data Transmission over serial cable
ya, thanks , the problem is solved.
Rakesh Shrivastava
From: Rakesh Shrivastava[SMTP:xxxxx@dcmtech.co.in]
Sent: Thursday, September 28, 2000 10:52 AM
To: NT Developers Interest List
Subject: [ntdev] Data Transmission over serial cableThis is very urgent.
We are trying to connect two PCs using serial cable and have written a
simple read-write application pair in Windows NT, one writing some bytes
to
the cable frm one end and the other reading from the other end. Now the
problem we are facing is that the first bit(MSB) of every byte we are
sending is getting reset to 0. We have tried Overlapped/Non-overlapped
read/write, various serial settings etc. But we are not able to converge
to
the problem. Can somebody shed some light on this issue. This is very
critical.
Thanks in advance,
Rakesh
You are currently subscribed to ntdev as: xxxxx@dcmtech.co.in
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
You are currently subscribed to ntdev as: xxxxx@future.futsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
Could it be that you have the ports set to 7 data bits, no parity, given
that the high order bit never toggles? Set it to 8 data bits.
-----Original Message-----
From: Rakesh Shrivastava [mailto:xxxxx@dcmtech.co.in]
Sent: Wednesday, September 27, 2000 10:23 PM
To: NT Developers Interest List
Subject: [ntdev] Data Transmission over serial cable
This is very urgent.
We are trying to connect two PCs using serial cable and have
written a
simple read-write application pair in Windows NT, one
writing some bytes to
the cable frm one end and the other reading from the other
end. Now the
problem we are facing is that the first bit(MSB) of every
byte we are
sending is getting reset to 0. We have tried
Overlapped/Non-overlapped
read/write, various serial settings etc. But we are not able
to converge to
the problem. Can somebody shed some light on this issue.
This is very
critical.
Thanks in advance,
Rakesh
You are currently subscribed to ntdev as:
xxxxx@broadstor.com
To unsubscribe send a blank email to
$subst(‘Email.Unsub’)