Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

CLED example exam question 21

Solved!
Go to solution

Hello everyone, 

 

I'm preparing for my CLED exam and I don't understand question 21 of the example exam.

 

CLED_Q21.png

 

The exam states that D is the right answer, but I don't understand why. The RT FIFO Read function clearly has a timeout of 100ms wired to it.

Why would the CPU speed go to 100%?

 

Thank you Robot surprised

0 Kudos
Message 1 of 11
(11,761 Views)
Solution
Accepted by topic author Freel

From the LabVIEW Help article Data Communication Methods in LabVIEW, an RT FIFO has a polling mode by default.  Therefore, it will use as much CPU as possible looking for new data to come in instead of waiting for a notification that there is data.  This is done to keep jitter at a minimum.

 

The DMA FIFO behaves the same way.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 11
(11,751 Views)

I agree with crossrulz.

 

I don't quite like the question personally, since RT systems often have multiple cores these days. The RT FIFO Read function will poll for new data constantly and use up one core of CPU usage, but if the system has multiple cores this shows as 50% CPU usage in the case of two cores, and 25% in the case of four cores etc.

Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
Message 3 of 11
(11,742 Views)

Craig_ wrote:

I don't quite like the question personally, since RT systems often have multiple cores these days. The RT FIFO Read function will poll for new data constantly and use up one core of CPU usage, but if the system has multiple cores this shows as 50% CPU usage in the case of two cores, and 25% in the case of four cores etc.


I does say "potential" issues.  So with the assumption of 1 core, you will use 100% of the CPU.  It is a question of knowing the nuances of how the RT FIFO works.  Not saying the question is perfectly worded, etc.  But it is not wrong.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 11
(11,737 Views)

Thank you very much.

0 Kudos
Message 5 of 11
(11,699 Views)

Hi

I'm also preparing for my CLED, but I can't find a example part1 exam. Can you help me find the exam you used?

 

Thanks in advance

Kaare

0 Kudos
Message 6 of 11
(9,785 Views)

Hey KJK!

 

You can find the Preparation E-kit here:

http://www.ni.com/gate/gb/GB_EKITCLEDPREP/US

 

Good luck sir. Smiley Happy

0 Kudos
Message 7 of 11
(9,783 Views)

I know, but there is not a part 1 example exam in there. I hopped you might have a copy of the prep kit you used?

 

Regards 

Kaare

0 Kudos
Message 8 of 11
(9,781 Views)

I can check on monday when I'm in the office, I will post it here if I still have it.

0 Kudos
Message 9 of 11
(9,779 Views)

I've send you a PM.

0 Kudos
Message 10 of 11
(9,751 Views)