- Added EXE copy from Ate\ProdSW to C:\ATE in NWTOC.BAT - Added /Y overwrite flag to all COPY commands - Removed cyclic DATA folder copies from NWTOC - Session log for 2026-03-16 DF DOS troubleshooting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2.6 KiB
2.6 KiB
Session Log: 2026-03-16
Summary
Investigated and fixed test station software update issue reported by Kevin at Dataforth. Station TS-8R was not getting 7BMAIN4.EXE updated after running UPDATE and rebooting.
Root Cause Analysis
T:\UPDATE.BATis a DEPLOY wrapper (initial station setup), not a software updater- NWTOC.BAT (Network-to-Computer) runs on boot to pull updates, but had two issues:
- Missing EXE copy: NWTOC copied
*DATAsubfolder contents but never copied EXEs fromT:\Ate\ProdSW\toC:\ATE\where they actually live on DOS machines - No overwrite flag: COPY commands lacked
/Y, so existing files would prompt (hang on unattended boot)
- Missing EXE copy: NWTOC copied
- Development had staged 7BMAIN4.EXE correctly at
Ate\ProdSW\on AD2, but NWTOC never pulled it
Changes Made
NWTOC.BAT v4.0 -> v5.0
- Added
COPY /Y T:\Ate\ProdSW\*.EXE C:\ATE(new step 2/3) to pull test executables - Added
/Yflag to ALL COPY commands for silent overwrite - Removed all
*DATAsubfolder copy operations (5BDATA, 7BDATA, 8BDATA, DSCDATA, HVDATA, PWRDATA, RMSDATA, SCTDATA) -- these contain test parameter DAT files that are generated locally on stations and uploaded via CTONW; copying them back down would create cyclic overwrites - Removed MD commands for DATA subdirectories (no longer needed)
- Renumbered steps from 4 to 3
Deployment
- Deployed NWTOC.BAT v5.0 to AD2
C:\Shares\test\COMMON\ProdSW\ - Verified CR-LF line endings (DOS compatible)
- AD2-to-NAS sync will propagate within 15 minutes
Infrastructure Checks
AD2 Ate\ProdSW\ Contents
- 7BMAIN4.EXE: 283,456 bytes, dated 03/09/2026 (staged by development)
- 7BDATA subfolder: only DAT files (7BMAIN.DAT, TE1039DT.DAT)
- All 8 DATA subfolders contain only .DAT files (test parameters, sort tables)
NAS Test Data Transfers (today)
- 6 stations transferred 73 files (all 7BLOG .SHT format):
- TS-27 (28), TS-11R (15), TS-3L (11), TS-11L (9), TS-10L (5), TS-10R (5)
- No TS-8R activity (consistent with Kevin's issue)
TestDataDB (SQLite on AD2)
- Location: C:\Shares\testdatadb\database\testdata.db (~2.8 GB, ~6.1M records)
- Import ran today at 18:23, ingested 515 records (Mar 10-13 test dates)
- No test data from Mar 14-16 (weekend, expected)
- Backup task running daily at 2:00 AM (successful)
- NAS sync last ran at 18:45
Pending Actions
- Kevin to run DEPLOY on TS-8R tomorrow morning (deploys new NWTOC v5.0)
- After deploy + reboot, NWTOC should pull 7BMAIN4.EXE to C:\ATE
T:\UPDATE.BAT(NAS root DEPLOY wrapper) flagged for deletion (not yet removed)
Files Changed
projects/dataforth-dos/batch-files/NWTOC.BAT- v4.0 -> v5.0