LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program only runs for one cycle when compiled, runs fine in emulation mode

I have an FPGA module which generates 2 disticnt PWM signals.  In emulation mode, the module runs successfully; however, when compiled and run on the FPGA itself, it runs for one cycle, then both outputs hang at logic high.  One of my developers thinks it may be related to a memory read/write bug in LabView FPGA, but I have not been able to find any documentation.  This is in LabView 8.0 FPGA running on a RIO board.

Message Edited by MarcusDunn on 11-30-2006 01:01 PM

0 Kudos
Message 1 of 3
(2,910 Views)
Hi Marcus,

Which board exactly are you using, is this an R series PCI board?

I was not able to find any known bug with LabVIEW 8.0 FPGA module relating to hanging PWM outputs. Have you been successul in generating a single PWM signal, or what happens there?

One thing I recommend is to work from one of the shipping examples for the FPGA module that does PWM. From Help->Find Examples, do a search for PWM and you will find an example such as PWM Out, Simple.vi . This way, you're ensured that the code is fine. Then, you could add in functionality for the second one with (potentially) different duty cycle.

Let me know how that goes for you, Marcus.
-Sam F, DAQ Marketing Manager
0 Kudos
Message 2 of 3
(2,875 Views)
We were using the PXI-7831R series, but we actually solved the problem today.  It appears our board was faulty as we switched them out and had no further problems.  Thanks for the help, though.
0 Kudos
Message 3 of 3
(2,870 Views)