Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA loop timer

HI :
 
  I am using PXI 7833R card , now I am trying to generate a signal using this card.  I use labview FPGA module to write a FPGA VI.
 
i try to generate a 2M Hz signal so i used a while loop with loop timer at 20 ticks. But I need the signal to start at the middle point of each loop. So i put a "wait" inside the loop. It is not working , anybody knows why? Or any other way to do this?
0 Kudos
Message 1 of 3
(3,856 Views)
Can you post a screenshot of the FPGA VI you are creating?  I'd think that having a while loop with the 20 ticks loop timer, and a sequence structure with a wait for ~10 ticks in its first frame and driving the signal in the second frame should work. BTW, I'm assuming your signal will come out of one of the DIO lines of the board, correct?

JMota
0 Kudos
Message 2 of 3
(3,839 Views)

Hi There,

Are you using FPGA 8.0 or FPGA 1.1? have you placed a sequence structure to make sure of the execution order?

Have a great day!

Regards,
Prashanth

0 Kudos
Message 3 of 3
(3,838 Views)