Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Borland Builder 6

Solved!
Go to solution
I am trying to use Borland C++ Builder 6 to access a DAQmx 8.9.5 and get an error message of: unresolved external DAQmxCreateTask (among others). I am thinking that the problem is with the library file I am using. I tried getting the file NIDAQmx89.zip from one of the support pages, but the page is not available. How can I properly use the function calls from nidaqmx.h so that I can create my program?
0 Kudos
Message 1 of 7
(4,205 Views)
It seems that it would be a lot simpler for NI's customers if they would just provide the few correct files needed to use their product with the Borland compiler. Why not do that instead of everyone having to jump through a bunch of hoops to try to get it to work. I would certainly have found another product if I thought my $300+ investment was going to be for something that brought so much irritation! Can someone just post the correct files for download somewhere we can access them?
0 Kudos
Message 2 of 7
(4,199 Views)
I have tried using the implib and coff2omf command line utilities to generate this file without success. Does anyone have a working copy that I can access? Perhaps it can be emailed to me as it isn't that large of a file. Thanks!
0 Kudos
Message 3 of 7
(4,175 Views)

Hi Sparkman,

 

I just tried and was able to download NIDAQmx89.zip and NIDAQmx90.zip from the attachments section at the bottom of this webpage:

 

http://digital.ni.com/public.nsf/allkb/B09727F89DA3A06C86256F430071D88E

 

 Let me know if those links don't work for you and I can email you the files.

 

Regards,

Barron
Applications Engineering
National Instruments
0 Kudos
Message 4 of 7
(4,162 Views)

Thanks for the info. I received a copy of that file from one of the NI reps yesterday before it was available on the web site. However, I still receive the error that there are unresolved external references. I have exhausted my personal KB on this. I was hoping to get a known good example project for the Borland Builder 6 so that I could determine what it was that I was doing wrong. It would appear that no one has that or knows that it is being sought. It would certainly simplify life to have that.

Thanks again for all the efforts, but it appears I may have to surrender!

0 Kudos
Message 5 of 7
(4,154 Views)
Solution
Accepted by topic author Sparkman2

Hey Sparkman,

 

I just installed Borland Builder 6 and tried using the static library referenced in that KnowledgeBase article.  I was successful in doing so.

 

Two things to try:

1) Make sure that you added the .lib file to your project (View>>Project Manager... then right-click on project and select "Add").

2) If that doesn't do the trick, you might try adding the directory where you put this .lib file to your project path.  That is, right-click on the project and select "Options...".  Click the tab for "Directories/Conditionals".  Add "; <path to .lib>" to the "Library Path".

 

Hope this helps!

Thanks,

Andy McRorie
NI R&D
0 Kudos
Message 6 of 7
(4,109 Views)

Thank you Andrew! I was adding the lib file under the Project Options, but not directly including the file in the current project. My small test program linked successfully! Looking forward to working with it again in the morning. (I just hate it when they make us go home just when it is getting to be fun.)

I really appreciate the assist as my work load really doesn't have the time to learn a new compiler.

 

 

0 Kudos
Message 7 of 7
(4,096 Views)