GPS is not connecting to satellite and not generating Log file

Hi, I’m using Pixhawk 2.4.8. with PX4, Frame: ZMR250 Quad.
After successfully calibrating sensors, Radio and all parameters, while arming and during flight it shows Sats numbers as 0. No satellites are connected. But with same GPS and all hardware parts, after calibrating via Ardupilot, it shows that Sats are connected during arming and flight.
Also, Log Files are not generated in PX4 but in Ardupilot it is generated. Same specs.
image

Make sure you select the proper port with GPS_1_CONFIG parameter.
status: NOT OK means your GPS is not properly connected