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.

Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the loop timer resolution ?

Hello everyone,

 I am using myRIO 1900 for my Active Noise Cancellation project. I need to process the audio signal @44.1kHz sample rate and 50 samples per frame . So, I am using myRIO High Throughput personality. 

Now my problem is simple, I want to measure the each iteration time ( loop time) . I went for normal tick count ( msec). Used in a standard way [https://decibel.ni.com/content/docs/DOC-11078]. 

But my indicator value is oscillating between 1 and 2. It is supposedly 1.13msec, but how to find the exact timer value ??

I think , I cannot increase the resolution of  tick count(msec) as it is by default has 1 msec resolution and I cannot use external clock source as I am using myRIO.

 

Help me how to calculate the precise loop time.

 

Thank You.

0 Kudos
Message 1 of 4
(4,330 Views)

This is a duplicate post of http://forums.ni.com/t5/LabVIEW/How-to-increase-the-loop-timer-resolution/td-p/3211161 where Natasftw offers some good advice.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 4
(4,307 Views)

Yeah sorry ! I posted in the both forums at the same time, as I am using high throughput personality fpga of myRIO, I thought I could get some help here also. Now I dont know how to delete a post in NI forums  !!! I will try to delete this post as soon as I found how to do it!

0 Kudos
Message 3 of 4
(4,296 Views)

No big deal, I mostly posted so people could know where to find the answer if they found this thread in the future.

Matt J | National Instruments | CLA
0 Kudos
Message 4 of 4
(4,283 Views)