cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/01/11:40:47

To: djgpp AT delorie DOT com
Subject: Re: National Instruments abd DJGPP?
Message-ID: <19990601.083909.10271.0.vmccar@juno.com>
References: <Pine DOT A41 DOT 4 DOT 05 DOT 9905311822330 DOT 42442-100000 AT ieva01 DOT lanet DOT lv>
X-Mailer: Juno 1.49
X-Juno-Line-Breaks: 2,4-27,29-30,32,34-41,43-63,65-92
From: Vincent D McCarthy <vmccar AT juno DOT com>
Date: Tue, 01 Jun 1999 11:39:01 EDT
Reply-To: djgpp AT delorie DOT com

 I have worked many GPIB programs in QuickBasic. I recently sent a e-mail
to national Instruments concerning writing programs with DJGPP and also
GNAT ADA.
Below is the answer I received, though I didn't find it of much help, it
might help you a little bit

Good luck... Vince

Subject:
gpib programs
National Instruments
     I am inquiring if the GPIB-AT & PC-GPIB programs can be made with a
C/C++  compiler program called DJGPP, or GNAT Ada, an ADA compiler  which
is a 32 bit DOS based program. We have been using QuickBasic but would
like to change over to either one.
Thank you.
Vincent D. McCarthy

From: Support AT natinst DOT com

Note:  Your reference number is included in the subject field of this
message.  Please include your reference number (in the same format as
above) in the subject for any future correspondence with regard to this
issue.


Dear Vincent,

We do have a DOS Extender Language Interface, but it is written for
C/C++.
I seriously doubt that you would be able to link in one of the existing
.OBJ files with your ADA app. You could try though. If you are
interested,
you could buy the source code and convert the C calls to something that
ADA
could handle. The hardest part will be going from protected mode to real
mode. In some cases (like the Borland C DOS Extender LI that works with
Borland Power Pack) we had to use Assembly language, in other cases, we
were able to use one of the DOS Extender's calls (like Phar Lap with the
Borland C DOS Extender LI) to do the "dirty" work for us.

Nobody here is very familiar with ADA and I do not know if you can call
assembly routines or use inline assembly routines. Therefore, I am not
sure
if ADA is up to the task or not.

Best regards,
Eric Singer
GPIB Applications Engineer
To:
info AT natinst DOT com
cc:


___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at
http://www.juno.com/getjuno.html

or call Juno at (800) 654-JUNO [654-5866]




On Mon, 31 May 1999 18:29:03 +0300 (WET) Andris Pavenis
<pavenis AT lanet DOT lv> writes:
>
>
>On Mon, 31 May 1999, %full name% wrote:
>
>> Are there any DOS natinst driver for the NIDAQ PCLab 1200 I/O card 
>that
>> will compile under djgpp?  All I can find are Borland and M*cros*ft
>> Visual files.
>> 
>> Or perhaps there's a trick to make these work under DJGPP?  I've 
>seen
>> there are converters, but are they relayable?
>> 
>
>See documentation for description of I/O ports (interrupts etc.) the 
>card
>use. At least with Computerboards CIO-DAS1602/16 (A/D converters, D/A
>converters and much more) there were no serious problems to access 
>card at
>port level.
>
>Also You may try to look for Linux drivers that maybe usefull to
>understand how to work with card (eg. Linux Lab project:
>http://www.llp.fu-berlin.de).
>
>Andris
>

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019