02-07-2009 02:21 PM
I have purchased a 67 pin PCI-6221data acqusition board. I need to use this board for data acquisition in a control loop. Thus, I cannot (or do not want even if I can) use the LabView, preferring to write a program in C++. I need to know the addresses of input and output channels and timer outputs (That is ther offset address of the registers), etc. in order to read from or write into these channels. This information (which is really very fundamental) is not given in the accompanying documents with the board. I have spent quite some time searching for this with no avail.
02-08-2009 10:57 AM
I strongly suspect that you would have much better perfromance with LabVIEW RT and the standard DAQmx driver but the main DAQ Software gives the link for the DDK (Driver Development Kit). There's also a dedicated board.
02-08-2009 12:41 PM
02-08-2009 03:59 PM
You would get excellent performance with LabVIEW RT (real-time).
On the link I gave you, there is link to Measurement Hardware Driver Development Kit (DDK) and the description (in part) says a register-level programming interface'. Isn't this what you are looking for? Or did you not scroll down the page?
02-08-2009 07:39 PM
Amad,
As Dennis mentioned, you could use the Driver Development Kit if you really want to do register level programming with your device. However, often a much simpler approach would be to use DAQmx's C API (assuming you are developing for Windows or a supported Linux distribution). A good way to get started with this is to install DAQmx (download can be found from this page: DAQmx). Once this is installed, you should be able to read the DAQmx C Reference Help, and look at multiple examples that get installed.
Hope this helps,
Dan