A partial layout area using a template is created in a page. As soon as the detection means detects insertion of the card, the control means executes locking effected by the locking means and after that, when the card is not activated in response to activation processing by the integrated circuit, release the locking of the locking means. The first and second integrated computational elements produce first and second modified electromagnetic radiations, and a detector is arranged to receive the first and second modified electromagnetic radiations and generate an output signal corresponding to the characteristic of the sample.