08-07-2008 12:29 PM
08-07-2008 08:31 PM
It seems like the FPGA is not running for some reason when you are running the RT VI. Without having the actual VIs to look at I can only make a few guesses why.
If you are using the PID function on the FPGA, you do not need any additional SW installed on the RT controller. If you are using the PID function in LV RT then you do need to install the PID toolkit on the RT controller. This is done from MAX (Measurement and Automation Explorer) using the Install Software option for the controller.
08-08-2008 03:37 PM
Thanks for the reply.
I have already tried all that you suggested but nothing worked.
So I started simpifying the code. I first removed the 'saturation' block from the code. Recompiled. The code ran in the FPGA but still nothing when run from RT.
I then removed the 'niFPGA Dead Zone.vi' from the code, recomplied and this time the FPGA PID control worked from the RT.
So my guess is that it is the 'niFPGA Dead Zone.vi' that was the problem. If anyone has any experience with this vi, please let us know.
Thanks
Mani's World
08-11-2008 04:19 PM