Click here to Skip to main content
15,892,927 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
GeneralRe: Did I kill my wireless router? Pin
puromtec113-Oct-09 17:38
puromtec113-Oct-09 17:38 
GeneralRe: Did I kill my wireless router? Pin
Richard MacCutchan14-Oct-09 2:24
mveRichard MacCutchan14-Oct-09 2:24 
AnswerRe: Did I kill my wireless router? Pin
Luc Pattyn13-Oct-09 4:31
sitebuilderLuc Pattyn13-Oct-09 4:31 
GeneralRe: Did I kill my wireless router? Pin
puromtec113-Oct-09 17:55
puromtec113-Oct-09 17:55 
QuestionNeed help to finish script for sorting and renaming Local Area Connections Pin
lunjaa7-Oct-09 4:49
lunjaa7-Oct-09 4:49 
AnswerRe: Need help to finish script for sorting and renaming Local Area Connections Pin
lunjaa11-Jan-10 10:07
lunjaa11-Jan-10 10:07 
QuestionRead Data from multiple RS232 Ports Pin
AB_dev7-Oct-09 3:22
AB_dev7-Oct-09 3:22 
AnswerRe: Read Data from multiple RS232 Ports Pin
Luc Pattyn13-Oct-09 3:32
sitebuilderLuc Pattyn13-Oct-09 3:32 
AFAIK DataReceived fires on a separate thread (probably one from the ThreadPool), and a different one for different serial ports. You are not allowed to touch any GUI Control from there, see this article[^].

Getting data in correctly from a serial port isn't straightforward:
- with DataReceived you are never sure when it will fire, and how much data will be available; assuming the incoming data is message oriented, messages may be cut into pieces, or multiple messages may appear in one chunck of data received.
- without DataReceived, you either have no events at all, or you need to perform a periodic read, based on some timer. Then CPU cycles are wasted when the port is idle, and messages have to be reassembled in code.
The right approach depends on the kind of data (text vs binary), the maximum message length, the required maximum latency time, and much more.

You need a rock-solid solution for one port, fitting your exact needs; then duplicate that for all the other ports.

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? Neen!


QuestionRead data from usb Pin
hande545-Oct-09 8:06
hande545-Oct-09 8:06 
AnswerRe: Read data from usb Pin
Richard MacCutchan5-Oct-09 10:58
mveRichard MacCutchan5-Oct-09 10:58 
GeneralRe: Read data from usb Pin
hande545-Oct-09 11:32
hande545-Oct-09 11:32 
GeneralRe: Read data from usb Pin
Richard MacCutchan5-Oct-09 11:35
mveRichard MacCutchan5-Oct-09 11:35 
QuestionWM_DEVICECHANGE message with monitor Pin
keancaptinh4-Oct-09 16:40
keancaptinh4-Oct-09 16:40 
AnswerRe: WM_DEVICECHANGE message with monitor Pin
Indivara30-Oct-09 4:50
professionalIndivara30-Oct-09 4:50 
QuestionReading the Intel Firmware Hub RNG Pin
ChrisBosch28-Sep-09 1:41
ChrisBosch28-Sep-09 1:41 
AnswerRe: Reading the Intel Firmware Hub RNG Pin
Richard MacCutchan28-Sep-09 4:00
mveRichard MacCutchan28-Sep-09 4:00 
AnswerRe: Reading the Intel Firmware Hub RNG Pin
Dave Kreskowiak28-Sep-09 4:53
mveDave Kreskowiak28-Sep-09 4:53 
GeneralRe: Reading the Intel Firmware Hub RNG Pin
ChrisBosch29-Sep-09 1:04
ChrisBosch29-Sep-09 1:04 
GeneralRe: Reading the Intel Firmware Hub RNG Pin
Dave Kreskowiak29-Sep-09 2:06
mveDave Kreskowiak29-Sep-09 2:06 
GeneralRe: Reading the Intel Firmware Hub RNG Pin
ChrisBosch29-Sep-09 2:37
ChrisBosch29-Sep-09 2:37 
AnswerRe: Reading the Intel Firmware Hub RNG Pin
Randor 30-Sep-09 0:01
professional Randor 30-Sep-09 0:01 
GeneralRe: Reading the Intel Firmware Hub RNG Pin
ChrisBosch30-Sep-09 20:13
ChrisBosch30-Sep-09 20:13 
Questionfor privacy Pin
beenabusedforever0023-Sep-09 10:11
beenabusedforever0023-Sep-09 10:11 
AnswerRe: for privacy Pin
Dan Neely23-Sep-09 10:55
Dan Neely23-Sep-09 10:55 
QuestionWhat's the criteria for detecting a replaced CD? (Windows) Pin
kakan23-Sep-09 0:04
professionalkakan23-Sep-09 0:04 

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.