LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fpga

 

           hi,

               In my project i am using cRIO 9014 and analog Input module 9201.i have developed a simple sine wave generation program.

           but not getting a fine sine wave n some time 1 window pops out with message " Target is not responding",(Image is attached).

           So it forces to disconnect the cRIO connection.

           So is it a hardaware problem or program is incorrect?.i have attached HOST and FPGA VI..

           Hoping for solution

Download All
0 Kudos
Message 1 of 2
(2,036 Views)

If you use an untimed loop on the RT the CPU load will raise to the maximum. That prevents a proper communication between your PC and the RT target. If you control your sine wave gen by the RT you should be able to implement a 1ms timing resolution without too much CPU load.

 

Here is a simple sine gen I implemented on an 9014 controller with 1ms timing ( the timed loop is not visible here ). By setting the parameters Samples and Amplitude you modify the settings on the fly. New parameters will be active by crossing the zeroline on a full period.

 

 

sine_gen.jpg

 

sine_gen_falsecase.jpg

 

Hope it helps

Christian

0 Kudos
Message 2 of 2
(1,982 Views)