Ask the moderator/administrators to move your question to your state's sub-forum as a complete correct answer depends on your state's laws.
In general you cannot be compelled to surrender your Fourth and Fifth Amendment Rights to privacy and security in your person, papers and effects or be compelled to incriminate yourself. Once cause to compel surrender of your Fourth Amendment Rights is established then you are protected from potential self-incrimination by your Fifth Amendment Right.
Carrying a gun may make you liable to greater restrictions in your state law. In Wisconsin, the privilege of carrying a concealed weapon is dependent on your voluntarily surrendering ones Fourth Amendment Right and identification papers and privilege permit "concealed carry license."