Background Program - Get Weight

Issue No: GRN-20
Created 11/11/2014 3:03:27 PM
Type Feature
Priority Minor
Status Closed
Resolution Fixed
Fixed Version 15.4
Description [http://inet.irelyserver.com/display/GR/Get+Weight]   I am not sure what happened to the description in here.     I am putting in email notes sent...   # New serial reading program, new program created by Renz… ## This will read the serial port and take all data from a “line” and add a Date/Time stamp to it. ## This will output to a sequential file (origin) or a data base file (i21)   Testing/working:   RDP to 10.0.5.25 (use domain sign in) ß if not working contact Adam…   See old test… file is in C:\windows\temp\scale\scal0011     In windows services… (stop to test your program) – note: I have stopped this after creating the scal0011.bak file.     If the service is running, we have a test weight going in of this right now…     NOTE: the old service takes the line from the serial port, and adds a space + DT=DT-Time-Stamp     New program should first be able to output a file line that basically mimics what is sin scal0011.bak. I can test this in programs.   Ne2 program must secondly be able to update a database file with this value to strDeviceData   [http://inet.irelyserver.com/display/GR/ERD+%28Scale+15.2%29+Updates]       # I21 only work to parse the data base line information –GRN 20 NOTE: this is not file output but is DB.   [http://inet.irelyserver.com/display/GR/Physical+Scale+Maintenance]     Connection type will be DB for i21.     Motion will be checked… looking at the raw file either position 1 or 2 will be the indicator…     Enable motion check   Indicator is fixed   Starting col, I think 3 (as noted may be off 1 depending on first 2 characters)   Value leave blank (meaning any value non-space denotes motion) if a value is used it must match eg: “M” motion only when that value.     Weight indicator is fixed   Start in 4   Length of 7, eg from “ 0” to “9999999” in weigth. From file above should return 36400 if set up right.     Initially we do not have to test date/time check.   *See notes about adding new test fields at the end of the inet page.*