Win32 |
Author |
Message |
Tex Willer Guest
|
Posted: Mon Jun 19, 2006 11:59 am Post subject: Serijski port |
|
|
"Pozdrav, radim jedan projekt di bi iz txt datoteke citao char po char i slao
ga na serijski port." - Slanje na serijski port |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Aug 26, 2006 12:48 pm Post subject: |
|
|
Serial How-To, by Rob Bayer.
"This document describes how to open, configure, read, and write a
serial port. My original intent was for people to use this to write their own
dashboard viewer, but you could just as easily use it for anything else
relating to serial ports..." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Wed Jan 10, 2007 7:25 pm Post subject: |
|
|
C Board: Serial Port Basics
"I am trying to learn how to write a program that opens a serial port on
the local machine and then monitors incoming messages from the port." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Mar 30, 2007 9:38 am Post subject: |
|
|
cboard - Serial Port Silliness
"Now see here's the funny thing:- you go through all the rigmarole of checking
these settings in the Device Manager to make sure they're correct, and yet
when you finally get a handle to the port Windows decides you'd be better
off with 1200 baud, 7N1." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
Posted: Sun Jul 01, 2007 7:06 pm Post subject: |
|
|
msdn: Configuring a Communications Resource
"The following example opens a handle to COM2 and fills in a DCB structure
with the current configuration. The DCB structure is then modified and used
to reconfigure the device." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun Apr 05, 2009 5:24 am Post subject: |
|
|
cboard - Getting a List of the USB devices listed on the system
"I'm trying to get a list of the USB devices attached to my system. I thought
using the Raw Input API would se them (GetRawInputDevice and co) but so
far Zilch." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Apr 22, 2009 10:04 pm Post subject: |
|
|
cboard - Serial Port Basics
"wow really cool, that just helped me alot. I was doing some research on set-
tings and on port closure. thank you very much for the sample code, that re-
ally helped out on what I was working on....." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3146 Location: Europe
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Oct 26, 2009 1:08 am Post subject: |
|
|
MF - Serial port communication (Tiger vs Leopard)
"Then I installed the open source driver for the Prolific PL2303 chips (you can
download this driver from the internet.
The device which will be created is /dev/cu.PL2303-xxxxxxxx where xxxxxx
is depending on the USB port where the adapter is connected." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun May 16, 2010 6:48 pm Post subject: |
|
|
MF - USB to Serial communicating for a motor controller
"I am doing a senior design project. We are using an isight to do image cap-
turing of a resistor, then figuring out its' resistance through band color ident-
ification. We then have a conveyor belt system to transport the resistor to
an appropriate bin. We have found a unix script to capture information from
the isight, but we don't know to use my powerbook to write to a motor con-
troller." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Dec 07, 2010 11:42 pm Post subject: |
|
|
MF - iPhone serial port programming?
"I got a cheap serial Bluetooth adapter and it actually works fine. It does
however take a few minutes to get it configured and setup." |
|
Back to top |
|
|
XNote Kapetan
Joined: 16 Jun 2006 Posts: 532
|
Posted: Fri Jan 28, 2011 8:20 pm Post subject: |
|
|
MF - usb com port number??
"I've looked in the /dev folder for tty.usb or cu.usb but there is no usb listing
in my /dev folder!!! Any idea how I find out what port to use? here is the
sample linux code if this helps anyone" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Jan 18, 2012 2:08 pm Post subject: |
|
|
cboard - How to set paper size for the default printer through a program?
"This should call the Print Dlg without showing it, returning the default
printers settings. The DevMode struct will contain the paper size.
Also you can use the EnumPrinters() function, with the PRINTER_ENUM_DEFAULT flag." |
|
Back to top |
|
|
|