LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing functions don't work on my LabVIEW FPGA

Solved!
Go to solution

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 ?

0 Kudos
Message 1 of 7
(2,525 Views)
Solution
Accepted by topic author TheoLEDUC

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.

0 Kudos
Message 2 of 7
(2,509 Views)

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.

0 Kudos
Message 3 of 7
(2,498 Views)

What is your expected behaviour and what is the observed behaviour?

0 Kudos
Message 4 of 7
(2,495 Views)

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.

0 Kudos
Message 5 of 7
(2,489 Views)

Are you sure the timer is set to milliseconds?

0 Kudos
Message 6 of 7
(2,439 Views)

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.

0 Kudos
Message 7 of 7
(2,407 Views)