Data Logging with Indication of Violation
A method includes obtaining, by a processing module of a data logging device, a log command. The method further includes determining, by the processing module, whether to enter a finished mode for the data logging device based on a data logging condition. When not in the finished mode and in response to the log command, the method further includes obtaining, by the processing module, a measure of an environmental condition. The method further includes determining, by the processing module, whether the measure of the environmental condition is within an expected range. When the measure of the environmental condition is not within the expected range, the method further includes generating, by the processing module, an environmental violation signal when triggered.
1 . A method comprises:
obtaining, by a processing module of a data logging device, a log command;
determining, by the processing module, whether to enter a finished mode for the data logging device based on a data logging condition; and
when not in the finished mode and in response to the log command:
obtaining, by the processing module, a measure of an environmental condition;
determining, by the processing module, whether the measure of the environmental condition is within an expected range;
when the measure of the environmental condition is not within the expected range, generating, by the processing module, an environmental violation signal when triggered.
2 . The method of claim 1 further comprises:
displaying, by a display of the data logging device, an indication of the environmental violation based on the environmental violation signal.
3 . The method of claim 1 further comprises:
transmitting, by a radio frequency (RF) transmitter of the data logging device, an RF signal that includes the environmental violation signal.
4 . The method of claim 1 further comprises:
ignoring, by the processing module, subsequent log commands when the environmental violation signal has been generated.
5 . The method of claim 1 further comprises:
when the measure of the environmental condition is not within the expected range:
determining, by the processing module, whether this occurrence of the measure of the environmental condition not being within the expected range is a triggering occurrence; and
when this occurrence is the triggering occurrence, enabling, by the processing module, the generation of the environmental violation signal.
6 . The method of claim 5 , wherein the determining that this occurrence is the triggering occurrence further comprises:
determining that this occurrence, added to a count of previous occurrences of the measure of the environmental condition not being within the expected range, equals or exceeds a count threshold; and/or
determining that magnitude this occurrence of being outside of the expected range is equal to or exceeds a magnitude deviation threshold.
7 . The method of claim 1 further comprises:
storing, by the processing module, the measure of the environmental condition in memory of the data logging device.
8 . The method of claim 1 further comprises:
when in a done mode:
generating, by the processing module, an environmental OK signal when the generation of the environmental violation signal is not triggered; and
displaying, by a display of the data logging device, an indication of the environment being OK based on the environmental OK signal.
9 . The method of claim 8 further comprises:
displaying, by the display, a green light as the indication of the environmental being OK; and
displaying, by the display, a red light as the indication of the environmental violation.
10 . The method of claim 1 further comprises:
detecting, by the processing module, activation of a non-RF activation circuit to initiate a series of log commands, wherein the log command is one in the series of log commands.
11 . The method of claim 10 further comprises:
entering, by the processing module, the finished mode prior to completion of the series of log commands when the data logging device lacks sufficient power to continue data logging.
12 . The method of claim 11 further comprises:
generating, by the processing module, a power violation signal in response to the data logging device lacking sufficient power; and
displaying, by the display, an indication of a power violation based on the power violation signal.
13 . The method of claim 1 further comprises:
waiting, by the processing module, for the data logging device to be in a done mode before providing the environmental violation signal to the display.
14 . A computer readable memory comprises:
a first storage section that stores operational instructions that, when executed by a processing module of a data logging device, causes the processing module to:
obtain a log command; and
determine whether to enter a finished mode for the data logging device based on a data logging condition; and
a second storage section that stores operational instructions that, when executed by the processing module, causes the processing module to, when not in the finished mode and in response to the log command:
obtain a measure of an environmental condition;
determine whether the measure of the environmental condition is within an expected range;
when the measure of the environmental condition is not within the expected range, generate an environmental violation signal when triggered.
15 . The computer readable memory of claim 14 , wherein the second storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
send the environmental violation signal to a display of the data logging device, wherein the display displays an indication of the environmental violation based on the environmental violation signal.
16 . The computer readable memory of claim 14 , wherein the second storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
send the environmental violation signal to a radio frequency (RF) transmitter of the data logging device, wherein the RF transmitter transmits an RF signal that includes the environmental violation signal.
17 . The computer readable memory of claim 14 , wherein the first storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
ignore subsequent log commands when the environmental violation signal has been generated.
18 . The computer readable memory of claim 14 further comprises:
a third storage section that stores operational instructions that, when executed by the processing module, causes the processing module to, when the measure of the environmental condition is not within the expected range:
determine whether this occurrence of the measure of the environmental condition not being within the expected range is a triggering occurrence; and
when this occurrence is the triggering occurrence, enable the generation of the environmental violation signal.
19 . The computer readable memory of claim 18 , wherein the third storage section further stores operational instructions that, when executed by the processing module, causes the processing module to determine that this occurrence is the triggering occurrence by:
determining that this occurrence, added to a count of previous occurrences of the measure of the environmental condition not being within the expected range, equals or exceeds a count threshold; and/or
determining that magnitude this occurrence of being outside of the expected range is equal to or exceeds a magnitude deviation threshold.
20 . The computer readable memory of claim 14 , wherein the second storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
store the measure of the environmental condition in memory of the data logging device.
21 . The computer readable memory of claim 14 further comprises:
a third storage section that stores operational instructions that, when executed by the processing module, causes the processing module to, when in a done mode:
generate an environmental OK signal when the generation of the environmental violation signal is not triggered; and
send the environmental violation signal to a display of the data logging device, wherein the display displays an indication of the environment being OK based on the environmental OK signal.
22 . The computer readable memory of claim 14 , wherein the first storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
detect activation of a non-RF activation circuit to initiate a series of log commands, wherein the log command is one in the series of log commands.
23 . The computer readable memory of claim 22 , wherein the first storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
enter the finished mode prior to completion of the series of log commands when the data logging device lacks sufficient power to continue data logging.
24 . The computer readable memory of claim 23 , wherein the first storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
generate a power violation signal in response to the data logging device lacking sufficient power; and
send the power violation signal to the display, wherein the display displays an indication of a power violation based on the power violation signal.
25 . The computer readable memory of claim 14 , wherein the second storage section further stores operational instructions that, when executed by the processing module, causes the processing module to:
wait for the data logging device to be in a done mode before providing the environmental violation signal to the display.