LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog input and output with one DAQ at the same time

Hi,

I would like to acquire analog signals and control one analog output with one DAQ 6025e card at about 20k sampling frequency.

I have studied the examples but unfortunately I did not find any good samples. The examples are describes just the acquiring or just the controlling. I tried to modify some examples but still I have no success. I got a message "No DMA channels available...". I changed the data transfer mechanism to different but it leads to other error messages.

So I am searching for a simple example what can be a framework to my next steps...

Regards
Tomi
0 Kudos
Message 1 of 3
(4,062 Views)
There are some shipping examples of AI/AO. Open the Example Finder and from the browse tab, open Hardware Input and Output>DAQmx>Synchronization>Multi-Function or Hardware Input and Output>Traditional DAQ>Simultaneous Analog IO.
0 Kudos
Message 2 of 3
(4,046 Views)
Im totally new to Labview and DAQ. For the last week I have tried to get a simultaneous analog input/output to work. Have studied the examples that labview are shipped with but can get it to work. My goal is to have a analog output at the same time I have 2 analog inputs. The primary error message is that no DMA channels are availble(Error -200251 occurred at DAQmx Write (Analog 1D Wfm NChan NSamp).vi). When I change data transfer mechanism I'll get "Error -200103 occurred at DAQmx Write (Analog 1D Wfm NChan NSamp).vi" instead. The reason of the error is "Number of samples to write must be the same for every channel." I have checked and the number of samples and sample rate is the same for everone of the channels. I'm using a simulated sine signal to the analog output.

Labview 7.0
PCI-6014
CB-68LP

Please could anyone give a solution to this problem.
0 Kudos
Message 3 of 3
(4,003 Views)