11-13-2011 08:31 PM
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.
Solved! Go to Solution.
11-14-2011 07:34 AM
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
11-15-2011 06:43 AM
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