LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the CFDAQ6004.dll in a embedded c++-application?

Hi,
I´m working on a reaserch project and I´m trying to write a embedded c++-aplication which reads from values the Compactflash Card CFDAQ6004 of NI. Can I use the cfdaq6004.dll to read from? If yes, how to?

I hope anyone has a solution for me Smiley Sad

Best regards, Homi!
0 Kudos
Message 1 of 4
(3,085 Views)
Hi.

I want to hear a solution too.
0 Kudos
Message 2 of 4
(3,073 Views)
Dear Homi,

unfortunately I have not so good information for you. The DAQmx Base 2.0 driver currently has an ANSI C API, but this is available only for Windows operating systems, so even if you are able to implement an application using the .dll you may be out of luck for your PDA.  Either way, using the cfdaq6004.dll directly isn't supported by us, so we can't guarantee to you that it will work by calling it from C++.

I regret not having more positive information and wish you a nice week.

Best regards,

Carsten Sprung
Application Engineer
National Instruments Germany
0 Kudos
Message 3 of 4
(3,064 Views)

Hi there, I know this post is very old but i guess many guys visit it when reading the topic or by googling about CFDAQ6004 driver. Unfortunately CFDAQ6004.dll is very low level driver that support several functions dealing directly with CF6004 card such as ATTset and ATTget... etc. as one can view in any PE explorer for Windows CE. After a month of testing and analysis, i have successfully write a dll based on CFDAQ6004.dll to open, configure, read, write analog/digital data from/to CF6004 card. The new library was given a name CF6004LIB.dll the following is comparison between my dll and daqmxbase driver:

 

        New Dll                                                                                     DAQmxbase driver

1. Can be used inside any programming environment                        Can only be used inside Labview

    inc. eVC++ , VC++ .net, VC# .net, VB .net

2. Support fully dynamic task configuration                                       Only static configration possible (dynamic task can be done with modified VIs)

3. Remove a lot of overhead by accessing CF6004 directly                Puts a lot of overhead passing through GUI, objects, controls, ...etc.

4. Support full error detection                                                           Some errors can not be catched

5. Full sampling rate can be achieved 200 kS/sec                               system dependent (max. 130 kS/sec in hp ipaq 211 PDA)

6. Support contiuous/limited sampling                                               continuous sampling is possible but at reduced rate`

7. small in size < 10 kB                                                                    Minimum program size 600 kB

 

Also, I have written some modified VIs for CF6004 including reduced (specifically used for CF6004 card ) VIs and dynamic task configrable VIs.

 

Bye

 

Jaf

 

 

0 Kudos
Message 4 of 4
(2,761 Views)