Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

data acquisition with daq card 6533

Hi all,


i need to develop a c++ (visual studio .net, no measurement studio) program that performs data acquisition at a sampling rate of 10Khz using a windows xp laptop and the daq6533 card.

The program must sample 8 digital signals. Each signal has a limited time duration, say a few seconds, and acquisition should start on the first rising edge of a signal, and terminate on user input. Browsing through the code provided with the driver, i found the examples in the cdio folder. It seems to me they almost do what i actually need. Unfortunately, many of the functions used there are not supported by the 6533 card, in particular the GPCTR_* family. I've read somewhere else that this card does not have an hardware counter, is that exact?

I'm a beginner in this field, so i don't know what are possible alternative solution to my problem (if any).

Thanks for any help.

walter
0 Kudos
Message 1 of 3
(3,559 Views)

Hi,

 

yes, there are no counters on that board, so that some funtions become

useless. What did you mean to perform with such functions? We can try

to find out an alternative way, if you need to do something different from

what is shown by the examples.

Bye,

 

Matteo F.

0 Kudos
Message 2 of 3
(3,547 Views)
Thanks for your reply.

I don't know actually whether i need to use counter-related functions. My problem is the following:

I need to sample 8 digital signals with a frequency of 10khz. Every signal have a duration of a few seconds in time, and they come from sensors attached to a train's railway. Acquisition begins on the first rising edge of a signal (which coincide with the passage of the train), and end with user input (which should be after the train has passed).

It would be of great help if you can point me to a relevant example, or give me some basic guidelines on our to proceed. If you need more information, please just ask.


thank you very much.


walter
0 Kudos
Message 3 of 3
(3,529 Views)