From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.43.103.136 with SMTP id di8mr4497654icc.14.1391984307847; Sun, 09 Feb 2014 14:18:27 -0800 (PST) X-Received: by 10.182.103.195 with SMTP id fy3mr193161obb.1.1391984307729; Sun, 09 Feb 2014 14:18:27 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!c10no12972834igq.0!news-out.google.com!vg8ni21igb.0!nntp.google.com!uq10no11438728igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 9 Feb 2014 14:18:27 -0800 (PST) In-Reply-To: <6d8fc500-b333-42d6-a7bc-e95df93df28c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=74.5.82.164; posting-account=gaNDvQoAAABt5gLhoHxlPNd-DAQzt_m3 NNTP-Posting-Host: 74.5.82.164 References: <6d8fc500-b333-42d6-a7bc-e95df93df28c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7268d5a3-f65a-4c14-9013-1bc837c33696@googlegroups.com> Subject: Re: Hello, and help with GNAT and Windows USB programming From: Gumpy Injection-Date: Sun, 09 Feb 2014 22:18:27 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:18459 Date: 2014-02-09T14:18:27-08:00 List-Id: Thanks for your response. I think I replied directly to you instead of to t= he thread, so not sure where that went. > if the card is using serial comm, then you want to by a usb-to-serial con= verter. >=20 > It will act like a virtual com-port then >=20 > Use it like this (the code spoke with an Arduaino)=20 >=20 ... >=20 > But i'm not sure you'd use serial comm though. >=20 Thank you for the code snippet. This is along the lines of where I was hea= ded. I will study it in detail.=20 What reservations do you have about using Serial Comm? The thermocouple device I'm using is an Omega UTC-USB: http://www.omega.com= /pptst/UTC-USB.html There is a command reference manual here: ftp://ftp.omega.com/public/DASGro= up/products/UTC-USB/UTC_USB-Command_Reference.pdf The serial communications setup is listed at the beginning of the manual. I= t's actually a very simple command set consisting of short strings terminat= ed by . It seems GNAT.Serial_Communications should work well for this b= ut maybe there's a better way?=20 >=20 >=20 > I have a velleman k8055 >=20 > >=20 > which I interfaced with bundled dlls. >=20 > No serial comm at all. >=20 > It involved looping around the usb devices and finding the card, with >=20 > id of manufacturer etc. >=20 >=20 >=20 > I have it on a broken machine, but I might be able to dig it up tomorrow, >=20 > if you think it will help >=20 If you don't mind, that would be really good. The looping through USB devic= es is something I was considering if I couldn't find a better way to find a= nd attach a specific device.=20 The software that came with the thermocouple interface does contain dll's t= hat were installed for the supplied application. Again, I'm new to PC envir= onment programming, so I don't fully understand the concept of dlls and whe= ther these can be useful to what I'm trying to do. There's a lot for me to = learn here. This is one of the reasons I chose this kiln control project. T= he control part is simple enough, but it requires me to learn some underlyi= ng PC concepts in order to get it all working.=20 craig