IRPyro TO unit test console using the IRPyro API
Functions for single and multiple sensor configurations in a Unit test format
IRPyro_UT_HL_for_TO.c File Reference

High Level Unit Testing module. More...

#include "IRPyro_UT.h"
Include dependency graph for IRPyro_UT_HL_for_TO.c:

Go to the source code of this file.

Functions

void demo_board_sensor_control (int state)
 Changes the state of all the CS lines as used on the IRPyro backplane board. More...
 
int main ()
 unit testing main program. More...
 
static void sensor_power_stabilize ()
 power cycles the sensors on the board to assure stability More...
 
void TO_test01 (void)
 Configures the registers of a single IRPyro TO and then read back again. More...
 
void TO_test02 (void)
 Configures a list of IRPyro TO. The configuration data is read from the sensors and compared. More...
 
void TO_test03 (void)
 Configures a single IRPyro TO for data streaming and verifies if any frame is missing One hour of data is read from the sensor. Each frame counter received is compared with the previous. A missing frame is detected when both numbers are NOT CONSECUTIVE. This event is counted. More...
 
void TO_test04 (void)
 A maximum of three IRPyro TO sensors are configured for data read with frame counter detection configured. One hour of data is read from the sensors. Each frame counter received is compared with the previous. A missing frame is detected when both numbers are NOT CONSECUTIVE. This event is counted. More...
 
void TO_test05 (void)
 Change register settings of a single IRPyro TO The following API commands are issued: sampling_rate_set, sampling_rate_get, high_pass_set, high_pass_get, low_pass_set, low_pass_get, gain_set, and gain_get, power_off. A sample of readings is taken and the behaviour of the sensor is observed. More...
 
void TO_test06 (void)
 Send a single IRPyro TO to sleep and then wake up by command The following API commands are issued: power_sleep, and power_wakeup. A sample of readings is taken and the behaviour of the sensor is observed. More...
 
void TO_test07 (void)
 Turn OFF and ON a single IRPyro TO with parameters restored The following API commands are issued: power_off, power_normal, and power_low. A sample of readings is taken and the behavior of the sensor is observed. More...
 

Detailed Description

High Level Unit Testing module.

Author
_KEMET, Ltd
Date
March 2018
Version
Release 1.0.0
Attention

© COPYRIGHT 2018 _KEMET, Ltd

  Copyright (c) 2018, _KEMET, Ltd
  All rights reserved.

  THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY
  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY
  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file IRPyro_UT_HL_for_TO.c.