Mani's World
2008-08-07 17:40:07 UTC
Hi. I am using LV 7.1 RT with PXI 7831R. While developing an application with a PID controller in the FPGA vi, I have run into the following problem:
1. After a successful FPGA compile, the code runs directly on the FPGA device and the PID controller works fine.
2. After I switch to the RT and run the host vi, it shows no activity from the FPGA vi. I look at the while loop count of the FPGA (indicator named 'FPGA-count' in the snaps below)) and it shows 'zero'. I have refreshed the FPGA vi reference but to no avail.
3. If i take out the PID related stuff from the FPGA vi, then the Host vi to FPGA communication works.
I have attached snaps of a simplified version of the fpga and RT vi's. If anyone can help, that would be greatly appreciated.
I also read that the PID control toolkit needs to be installed. It is installed on the host computer and shows in Automation explorer under LV 7.1. Does it need to be installed on the remote machine that is the RT controller as well. if so, then how to do that.
Thanks
RT-frt panel.JPG:
http://forums.ni.com/attachments/ni/170/347620/1/RT-frt panel.JPG
fpga-block.jpg:
Loading Image...
RT-block.JPG:
Loading Image...
1. After a successful FPGA compile, the code runs directly on the FPGA device and the PID controller works fine.
2. After I switch to the RT and run the host vi, it shows no activity from the FPGA vi. I look at the while loop count of the FPGA (indicator named 'FPGA-count' in the snaps below)) and it shows 'zero'. I have refreshed the FPGA vi reference but to no avail.
3. If i take out the PID related stuff from the FPGA vi, then the Host vi to FPGA communication works.
I have attached snaps of a simplified version of the fpga and RT vi's. If anyone can help, that would be greatly appreciated.
I also read that the PID control toolkit needs to be installed. It is installed on the host computer and shows in Automation explorer under LV 7.1. Does it need to be installed on the remote machine that is the RT controller as well. if so, then how to do that.
Thanks
RT-frt panel.JPG:
http://forums.ni.com/attachments/ni/170/347620/1/RT-frt panel.JPG
fpga-block.jpg:
Loading Image...
RT-block.JPG:
Loading Image...