LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

sample-by-sample continuous input and output using CVI

I'm using a PCI-MIO-16E-1 board with CVI ver 5.0 and NI-DAQ 6.9. Is there anyway whereby I can input a sample from the ADC, processed it in real-time, and output it to the DAC? The acquisition and wavefrom generation will have to be done at certain fixed frequency.
Using double-buffering and setting the half-buffer size to 1 (in order to capture just 1 sample), I always get a "no tranfer in progress" error for DAQ_DB_HalfReady. It seems that CVI or the NI card can't manage the intensive transfer of sample-by-sample. Is there any way to solve this problem? Thanks!
0 Kudos
Message 1 of 2
(2,676 Views)
Calvin;

The main problem there is not CVI either the NI DAQ boards, but Windows. Anything you run under Windows is not real time, either have a deterministic rate.

To have that sort of application, you will need to use our Real Time DAQ boards with Labview Real Time.

Hope this helps.
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,676 Views)