Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

myDAQ encoder sample rate

Solved!
Go to solution

Hello,

 

May you share with me your VI? Then I can see how you've configured it.

Plínio Costa
Senior Techinical Support Engineer
National Instruments Brazil



0 Kudos
Message 11 of 15
(1,070 Views)

Here you are! Thank you!

0 Kudos
Message 12 of 15
(1,063 Views)
Solution
Accepted by topic author thiago.barbosa

What is causing this "unexpected'" timing is the function Simulate Signal2 (DC signal), you are using a frequency of 100 Hz and a number of samples equal to 100, which forces iteration period of 1s. Try to change it to the same of the other Simulate signal function.

 

It is very important to understand the relationship between both parameters in every aquisition or generation function in LabVIEW and which loop timing it will cause. If you ask the function to generate 100 samples per second and ask it to return 100 samples per iteration, the iteration will take 1s to execute.

Plínio Costa
Senior Techinical Support Engineer
National Instruments Brazil



0 Kudos
Message 13 of 15
(1,040 Views)

Working perfectly now. Thank you.

0 Kudos
Message 14 of 15
(995 Views)

Great to hear it worked, Thiago

Plínio Costa
Senior Techinical Support Engineer
National Instruments Brazil



0 Kudos
Message 15 of 15
(992 Views)