Click here to Skip to main content
16,005,339 members
Home / Discussions / Hardware & Devices
   

Hardware & Devices

 
AnswerRe: Slow Network Speed Pin
cp987625-Aug-07 17:46
cp987625-Aug-07 17:46 
AnswerRe: Slow Network Speed Pin
Sebastian Schneider27-Aug-07 4:32
Sebastian Schneider27-Aug-07 4:32 
QuestionAccessing ACPI system from code Pin
Tim Wuytens24-Aug-07 2:00
Tim Wuytens24-Aug-07 2:00 
AnswerRe: Accessing ACPI system from code Pin
simonchen.net5-Sep-07 16:00
simonchen.net5-Sep-07 16:00 
GeneralSetup help for Posiflex Bar-code scanner Pin
Brady Kelly23-Aug-07 1:01
Brady Kelly23-Aug-07 1:01 
QuestionRs232 conection for microcontroller Pin
Jelle De Vos19-Aug-07 20:26
Jelle De Vos19-Aug-07 20:26 
AnswerRe: Rs232 conection for microcontroller Pin
Luc Pattyn19-Aug-07 23:00
sitebuilderLuc Pattyn19-Aug-07 23:00 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos19-Aug-07 23:33
Jelle De Vos19-Aug-07 23:33 
Hallo,

My setting are,

PortName = "COM6";
hComm = CreateFile( PortName,
GENERIC_READ | GENERIC_WRITE ,
0,
0,
OPEN_EXISTING,
0,
0);

if(hComm == INVALID_HANDLE_VALUE)
{
Application->MessageBoxA("Kan COM Poort niet openen !\n"
"Neem de kabel uit de poort en\n"
"plaats hem vervolgens terug.",
"Error",
MB_OK | MB_ICONSTOP );
Form6->Close();
}
else
{
dcb.DCBlength = sizeof(dcb);
if(!GetCommState(hComm , &dcb))
{
Application->MessageBoxA("Kan Setting COM poort niet lezen !\n",
"Error",
MB_OK | MB_ICONSTOP );
CloseHandle(hComm);
Form6->Close();
}
else
{
dcb.BaudRate = 9600;
dcb.fBinary = TRUE;
dcb.fParity = TRUE;
dcb.fOutxCtsFlow = FALSE;
dcb.fOutxDsrFlow = FALSE;
dcb.fDtrControl = DTR_CONTROL_DISABLE;
dcb.fDsrSensitivity = FALSE;
dcb.fRtsControl = RTS_CONTROL_DISABLE;
dcb.fTXContinueOnXoff = FALSE;
dcb.fOutX = TRUE;
dcb.fInX = TRUE;
dcb.fErrorChar = FALSE;
dcb.XonLim = 20;
dcb.XoffLim = 20;
dcb.ByteSize = 8;
dcb.Parity = NOPARITY;
dcb.StopBits = ONESTOPBIT;
dcb.XonChar = 0xFF;
dcb.XoffChar = 0xFE;
if(!SetCommState(hComm , &dcb))
{
Application->MessageBoxA("Instelling COM poort fout !\n",
"Error",
MB_OK | MB_ICONSTOP );
CloseHandle(hComm);
Form6->Close();
}
}

I dont now of this works, I'm just a beginner.
I onderstand the flow control not so good. Wen the µC send a XOFF charactar, must I read this on my program of read this autometalic the XOFF character. Is my setting good of not good. I don't now.

If you Netherlands, you may me in the Netherlands.
Thanks,

Jelle
Groeten

GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 0:02
sitebuilderLuc Pattyn20-Aug-07 0:02 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 0:22
Jelle De Vos20-Aug-07 0:22 
GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 0:41
sitebuilderLuc Pattyn20-Aug-07 0:41 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 0:59
Jelle De Vos20-Aug-07 0:59 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 1:07
Jelle De Vos20-Aug-07 1:07 
GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 1:15
sitebuilderLuc Pattyn20-Aug-07 1:15 
GeneralRe: Rs232 conection for microcontroller Pin
Luc Pattyn20-Aug-07 1:45
sitebuilderLuc Pattyn20-Aug-07 1:45 
GeneralRe: Rs232 conection for microcontroller Pin
Jelle De Vos20-Aug-07 1:55
Jelle De Vos20-Aug-07 1:55 
Question22" Monitor Recommendation Pin
martin_hughes18-Aug-07 9:30
martin_hughes18-Aug-07 9:30 
Questionmicrocontroller to use ? Pin
shaikhooo17-Aug-07 14:28
shaikhooo17-Aug-07 14:28 
AnswerRe: microcontroller to use ? Pin
Luc Pattyn17-Aug-07 14:42
sitebuilderLuc Pattyn17-Aug-07 14:42 
AnswerRe: microcontroller to use ? Pin
Alexander M.,19-Aug-07 8:16
Alexander M.,19-Aug-07 8:16 
GeneralRe: microcontroller to use ? Pin
Luc Pattyn19-Aug-07 8:48
sitebuilderLuc Pattyn19-Aug-07 8:48 
AnswerRe: microcontroller to use ? Pin
LittleYellowBird20-Aug-07 4:44
LittleYellowBird20-Aug-07 4:44 
QuestionLaCie Ethernet Disk [modified] Pin
t4ure4n13-Aug-07 23:21
t4ure4n13-Aug-07 23:21 
QuestionHow to send/receive data from/to an outside source Pin
High0ctane13-Aug-07 6:44
High0ctane13-Aug-07 6:44 
AnswerRe: How to send/receive data from/to an outside source Pin
Dan Neely13-Aug-07 7:07
Dan Neely13-Aug-07 7:07 

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.