National Instruments NIDAQmx.h, .lib

I bought several National Instruments USB digital I/O and AD/DA converters for my class.
They are models NI USB-6008 and NI USB-6501.  I've uploaded the new version 8.9 NI
files for these, but when I try to include the NIDAQmx.h and NIDAQmx.lib files and run
I get the following error:
[ILINK32 Error] Error: 'C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\DAQMX ANSI C DEV\LIB\MSVC\NIDAQMX.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
I'm running CodeGearâ„¢ RAD Studio 2007  Version 11.0.2902.10471 Copyright © 2007 

Is the library incompatible?  NI advertises that their equpment is compatible with ANSI C.
Is there a reasonable way to make these work?

Or can someone suggest some other brand of digital I/O and AD/DA converters that are
easily compatible with C++ Builder and that are fast?

Hoping we can make use of what we have at hand...
Thanks,
Nick

Nick Gessler, Ph.D.
Duke ISIS Program
nick.gessler@duke.edu
http://isis.duke.edu/gessler
0
Nicholas
11/14/2009 1:06:24 AM
embarcadero.cppbuilder.tools 1275 articles. 0 followers. Follow

3 Replies
1319 Views

Similar Articles

[PageSpeed] 52

You need to conver the import lib format from coff to omf with
"implib", that is a tool in bin bcb folder and then use the new
generated.


On Fri, 13 Nov 2009 17:06:24 -0800, Nicholas Gessler <> wrote:

>I bought several National Instruments USB digital I/O and AD/DA converters for my class.
>They are models NI USB-6008 and NI USB-6501.  I've uploaded the new version 8.9 NI
>files for these, but when I try to include the NIDAQmx.h and NIDAQmx.lib files and run
>I get the following error:
>[ILINK32 Error] Error: 'C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\DAQMX ANSI C DEV\LIB\MSVC\NIDAQMX.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
>I'm running CodeGear™ RAD Studio 2007  Version 11.0.2902.10471 Copyright © 2007 
>
>Is the library incompatible?  NI advertises that their equpment is compatible with ANSI C.
>Is there a reasonable way to make these work?
>
>Or can someone suggest some other brand of digital I/O and AD/DA converters that are
>easily compatible with C++ Builder and that are fast?
>
>Hoping we can make use of what we have at hand...
>Thanks,
>Nick
>
>Nick Gessler, Ph.D.
>Duke ISIS Program
>nick.gessler@duke.edu
>http://isis.duke.edu/gessler
ÿþM
0
Rafael
11/14/2009 9:50:28 AM
Could you please give us the syntax to use to accomplish this or where one might upload the converted file?
Thanks!
> {quote:title=Rafael Ontivero wrote:}{quote}
> You need to conver the import lib format from coff to omf with
> "implib", that is a tool in bin bcb folder and then use the new
> generated.
> 
> 
> On Fri, 13 Nov 2009 17:06:24 -0800, Nicholas Gessler <> wrote:
> 
> >I bought several National Instruments USB digital I/O and AD/DA converters for my class.
> >They are models NI USB-6008 and NI USB-6501.  I've uploaded the new version 8.9 NI
> >files for these, but when I try to include the NIDAQmx.h and NIDAQmx.lib files and run
> >I get the following error:
> >[ILINK32 Error] Error: 'C:\PROGRAM FILES\NATIONAL INSTRUMENTS\NI-DAQ\DAQMX ANSI C DEV\LIB\MSVC\NIDAQMX.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
> >I'm running CodeGear™ RAD Studio 2007  Version 11.0.2902.10471 Copyright © 2007 
> >
> >Is the library incompatible?  NI advertises that their equpment is compatible with ANSI C.
> >Is there a reasonable way to make these work?
> >
> >Or can someone suggest some other brand of digital I/O and AD/DA converters that are
> >easily compatible with C++ Builder and that are fast?
> >
> >Hoping we can make use of what we have at hand...
> >Thanks,
> >Nick
> >
> >Nick Gessler, Ph.D.
> >Duke ISIS Program
> >nick.gessler@duke.edu
> >http://isis.duke.edu/gessler
> ÿþM
0
Tim
3/14/2010 9:39:03 PM
I assume you have already found the solution, but for all those other amateurs like me out there (excuse the trivial detail, but I often wish for it!):
1) Use "coff2omf NIDAQmx.lib mydaq.lib" from a command prompt in the "C:\Program Files\National Instruments\NI-DAQ\DAQmx ANSI C Dev\lib\msvc" subdir.
2) Create a ....\lib\Builder dir, move mydaq.lib to it, and rename it NIDAQmx.lib
3) Add "...\DAQmx ANSI C Dev\Include" and "...\NI-DAQ\DAQmx ANSI C Dev\lib\Builder" paths to your project paths.
4) Add "#include <NIDAQmx.h>" to your main file and add  ....\lib\Builder\NIDAQmx.lib to your project.
In my case (XP) the examples are in: C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\

Works brilliantly
Piet
0
Piet
5/21/2010 9:02:56 AM
Reply:

Similar Artilces:

[svn:parrot-pdd] r24056
Author: coke Date: Tue Dec 18 19:27:11 2007 New Revision: 24056 Modified: trunk/docs/pdds/draft/pdd08_keys.pod Changes in other areas also in this revision: Added: trunk/src/vtable.tbl - copied unchanged from r24055, /trunk/vtable.tbl Removed: trunk/vtable.tbl Modified: trunk/MANIFEST trunk/config/gen/makefiles/root.in trunk/docs/stm/internals.pod trunk/docs/vtables.pod trunk/lib/Parrot/Manifest.pm trunk/lib/Parrot/Pmc2c/Pmc2cMain.pm trunk/lib/Parrot/Vtable.pm trunk/src/pmc/default.pmc trunk/t/tools/pmc2cutils/03-dump_vtable.t ...

Tools, Tools, Tools
</quot> Couple useful things for IT admins out there. I've packaged up Werner and Feder's PoC scanner via py2exe here. You can now simply run: </end_quot> http://www.doxpara.com/ -- "Never drive faster than your ANGEL can fly" ...

Inline::C with AUTOWRAP to wrap a C library which uses Perl tools? (perl.h, XSUB.h, EXTERN.h etc)
Hi all, I've encountered some problems and I'm wondering if it's ok to do what I'm trying to do: can I use Inline::C with the AUTOWRAP option to call a C library whose functions take variables of Perl types? (the same way it would use them if the code were inlined in the perl script) I mean SV*, HV* etc - the ones in libperl and declared in perl.h, EXTERN.h etc. I've had no errors with compiling and building, at run time I can even call some functions that use scalar types (SV*) to receive an "int" as argument but if I'm pass...

Inline::C with AUTOWRAP to wrap a C library which uses Perl tools? (perl.h, XSUB.h, EXTERN.h etc)
Hi all, I've encountered some problems and I'm wondering if it's ok to do what I'm trying to do: can I use Inline::C with the AUTOWRAP option to call a C library whose functions take variables of Perl types? (the same way it would use them if the code were inlined in the perl script) I mean SV*, HV* etc - the ones in libperl and declared in perl.h, EXTERN.h etc. I've had no errors with compiling and building, at run time I can even call some functions that use scalar types (SV*) to receive an "int" as argument but if I'm passing a hash...

[svn:parrot-pdd] r12841
Author: coke Date: Tue May 30 08:23:20 2006 New Revision: 12841 Modified: trunk/docs/pdds/clip/pdd22_io.pod trunk/docs/pdds/clip/pdd23_exceptions.pod trunk/docs/pdds/clip/pdd24_events.pod trunk/docs/pdds/clip/pdd25_threads.pod Changes in other areas also in this revision: Modified: trunk/Configure.pl trunk/compilers/imcc/imcparser.c trunk/debian/copyright trunk/lib/Parrot/Op.pm trunk/parrot-config trunk/parrotbug trunk/t/examples/streams.t trunk/tools/build/headerize.pl trunk/tools/build/jit2c.pl trunk/tools/build/nativecall.pl ...

superreview requested: [Bug 245518] NSS tools should have an rpath of /usr/lib/mps/secv1 : [Attachment 149969] set rpath as needed when linking NSS tools on Solaris
Julien Pierre <julien.pierre.bugs@sun.com> has asked Wan-Teh Chang <wchang0222@aol.com> for superreview: Bug 245518: NSS tools should have an rpath of /usr/lib/mps/secv1 http://bugzilla.mozilla.org/show_bug.cgi?id=245518 Attachment 149969: set rpath as needed when linking NSS tools on Solaris http://bugzilla.mozilla.org/attachment.cgi?id=149969&action=edit ...

superreview cancelled: [Bug 245518] NSS tools should have an rpath of /usr/lib/mps/secv1 : [Attachment 149969] set rpath as needed when linking NSS tools on Solaris
Julien Pierre <julien.pierre.bugs@sun.com> has cancelled Julien Pierre <julien.pierre.bugs@sun.com>'s request for superreview: Bug 245518: NSS tools should have an rpath of /usr/lib/mps/secv1 http://bugzilla.mozilla.org/show_bug.cgi?id=245518 Attachment 149969: set rpath as needed when linking NSS tools on Solaris http://bugzilla.mozilla.org/attachment.cgi?id=149969&action=edit ...

superreview requested: [Bug 245518] NSS tools should have an rpath of /usr/lib/mps/secv1 : [Attachment 159228] Compact the RPATH option for each case, add /usr/lib/mps for Sun
Saul Edwards <saul.edwards.bugs@sun.com> has asked Wan-Teh Chang <wchang0222@aol.com> for superreview: Bug 245518: NSS tools should have an rpath of /usr/lib/mps/secv1 http://bugzilla.mozilla.org/show_bug.cgi?id=245518 Attachment 159228: Compact the RPATH option for each case, add /usr/lib/mps for Sun http://bugzilla.mozilla.org/attachment.cgi?id=159228&action=edit ...

superreview granted: [Bug 245518] NSS tools should have an rpath of /usr/lib/mps/secv1 : [Attachment 159228] Compact the RPATH option for each case, add /usr/lib/mps for Sun
Wan-Teh Chang <wchang0222@aol.com> has granted Saul Edwards <saul.edwards.bugs@sun.com>'s request for superreview: Bug 245518: NSS tools should have an rpath of /usr/lib/mps/secv1 http://bugzilla.mozilla.org/show_bug.cgi?id=245518 Attachment 159228: Compact the RPATH option for each case, add /usr/lib/mps for Sun http://bugzilla.mozilla.org/attachment.cgi?id=159228&action=edit ------- Additional Comments from Wan-Teh Chang <wchang0222@aol.com> Saul, could you adjust your patch so that it uses ifeq instead of ifneq with BUILD_SUN_PKG? It's easier for ...

superreview cancelled: [Bug 362173] The NSS cryptographic module should have its own version numbers. : [Attachment 247256] Add NSS 3.11.4's nss.h to lib/freebl and lib/softoken
Wan-Teh Chang <wtchang@redhat.com> has cancelled Wan-Teh Chang <wtchang@redhat.com>'s request for superreview: Bug 362173: The NSS cryptographic module should have its own version numbers. https://bugzilla.mozilla.org/show_bug.cgi?id=362173 Attachment 247256: Add NSS 3.11.4's nss.h to lib/freebl and lib/softoken https://bugzilla.mozilla.org/attachment.cgi?id=247256&action=edit ------- Additional Comments from Wan-Teh Chang <wtchang@redhat.com> Nelson, I'm proposing this patch for the NSS_3_11_BRANCH because it is much easier to explain what the pat...

superreview requested: [Bug 362173] The NSS cryptographic module should have its own version numbers. : [Attachment 247256] Add NSS 3.11.4's nss.h to lib/freebl and lib/softoken
Wan-Teh Chang <wtchang@redhat.com> has asked Robert Relyea <rrelyea@redhat.com> for superreview: Bug 362173: The NSS cryptographic module should have its own version numbers. https://bugzilla.mozilla.org/show_bug.cgi?id=362173 Attachment 247256: Add NSS 3.11.4's nss.h to lib/freebl and lib/softoken https://bugzilla.mozilla.org/attachment.cgi?id=247256&action=edit ------- Additional Comments from Wan-Teh Chang <wtchang@redhat.com> This is a workaround for the NSS_3_11_BRANCH only, to avoid changing any file in lib/freebl and lib/softoken. I found that if...

tool to instrument code
Hi, Is there a IDE or external tool that can help me add and remove custom "instrumentation"s to selected methods in a unit: e.g add a line to this method: procedure TForm1.Method1; begin end; such as: procedure TForm1.Method1; begin SendTrace(%UnitName%, %MethodName%); // where the tool inserts the line and also resolves unitname and methodname end; Thanks Rael Rael, The JCL does it based from a MAP file or a .jdbg file one of it expert can automatically generate. The following functions from JclDebug.pas will give you this information wit...

Delphi and National Instruments
I'm one of those people who insist on using National Instrument products even though they no longer officially support Delphi. Seems like there is still enough support from the Delphi community to help keep me going. I'm using their PCI-6229 board and also a PCI-6220 board. *Min inDAQmxCreateAIThrmstrChanIex* Last night I got through a tedious issue getting my program to make thermistor measurements. I kept getting a "feature not supported" type error. It turned out the problem was the value of Min I was specifying when setting up the thermistor channel. I had been s...

\h not equiv to [\h]
--14dae9399ce7b16a6104c544c4c1 Content-Type: text/plain; charset=ISO-8859-1 Hi, Is this a known bug? $ perl -le'print "\xA0" =~ /\p{Space}/ ?1:0' 1 $ perl -le'print "\xA0" =~ /\s/ ?1:0' 0 $ perl -le'print "\xA0" =~ /\s/u ?1:0' 1 __ $ perl -le'print "\xA0" =~ /\h/ ?1:0' \ 1 \ > huh?? $ perl -le'print "\xA0" =~...

Web resources about - National Instruments NIDAQmx.h, .lib - embarcadero.cppbuilder.tools

Experimental musical instrument - Wikipedia, the free encyclopedia
... modifications, such as cracked drum cymbals or metal objects inserted between piano strings in a prepared piano . Some experimental instruments ...

Blunt Instrument: Malcolm Turnbull's ideas idea not a moment too soon
Malcolm Turnbull had an idea once. Along with some other guys, he helped turn it into a company called Ozemail and trousered a shedload of the ...

Aussie singer Jon English flies into Virgin baggage handlers after instruments are smashed - DailyTelegraph ...
SOME rockers famously destroy their guitars as part of the show, but for Aussie singer Jon English, a smashing encounter between his guitar and ...


Park your BMW with a wave, 3D instrument clusters, and more
Filed under: 2016 CES , BMW , Gadgets , Infotainment , Smartphone , Technology , Autonomous , Concept Cars BMW's list of ideas and technologies ...

- One-man band brings homemade instruments, humor to Volcanic Theatre Pub
The Magic Pipe set the mood Monday night at Volcanic Theater Pub before That 1 Guy even played a note. The 7-foot tall, homemade collection of ...

Why is Rahm Emmanuel handing his notorious police force instruments of torture?
Why is Rahm Emmanuel handing his notorious police force instruments of torture? by digby I wrote a piece for Salon today about his dubious decision ...

Adele proves 'Hello' is still great with kid instruments and a toy flip phone on Jimmy Fallon
Adele joined Jimmy Fallon and the Roots to perform "Hello" on classroom instruments during Tuesday night's "Tonight Show." The performance wouldn't ...

Adele takes on "Hello" with classroom instruments
The British singer sounded flawless during her visit to "The Tonight Show Starring Jimmy Fallon" on Tuesday

VLT black hole instrument discovers new binary star
The Very Large Telescope's black hole instrument has been activated, and has already made a stellar discovery.

Resources last updated: 1/18/2016 11:46:04 AM