From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data transfer mechanism

How can i illustrate spectaculary the difference between data transfer mechanism in Labview 2011 with Daqmx(NI PXI 6251)? 

0 Kudos
Message 1 of 9
(2,839 Views)

What are you asking? Could you elaborate?

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 2 of 9
(2,817 Views)

Thanks for the re, of course i try describe the problem.

So we read samples from NI-PXI6251 card continuously. Pic about my simple code:

http://i48.tinypic.com/25h0ls2.png

We found "Data Transfer Mechanism" property node in labview of course but we should illustrate the difference. For example DMA transfer mechanism is faster than PIO we know that but we can't prove to my instructor.  So we need the proofs for example ellapsed time or something.

 

0 Kudos
Message 3 of 9
(2,792 Views)

If I understand you correctly then you should take a time stamp before you enqueue the data and then take a timestamp when the data is received. 

Certified LabVIEW Architect
Certified Professional Instructor
0 Kudos
Message 4 of 9
(2,774 Views)

Hi,

 

The easiest way to do it, just configure multiple Analog Input taks and the transfer mode to be interrupts and you will se how your CPU usage will go high.

 

 

Ion R.

0 Kudos
Message 5 of 9
(2,760 Views)

Thank you this is a good idea.We have two NI-PXI6251 cards and we would like to see CPU usage for each card in IRQ transfer mode. How can we do this?

0 Kudos
Message 6 of 9
(2,745 Views)

Hi, you won't be able to see the difference between the two boards, however, if you configure first to run as DMA transfer and check the CPU usage, and than run as IRQ transfer and check the CPU, you will notice the difference.

 

 

0 Kudos
Message 7 of 9
(2,737 Views)

Unfortunately it's also part of my "project" to see when either board didn't get cpu in IRQ transfer mode for a while because other board have higher IRQ level.

0 Kudos
Message 8 of 9
(2,731 Views)

I am afraid I don't follow you.


What is the goal of the project ??

 

Kind regards,

Ion R.

0 Kudos
Message 9 of 9
(2,696 Views)