LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set DMA/PIO/IRQ transfer mode?

Solved!
Go to solution

Greetings,

 

For my thesis I need to compare the actual impact on data acquire using different transfer modes in CVI (DMA, PIO, IRQ).

 

Documentation says that I have to use the DAQmxSetAIDataXferMech( TaskHandle taskHandle, const char channel[ ], int32 mode) function, but function like this simply does not exist in my CVI (using CVI 2010, version 10.0.1 (419).

 

How am I supposed to switch between modes?

 

Thanks for the reply in advance!

 

Yours,

Adrian

0 Kudos
Message 1 of 3
(3,033 Views)
Solution
Accepted by topic author Iradrian

Hi Adrian,

 

You can find this property using DAQmxSetChanAttribute.

Please find attached the two printscreens that will guide you to find the property.

 

Frome the attributes list choose Analog Input -> General Properties -> Advanced -> Data Transfer and Memory -> Data Transfer Mechanism

 

If you have any questions, feel free to ask here.

Don't forget to mark the solutions.

 

Kind regards,

Ion R.

Download All
Message 2 of 3
(3,010 Views)

Thank you so much! I am using CVI in a virtual environment (Windows XP in VirtualBox), and even in that, I have only the simulated card available at home. Cannot test it on real cards until Friday at uni.

 

I cannot see any difference at all while switching between modes (using continous acquiring to test it, and writing the read samples to the screen constantly).

 

Should this work on simulated card at all?

0 Kudos
Message 3 of 3
(2,942 Views)