Click here to Skip to main content
15,913,722 members
Home / Discussions / C#
   

C#

 
AnswerRe: Refreshing a page at frequent intervals Pin
Pete O'Hanlon7-Dec-06 23:45
mvePete O'Hanlon7-Dec-06 23:45 
GeneralRe: Refreshing a page at frequent intervals Pin
meeram3958-Dec-06 1:29
meeram3958-Dec-06 1:29 
GeneralRe: Refreshing a page at frequent intervals Pin
Pete O'Hanlon8-Dec-06 2:27
mvePete O'Hanlon8-Dec-06 2:27 
GeneralRe: Refreshing a page at frequent intervals Pin
meeram39511-Dec-06 23:54
meeram39511-Dec-06 23:54 
Questionethernet comm instead of serial Pin
faladrim7-Dec-06 23:09
faladrim7-Dec-06 23:09 
AnswerRe: ethernet comm instead of serial Pin
Ed.Poore7-Dec-06 23:13
Ed.Poore7-Dec-06 23:13 
GeneralRe: ethernet comm instead of serial Pin
faladrim7-Dec-06 23:21
faladrim7-Dec-06 23:21 
GeneralRe: ethernet comm instead of serial Pin
Ed.Poore8-Dec-06 7:40
Ed.Poore8-Dec-06 7:40 
First I would try using some form of simple compression algorithm to see if you can shrink the data first if this is viable. It'll be simpler than changing the hardware.

A second alternative would be to try and find a USB module for the microprocessor, there are drivers available for Windows which make the USB port then look like a very high speed serial port. Nothing would need to be changed in the code except for the baud rate to reflect the change in speed.

Thirdly, to read data over an ethernet connection you need to establish a connection using the System.Net.(Sockets?.)TcpClient class. Basically you connect to a specific IP address and port number and the TcpClinet is inherited from System.IO.Stream so you can create a StreamReader / Writer, BinaryReader / Writer etc from this to read in the data however you want.

E.g. (this is off the top of my head so I can't verify it's accuracy)
TcpClient micro = new TcpClient(ipAdressOfMicro, portNumber);
StreamReader microInput = new StreamReader(micro.BaseStream);
// Read in a line of text from the micro
string line = microInput.ReadLine();



I have no idea what I just said. But my intentions were sincere.

QuestionPostMessage(WM_CLOSE) Pin
Dewald7-Dec-06 22:37
Dewald7-Dec-06 22:37 
AnswerRe: PostMessage(WM_CLOSE) Pin
Luc Pattyn8-Dec-06 2:00
sitebuilderLuc Pattyn8-Dec-06 2:00 
GeneralRe: PostMessage(WM_CLOSE) Pin
Dewald8-Dec-06 3:11
Dewald8-Dec-06 3:11 
GeneralRe: PostMessage(WM_CLOSE) Pin
Luc Pattyn8-Dec-06 4:54
sitebuilderLuc Pattyn8-Dec-06 4:54 
QuestionDeterming SQL Express Instance name using C# Pin
wasife7-Dec-06 22:05
wasife7-Dec-06 22:05 
AnswerRe: Determing SQL Express Instance name using C# Pin
Ed.Poore7-Dec-06 23:14
Ed.Poore7-Dec-06 23:14 
QuestionHow to Use Sql Transactions With DataRow ? Pin
hdv2127-Dec-06 21:55
hdv2127-Dec-06 21:55 
QuestionSelect more than one subitem in ListView Pin
Sarvan AL7-Dec-06 21:16
Sarvan AL7-Dec-06 21:16 
AnswerRe: Select more than one subitem in ListView Pin
Ed.Poore7-Dec-06 23:15
Ed.Poore7-Dec-06 23:15 
QuestionException:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 21:15
Saira Tanwir7-Dec-06 21:15 
AnswerRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
chravisankar7-Dec-06 21:21
chravisankar7-Dec-06 21:21 
AnswerRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 21:37
Saira Tanwir7-Dec-06 21:37 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
chravisankar7-Dec-06 21:47
chravisankar7-Dec-06 21:47 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 21:55
Saira Tanwir7-Dec-06 21:55 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
chravisankar7-Dec-06 22:02
chravisankar7-Dec-06 22:02 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
quiteSmart7-Dec-06 22:02
quiteSmart7-Dec-06 22:02 
GeneralRe: Exception:System.IndexOutOfRangeException (Urgent) Pin
Saira Tanwir7-Dec-06 22:08
Saira Tanwir7-Dec-06 22:08 

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.