Is it possible to set the baud rate to 10400? (Using .Net)
+1
A:
Have you examined the .NET SerialPort class documentation - the baud rate is one of the constructor arguments.
That said, the standard baud rates are generally considered to be:
110, 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 56000, 57600 & 115200
...so your serial hardware many not support the somewhat curious rate you're trying to use.
middaparka
2010-01-22 15:25:35
So is your answer yes or no then?
Bandi-T
2010-01-22 15:51:06
@Bandi-T: have you stopped beating your wife? The answer is that the question does not contain sufficient information.
EFraim
2010-01-22 15:52:42
+1
A:
You don't need this. Trust me. Even if you think you do, you don't.
Thorsten79
2010-01-22 15:26:26
A little more context would be nice for those of us who are curious... =)
Erik Forbes
2010-01-22 15:27:17
Google search for 10400 baud results in links to documents mentioning OBD-II, the protocol to communicate with embedded computers in cars.See for example this link: http://www.andywhittaker.com/ECU/OBDIISoftware/tabid/69/language/en-GB/Default.aspx
Bandi-T
2010-01-22 15:33:14
Good job entering this into Google. But I'll beat you with 20 years experience fiddling with all sorts of serial circuitry: You need a port chip that groks the weird baud rate. Which means that normal FIFOs in roundabout 100% of all .NET PCs won't be able to serve the baud rate. So you need an adaptor. And I guarantee you this converter will work with any off-the-shelf serial chip (or emulate the same using USB).
Thorsten79
2010-01-22 18:36:58
@Thorsten79: Hence you were right in the first place - I just provided references in response to Erik Forbes. (Sorry I did not make it clear that my reply was not directed at you.)
Bandi-T
2010-01-22 21:12:56
A:
The direct answer is Yes. If you are implying another question (will it work?) I think you need to try it and see.
Dim mySP As New IO.Ports.SerialPort
mySP.BaudRate = 10400
dbasnett
2010-01-25 15:47:57