Error while connect pixhawk with Raspberry pi 2

Hi all,

I’ve been trying to connect my drone(base on Pixhawk) to Raspberry pi 2 using script and the script start to show me params in infinite loop without connecting and enabling me control the unit.
is anyone familiar with this problem and can help?