Xplane data in and out setting change automaticly when I run sim_vehicle.py from ArduPlane

Hello everyone,
My problem is when I run x-plane then run sim_vehicle I am getting a bad AHRS. When arming the throttle I get 3d accel calibration needed. I cant see to find the .parms file for xplane either.

I did find that as soon as I run sim_vehicle.py my data in and out page automatically changes to this

from this

this may not matter at all but if someone has it working and could let me know that would be great!