Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

program E6036 in C++ and integrate program into LABVIEW

Hallo,

I never programmed a DAQ before. I read the examples and searched the forum but I don´t understand the examples complete and now I don´t know how to begin.
I need to program a DAQ Card E6036 in C++ which gets three input signals (voltage -10/+10V) and then outputs the data (separate) as a digital signal in the memory. So I want to ask if somebody has had the same problem and can give me a short example or links on the NI- Homepage of how to do this.

I add a short list of specifications
- The sampling rate has to be 1kHz or higher
- I have to integrate the program later as *.dll in Labview

If there are more questions i will answer them and I hope this is the right forum.

best regards
Werner
0 Kudos
Message 1 of 4
(6,804 Views)

Hello Werner,

First I have a question. When you tell me that you want to implement the DAQ as a DLL and then call this one in LabVIEW later, why don´t you just
implement it in LabVIEW?

regards

Marco Brauner NIG

0 Kudos
Message 2 of 4
(6,784 Views)
Hello Marco,

we divided the project into two parts. My colleagues design the user interface in labview and I have to write the program code in C++ to read the data.
Our professor told us, that the sampling rate in Labview is not fast enough. So we use C++ to sample the DAQ data. Is it possible in Labview to sample with a frequency higher than 1kHz?

Best regards
Werner
0 Kudos
Message 3 of 4
(6,781 Views)

Hello Werner,

In general you can achieve rates <= 1 kHz Software-Timing, but if you use the HW-Timing on your DAQ-Device - this is recommended -
you can achieve the specified Maximum clockrate for the device also in LabVIEW. Any IDE must call the daqmx32.dll, so it it doesn´t make any difference which IDE you use to call it.


regards

Marco Brauner NIG

0 Kudos
Message 4 of 4
(6,768 Views)