08-21-2019 01:40 AM
Hello,
I'm a beginner on LabVIEW FPGA and I try to use loop timer function and wait function. I have a PC with a PXI NI 7842R.
I make an exercice from the FPGA lesson. But when I execute the code, there is no timing. It seems the code is executed as fast as possible.
I don't understand why, can you help me ?
Solved! Go to Solution.
08-21-2019 02:08 AM
Timing functions do not work as expected in simulated environment starting LabVIEW 2012. If you actually deploy the VI to the FPGA board, you will see that your timing functions will work correctly.
08-21-2019 02:17 AM
I already do it. I try to execute on simulated environment and on my FPGA board but the result is the same : it doesn't work.
08-21-2019 02:21 AM
What is your expected behaviour and what is the observed behaviour?
08-21-2019 02:33 AM
I just try to turn on the led when the number (randomly created because of the simulated environment) is superior than my limit and turn off when it's not the case, and I want the loop start again and actualize the number.
It works but it doesn't take into account the sample time I apply and refresh extremely fast.
I want the executed code take into account my sample time.
08-21-2019 07:46 AM
Are you sure the timer is set to milliseconds?
08-22-2019 01:49 AM
Finally, what Pipipi0405 suggested was the thing I need to do.
I'm confused because I tried to do it before, maybe I didn't do it correctly.
Thank you all.