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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.58.120.76 with SMTP id la12mr9963490veb.21.1391989038436; Sun, 09 Feb 2014 15:37:18 -0800 (PST) Path: Xl.tags.giganews.com!border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!news.glorb.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!k15no14441526qaq.0!news-out.google.com!s3ni13090qas.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 09 Feb 2014 17:37:18 -0600 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Hello, and help with GNAT and Windows USB programming Date: Sun, 09 Feb 2014 18:37:18 -0500 Organization: IISS Elusive Unicorn Message-ID: References: <6d8fc500-b333-42d6-a7bc-e95df93df28c@googlegroups.com> <7268d5a3-f65a-4c14-9013-1bc837c33696@googlegroups.com> X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES MIME-Version: 1.0 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 76.249.26.199 X-Trace: sv3-2nF9bhD7eqgKChG15pqP8WTXrvhcpUzJWQLtjt8f1hVWgWbXpfwDmU77lMTOJ2S5ygTYLRAm2lPDeCW!pS2H1U2IvR2pdwqixs+9V51NIqECGYJlZFKzUS4v3QcORRRsIj22FjltF0riprhBD6F4arIzgFga!yalZNuJT2fMXjE0LBbKnq17wJY4= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3647 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Received-Bytes: 3437 X-Received-Body-CRC: 3686261825 Xref: number.nntp.dca.giganews.com comp.lang.ada:184763 Date: 2014-02-09T18:37:18-05:00 List-Id: On Sun, 9 Feb 2014 14:18:27 -0800 (PST), Gumpy declaimed the following: >Thank you for the code snippet. This is along the lines of where I was headed. I will study it in detail. > >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 > Based on the download page, it uses the .NET runtime; has anyone interfaced GNAT with .NET? {Well -- addendum -- the .NET stuff may only apply to the supplied demo application} It does look like EACH thermocouple will require one of these devices, so even if they appear as COMx ports, your application will have to be able to select the appropriate port for each of these devices. >The serial communications setup is listed at the beginning of the manual. It's actually a very simple command set consisting of short strings terminated by . It seems GNAT.Serial_Communications should work well for this but maybe there's a better way? > No -- other than the matter of linking to the correct virtual COMx port. > >The software that came with the thermocouple interface does contain dll's that were installed for the supplied application. Again, I'm new to PC environment programming, so I don't fully understand the concept of dlls and whether 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. The control part is simple enough, but it requires me to learn some underlying PC concepts in order to get it all working. > M$ DLL (dynamic link library) ~= Linux/UNIX SO (shared object) but with a bit more overhead I think. The question now turns into your control side... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/