IPHWCON Monitor
15 Jun 2012

This tools are used to monitor IPHWCON application.  It checks if IPHWCON is still running or not.  If it is not running, it executes IPHWCON again.  If it is running, it waits or pause for a number of seconds and checks again.  There are two files that does this, ipstart1.bat and ipstart2.bat.  Each file is a failsafe to the other.  Aside from monitoring IPHWCON, ipstart1.bat also monitors if ipstart2.bat is running and vice versa.  All this monitoring is done in an interval of a number of seconds.


Files (5)
	*	iphwcon.exe - always secure latest copy 
	*	ipstart1.bat
	*	ipstart2.bat
	*	ipstart1.vbs
	*	ipstart2.vbs
	

Installation Directory
	1. Create directory under C:\.  Name it WEBPOS.

		mkdir C:\WEBPOS

	2. Place all 5 files inside the newly created directory.
	

Configuration
	Variables
		BASEDIR	- installation directory
		DELAY	- number of seconds to pause or wait
		SECONDS - converts to milliseconds. DO NOT CHANGE!
		PARAM1	- Value is either H or U. Hide(H) or Unhide(U) IPHWCON. First parameter of IPHWCON. 
		PARAM2	- Broadcast IP Address.  Second parameter for IPHWCON.
		
	For now, DO NOT CHANGE any values except for PARAM2.
	
	1. Edit the 2 .bat files.  Open with notepad.
	2. Change the value of PARAM2 with the appropriate broadcast IP Address.
			Example:  
				SET PARAM2=192.36.252.255


Launch
	To start, just execute any of the .vbs files, either:
		- ipstart1.vbs or
		- ipstart2.vbs