JWColby
jwcolby at colbyconsulting.com
Wed Sep 27 06:40:33 CDT 2006
When I was doing a program at the screw company, I used the serial object that comes with VB (not vba). I think it was an OCX IIRC. I placed it on a form and hooked the events up. I could then program the uart (start, stop parity, baud) and then read/write the buffers. The only issue is that the object is part of VB and you have to have some kind of license installed on the machine. It was a while ago and I don't remember the details. I do know I wrapped it in a class however. John W. Colby Colby Consulting www.ColbyConsulting.com -----Original Message----- From: dba-tech-bounces at databaseadvisors.com [mailto:dba-tech-bounces at databaseadvisors.com] On Behalf Of Lembit Soobik Sent: Wednesday, September 27, 2006 4:30 AM To: Discussion of Hardware and Software issues Subject: Re: [dba-Tech] OT: Is anyone into controllers? oh, thats great. Thanks a lot. now I only need to find out how to talk to the serial, but I think there must be some dll or such around somewhere. Lembit ----- Original Message ----- From: "Stuart McLachlan" <stuart at lexacorp.com.pg> To: "Discussion of Hardware and Software issues" <dba-tech at databaseadvisors.com> Sent: Tuesday, September 26, 2006 10:48 PM Subject: Re: [dba-Tech] OT: Is anyone into controllers? > On 26 Sep 2006 at 15:41, Lembit Soobik wrote: > >> thank you , Stuart, >> the microprocessor side is not that difficult. >> The problem is, how to write/read the USB port from the PC side without >> needing to develop a driver or such. > > You don't need to. The cables generally come with drivers which make them > look like standard serial connections. > > As an example, I run CMap on my laptop on a boat with a Garmin 76 GPS. > > Th GPS has a standard serial interface, my laptop doesn't have an serial > port and the CMap software doesn't know anything about USB ports, it only > knows how to interface to a Com1: to Com4:. > > When I plug my GPS to my laptop usin the adapter cable, the GPS thinks it > is talking over a standard RS323 interface and CMap thinks that it is > reading/writing on Com2: (my laptop thinks that the built in modem is > sitting on Com1:) > > > -- > Stuart > > > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com > _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech Website: http://www.databaseadvisors.com