LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Storing Data

Hi,

    I am using DAQ 6024E card. I am able to read the voltage using one of its analog channel. I am using VC++ environment for my application development.

In my application, i need to read the voltage from a analog source every 0.1 second for around 4 to 5 hours, store the result in some array from where my application will use the voltage output for further analysis.

I am looking into "Traditional NI-DAQ (Legacy)™ C Function Reference Help". Kindly suggest me, which API can i use which does this job?

 

Regards,

Rakesh

0 Kudos
Message 1 of 5
(3,788 Views)

How about something like this:

Analog Read.PNG

I attached the VI in the image so you can modify it. Post again if you have any questions.

Message Edited by Cory K on 07-21-2009 09:40 AM
Cory K
0 Kudos
Message 2 of 5
(3,767 Views)
Edit : Pardon my math, it isnt great early in the morning. To convert from hours to seconds, you have to multiply by 3600, not 60 as my example shows.
Cory K
0 Kudos
Message 3 of 5
(3,759 Views)

Cory,

 

He said he was using VC++ so the LabVIEW example will not be any good.

 

rakeshc4,

 

Saving the result in an array has nothing to do with the DAQ driver. It's a C++ function and for that you need to post your question to a different forum. Every bookstore I've been into seems to have hundreds of different books dedicated to learning C++. Have you tried any of them?

0 Kudos
Message 4 of 5
(3,756 Views)
You may want to post your question here
0 Kudos
Message 5 of 5
(3,735 Views)