I've only been pulled over once, unloaded the 40 cal., put it on the dashboard with my CCW, drivers license and registration. No ticket, no problem.
"Have a nice day officer."
Thats generally the case. Usually they dont even want you to unholster.
Oh BTW 40 SW is a dandy cartidge
Glad it worked out for you. I tended to get a tad twitchy on traffic stops if I saw the driver fumbling around with a firearm while I was approaching. I suggest that you leave it be, and announce that you are armed, where it is, and that you have a permit.