3/20/2011 - Web-enabled Reports Display.htm and Display.asp, XMAS2007 example Purpose: To provide a migration path away from proprietary, pc-based environments. Approach: Re-create the business logic of Dis2002.exe in programmable browser languages such as Javascript, ASP, and php. Only basic functions are implemented at this point. Compatibility: DOS "flat" files are converted to XML and have names similar to original. There are four essential XML files: ctdat, microdat, microtxt, and mmdb1 To Be Done: Implement more features and database management for mmdb1.XML Display reports can be viewed in a browser with data in local files. If the files are stored on a Microsoft server, the Javascript and ASP programs will produce reports identical to those from Dis2002.exe. It is possible to run Display.htm on a client pc running Firefox. Other browsers may not render properly (IE and Chrome) at this time. Configure the XML files with your data and check to see that the reports agree with Dis2002.exe. Be careful of positions and lengths. The example contains additional circuit description characters to illustrate this improved capability. A remote web capture can be performed with an RS232-to-Ethernet adaptor using the "pull" model. This means the user visits the adaptor using its URL to get data. The data is buffered so there is no 3 minute wait for the mM processor. Type 1 and Type 2 are supported. An alternative "push" model also exists utilizing a MySQL database on Yahoo Small Business. This means the user can simply pull up reports from the database with no direct access to mM processors and no 3 minute wait. The block of 17 lines is cutpasted into FormatDBentry.htm to make a Type 2 mm.db1 entry. A Type 1 processor can be made to look like Type 2 with some duplicated numbers. Type 1 format is not supported beyond this point. The resulting entry must be added to mmdb1.xml (manually, at this point). 09/28/2009 - Processor Streams: Type1: 4,5,60288,921 5,0,56614,373 6,14,42885,374 7,48,36923,626 8,58,30532,555 9,10,21428,403 10,3,38219,360 11,4,39786,409 12,0,25367,487 13,40,18498,521 14,0,55974,2550 15,0,57803,1409 16,0,45411,2020 1,0,38057,477 2,16,56987,1049 3,3,64545,492 4,5,60293,921 Type2: 8,8,25015,90,8,25064,105,10603 9,0,257,0,0,438,0,10603 10,0,28561,1,0,29182,1,10603 11,0,0,0,0,404,0,10603 12,0,255,0,0,553,0,10603 13,0,260,0,0,737,0,10603 14,0,275,0,0,534,0,10603 15,0,23020,164,0,58438,172,10603 16,0,544,0,0,828,0,10603 1,0,27585,80,0,22727,95,10603 2,0,18288,19,0,6289,21,10603 3,2,37108,42,2,36548,42,10603 4,17,43624,124,26,2540,161,10603 5,0,58117,41,2,22526,46,10603 6,0,29066,102,0,738,141,10603 7,0,10924,109,0,41318,148,10603 8,8,25023,90,8,25072,105,10603