In some states you have to inform the officer that you have an permit and that you are (or are not) carrying the weapon at that moment. You might also have to hand the weapon to the officer. He might keep it in some situations whereupon he will issue you a “receipt” for your weapon.
If stopped by Law Enforcement in Florida, we are supposed to inform the officer that we have a concealed handgun permit and produce the CCL along with DL and registration when requested. We also inform the officer where the gun is located in the vehicle.
I have been stopped twice in Texas for a traffic violation. When the officer approached the car I had licence, insurance, and concealed carry license in my left hand. The first thing I said to the officer is I am armed and tell him where the weapon is.
I was always treated with respect and not asked to surrender my firearm. In fact once I said I was armed the officer knew I was a law abiding citizen and posed him no threat. Those that wish to harm an officer of the law do not tell them they are armed.
This is Texas and I love my state.