A benchtop analytical device, comprising: an enclosure having a lid and a body, the lid being movable, relative to the body, between an opened position and a closed position, wherein, when the lid is in the closed position, the enclosure encloses: a probe mounted on the body of the enclosure to facilitate performing optical spectroscopy of a sample; a sample presentation component to receive the sample for the performing of the optical spectroscopy; an imaging component and an illumination component to illuminate and image the presentation of the sample to the probe and to enable remote viewing of the interior of the enclosure; a processor; and a memory storing executable instructions that, when executed by the processor, cause the benchtop analytical device to: receive an indication that the lid of the enclosure is in the closed position; determine that a rule is satisfied, wherein the rule relates to an operable configuration of the enclosure based on the indication that the lid of the enclosure is in the closed position; determine that a group of rules comprising the rule and a second rule is concurrently satisfied, wherein the second rule relates to determining that the imaging component and the illumination component are configured to be switched to a non-illumination mode; in response to determining that the group of rules is satisfied, cause emission of optical energy to perform the optical spectroscopy of the sample via the probe. a probe mounted on the body of the enclosure to facilitate performing optical spectroscopy of a sample; a sample presentation component to receive the sample for the performing of the optical spectroscopy; an imaging component and an illumination component to illuminate and image the presentation of the sample to the probe and to enable remote viewing of the interior of the enclosure; a processor; and a memory storing executable instructions that, when executed by the processor, cause the benchtop analytical device to: receive an indication that the lid of the enclosure is in the closed position; determine that a rule is satisfied, wherein the rule relates to an operable configuration of the enclosure based on the indication that the lid of the enclosure is in the closed position; determine that a group of rules comprising the rule and a second rule is concurrently satisfied, wherein the second rule relates to determining that the imaging component and the illumination component are configured to be switched to a non-illumination mode; in response to determining that the group of rules is satisfied, cause emission of optical energy to perform the optical spectroscopy of the sample via the probe. receive an indication that the lid of the enclosure is in the closed position; determine that a rule is satisfied, wherein the rule relates to an operable configuration of the enclosure based on the indication that the lid of the enclosure is in the closed position; determine that a group of rules comprising the rule and a second rule is concurrently satisfied, wherein the second rule relates to determining that the imaging component and the illumination component are configured to be switched to a non-illumination mode; in response to determining that the group of rules is satisfied, cause emission of optical energy to perform the optical spectroscopy of the sample via the probe.