Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

continuously acquir data

Hi,
I own a DIO-32HS board, program in C++, and I would like to acquir continuousely digital data. I use DIG_Block_in function, but I must write a parameter (count) to determine the number of sample I would read... and in my case I would read until I said Stop via a push button for example.
May be this function (DIG_Block_in) is not appropriate? but I don't know which other function to use.

To resume the simple things I would do is acquir 8 bits on port 0 on each clock edge (clock is generated by DIO-32HS board). and start/stop via a key or a push button.
the speed of my data input is around 1MHz.

somebody could help me?
thanks, Fabien.
0 Kudos
Message 1 of 2
(3,184 Views)

Hi,

I attached an example which do a digital continously acquisition.

I hope this help you.

Regards

VéroniqueD
NI France
0 Kudos
Message 2 of 2
(3,145 Views)