User Profile
Collapse
-
It is in Asp.net Console application. -
-
Hi,
I did same as u send but still in console window i am not able to see any thing.
is there any other thing,that i need to set in computerLeave a comment:
-
-
Because first open port and i am writing the string to send to port like
port.write("str ing")
after writing string i am closing port as suggested somewhere in google.
then i am opening the port and reading the data.
actually i followed this link here is code for that:
http://msmvps.com/blogs/coad/archive.../23/39466.aspx...Leave a comment:
-
because after port.write statement i have written
Console.WriteLi ne(port.ReadExi sting()); and in my console window m nog getting any out put;
2)even if i used
port.DataReceiv ed += new SerialDataRecei vedEventHandler (port_DataRecei ved);
private void port_DataReceiv ed(object sender, SerialDataRecei vedEventArgs e)
{
// Show all the incoming data in the port's...Leave a comment:
-
Read/ write string to com port
Hi friends,
I have written code in asp.net to read or write string in com port(COM1).But when i run the program i am not getting any output .Below is my code .How can i check the string which i have send in com port is available in com port for read.
private SerialPort port = new SerialPort("COM 1", 9600, Parity.None, 8, StopBits.One);
port.Open();
...
No activity results to display
Show More
Leave a comment: