Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

USB-6008, USB-6501 and Embarcadero C++

Solved!
Go to solution

Hello NI and NI users,

 

I spent a considerable amount of money several years ago on a number of USB-6008 and USB-6501 devices for a class I teach on interfacing simulations with realworld sensors and actuators.  We write code using Embarcadero C++ Builder and we have written code to interface with the EZIO AD/DA board through RS-232.  The EZIO is way too slow and limited.  Based upon NI advertising, we bought these boards, but after repeated attempts to obtain some information from NI on how to talk to these devices directly through C++, we still have received no worthwhile answers.  No, I do not want LabView or any additional expenditures.  I simply want to talk to them directly. 

 

NI: are you willing to help with this, or not?  If not, kindly refund these purchase.  You advertises these as being accessible from C++ but you have been unwilling to provide any help of substance to date...

 

Yes, I'm self-taught writing code and am old-school enough to feel I have the right to know how to talk to any devices that I purchase.  I confess my ignorance, but I'm sick and tired of corporate secrecy and misleading advertising. 

 

Can anyone please supply me with enough sample code to get started.  This is what we've written for the EZIO:

http://www.duke.edu/web/isis/gessler/borland/realworld-ezio.htm

 

We'd like to begin writing comparable code for these NI devices.  If that is possible, we may buy more.  If not, these boards are worthless.

 

Regards,

Nick

 

Nicholas Gessler, Ph.D.

 

 

0 Kudos
Message 1 of 3
(3,339 Views)
Solution
Accepted by topic author Nick Gessler

Nick,

 

When you installed the DAQmx drivers to communicate with the 6008 and 6501, I assume you also installed the programming samples? This is where they are on my XP machine: C:\Documents and Settings\All Users\Documents\National Instruments\NI-DAQ\Examples\DAQmx ANSI C.  I don't think Embarcadero C++ Builder is one of the supported languages so you will need to tweak them for your compiler but it should give you a good start.

 

Tom  

0 Kudos
Message 2 of 3
(3,334 Views)

Tom,

 

Thanks for the pointers.  I did install the .lib (with some modifications from Embarcadero) and the .h files and

the minimal program compiles without errors.  Next step will be to invoke some of the NI functions...

 

Thank you,

Nick

0 Kudos
Message 3 of 3
(3,320 Views)