* NXP Semiconductor Inc.
* (c) Copyright 2004-2017 NXP Semiconductor, Inc.
* ALL RIGHTS RESERVED.
*
* =================================================================== *
*
* THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY	              *
* EXPRESSED 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 NWP OR	              *
* ITS CONTRIBUTORS 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.                                  *
* =================================================================== *


***********************************************************************
*					   			      *
* 		NXP SENSOR GUI installation 	    	      	      *
*					   			      *
***********************************************************************

*** Installation procedure ***

1) Download and install NI-serial (the GUI has been developed using LabVIEW). For that, follow the link below and download NI Serial version 4.1 installer. Install the program.

https://www.ni.com/en-us/support/downloads/drivers/download.ni-serial.html#306212

2) Install the LabVIEW GUI. For that go to builds > installer > Volume and execute setup.exe. Follow the installation instructions.Note the installation folder created by the installer: the application executable will be located in this installation folder (by default: C:\Program Files (x86)\Airbag Evaluation Board).


*** Demo setup procedure ***

1) Once everything is installed, copy the provided GuiSettingTPMS_MKW01_LF_RF_counts_COM27.cfg file into the folder $(INSTALLATION_FOLDER)>data created by the installer (for example, $(INSTALLATION_FOLDER) can be C:\Program Files (x86)\Airbag Evaluation Board).

2) Connect the receiver board (MKW01 board for example if working on TPMS) to the computer and check to which port COM it is associated.

3) Start the LabVIEW GUI application by executing Airbag_EV-MKTG.exe in the installation folder created by the installer (for example: C:\Program Files (x86)\Airbag Evaluation Board)

4) Once the application has started, load a configuration file. For that go to File>Settings>Load settings... and select a .cfg file in $(INSTALLATION_FOLDER)>data.
Then go to File>Settings>Edit settings and in the RS232 USB CDC/USB2 panel indicate the right port COM in partial resource Name (by default a port COM is indicated but may not correspond to your actual port COM). If the port COM needs to be changed you can save the configuration file under a new name using Save as.

5) Then go back to the main window and click on Start acquisition. Data received by the receiver board should be displayed on the graphs.
If it is not the case check your port COM number.



**************** About the .cfg files ******************

- GuiSettingTPMS_MKW01_LF_RF_counts_COM27.cfg: when using this file, pressure, acceleration, voltage and temperature are displayed in counts. The GUI does not process these compensated data (they are displayed as they are received).

- GuiSettingTPMS_MKW01_LF_RF_FXTH87_450kPa_COM27.cfg: to be used if using a TPMS emitter containing a 450kPa pressure sensor. Data received is processed by the GUI so that pressure is displayed in kPa, acceleration in g, temperature in C and voltage in volts. The GUI receives the data in counts and then converts them in common units before displaying them. 


- GuiSettingTPMS_MKW01_LF_RF_FXTH87_900kPa_COM27.cfg: to be used if using a TPMS emitter containing a 900kPa pressure sensor. Data received is processed by the GUI so that pressure is displayed in kPa, acceleration in g, temperature in C and voltage in volts. The GUI receives the data in counts and then converts them in common units before displaying them. 


- GuiSettingTPMS_MKW01_LF_RF_FXTH87_1500kPa_COM27.cfg: to be used if using a TPMS emitter containing a 1500kPa pressure sensor. Data received is processed by the GUI so that pressure is displayed in kPa, acceleration in g, temperature in C and voltage in volts. The GUI receives the data in counts and then converts them in common units before displaying them. 



********************************************************
