I need to programmatically reinitialize KEPServer EX v5.14
I am using KEPServerEX 5.14. I have an excel spreadsheet with multiple DDE links to numerous PLCs across a network. Each PLC has an 90 element array for points i need to make calculations on each day. The spreadsheet opens at 12:01 each morning via batch file and windows task scheduler and then excel runs a macro that gathers the data i need from cells that update based on current data in the PLCs and closes Excel. The columns set from row 3-92 for example: "=kepdde|RTU5PLC1!'AR1F32-0000031(x)" where x is the array element 0-89 and the RTU changes based on the device i am talking to. may be too much detail there, but it works for 7 different RTUs and 28 different arrays 100% of the time EXCEPT...
I have one specific RTU that brings in 8 arrays (columns a - h) and for some reason column D misses some of the data, ie. cells D3-D5 are not populated, D6-D9 are populated but D10-D23 are not and D24-D92 are good. The macro pukes every time it gets a "N/A" in any of it's fields so this is a problem.
I can make it consistently populate all of the fields if i manually go to KEPServerEX in the task bar and right click it and select "Reinitialize" then restart the excel sheet. The problem is i need to reinitialize it each day and this is not a computer that is monitored daily. Does anyone know how i can do this in a batch file?

