Troubleshooting
Replacing RSView32 DDE Server Links for Excel Reports
Short answer
FactoryTalk View SE supports legacy DDE only as a client, so it cannot serve the values your Excel reports request the way RSView32 did. The working replacement is a script that pushes each mapped tag into its report cell, proven one tag-to-cell pair at a time. Keep the old workbook as the mapping record and never let a failed read write a zero.
On this page
- Direction decides it, and the direction is wrong for Excel
- What cannot fix a missing server role
- What each symptom tells you
- Rebuild the path as a scripted push
- What a verified pair looks like in code
- Worked example: a daily total is not a snapshot
- Make the job survive running unattended
- The decision for each case
- Questions asked
After a migration from RSView32 v7.60 to FactoryTalk View SE 12.0, the daily Excel reports that pulled live values over DDE stop updating, because the DDE support in this release is client-side only: the HMI can consume DDE data, it cannot serve it. No setting, application name or link repair changes that. The working replacement is a script in the SE project that reads each report tag and writes it to its destination cell — a push instead of a pull. Prove one tag-to-cell pair first, then map the rest, and keep the old workbook as the record of every input the report needs.
Direction decides it, and the direction is wrong for Excel #
DDE splits the work between two programs. The client opens the conversation and asks for data; the server holds the values and answers, addressed by application, topic and item — in a workbook link that address reads as =Application|Topic!Item. Your workbooks are the clients. RSView32 was the server. FactoryTalk View SE 12.0 keeps legacy DDE support on the client side of that split: the HMI can request data from another DDE application, and nothing in it exposes the server role those Excel links were written against. This is the same direction question behind HMI OPC UA server versus client roles — an interface can exist throughout the product and still point the wrong way for the report. So the direct answer is no: no option, hotfix or naming trick makes FactoryTalk View SE serve DDE the way RSView32 did.
What cannot fix a missing server role #
Each of these looks like progress, and none of it is:
- Renaming the application in the workbook's DDE links. A different server name helps only when some program already answers it with the same topic and item; a typed name does not create the server.
- Configuring DDE in the HMI as a client. That moves data into the HMI from another application — the opposite direction from the one the workbook needs.
- Repairing the links or reinstalling Excel. The workbook and its formulas are healthy; the endpoint they call no longer exists.
- Polling faster. The update interval changes how often you ask; it cannot make anything answer.
Keep the retired workbook untouched while you rebuild. Its links are the inventory of every value the report consumed, and its formulas show which cells must recompute once those values land.
What each symptom tells you #
| What you see | What it means |
|---|---|
| Cells keep their last saved values after the cutover | The links still call the retired server; the endpoint is gone, and this is not a workbook fault. |
| A DDE client configuration validates in the HMI while Excel still gets nothing | Data is flowing into the HMI from another server; the HMI is serving nothing out. |
| A script write lands in the wrong sheet or cell | Connectivity is proven; the destination mapping is wrong. Fix the mapping, not the transport. |
| The report opens with believable numbers that never change | You are reading saved results from an earlier transfer, not fresh process values. |
| Totals collapse to zero during a comms loss | The script writes on a failed read. A dead tag must abort or flag the run, never become a 0. |
Rebuild the path as a scripted push #
The proven route is a script that reads the tags the report needs and writes each one to its cell. Build it as a controlled job:
- Inventory the retired workbook. Separate the external inputs from formulas, labels, totals and formatting; the link list is the input list.
- Match each input to its replacement source, checking units, scaling and data type rather than the name alone.
- Record every destination explicitly — workbook, worksheet, cell or named range — and never depend on whichever sheet happens to be active.
- Define the time meaning of each column: the instantaneous value at generation, a period total, or history. The worked example below shows why this decides the design.
- Define failure behavior before the first run: a failed or stale read marks the input unavailable and fails the report.
- Trace dependent formulas: which totals recompute after the inputs land, and which cells the script must never touch.
- Keep the mapping as a table outside the script body, so a change to the report template forces a review of the destinations.
- Verify one pair at a time: one tag you can read independently on the display, written to one known cell, compared value for value.
Do that verification with test tags on an isolated station. Never force a live process tag on a running line just to test a report.
What a verified pair looks like in code #
Illustrative example with example variables — name yours from your own mapping table. In VBA behind the workbook, a single verified pair reads one tag value, checks it, and writes one cell:
Dim flowTotal As Double ' example input: 15,120 L read at 06:00
Dim writeOK As Boolean ' starts False, set True only on a good read
flowTotal = 0.0
writeOK = ReadTagValue("FlowTotal_L", flowTotal)
If writeOK Then
Worksheets("Daily").Range("C4").Value = flowTotal
Else
Worksheets("Daily").Range("C4").Value = "UNAVAILABLE"
End If
ReadTagValue is your illustrative wrapper around whatever the SE project exposes to the script; FlowTotal_L, the Daily worksheet and cell C4 are example names, not real ones. The structure is the point: one declared, typed variable per input, one read that returns success or failure, and a write that can never place a 0 from a dead tag. The test that proves the pair: set the tag to a value you would never mistake for production data, run once, compare the cell against the tag on the display, change the tag, run again, and confirm the cell follows it.
Worked example: a daily total is not a snapshot #
Illustrative example with example inputs — repeat it with your own tag values. A flow totalizer reads 12,480 L at 06:00 Monday and 15,120 L at 06:00 Tuesday. The daily line in the report is 15,120 - 12,480 = 2,640 L. A script that fires at 06:00 Tuesday and writes only the current tag value puts 15,120 L under a heading that says daily total — about 5.7 times the true figure, and the sheet looks perfectly healthy because the number is real. Decision: every column that is a total needs two boundary reads and a subtraction, or a snapshot logged at each boundary; a single current-value write is correct only where the column genuinely wants the instantaneous value.
Make the job survive running unattended #
- Run under the account the schedule uses. Excel automation under a different login fails in ways your desktop session never shows.
- Clear the blockers in advance: a dialog waiting for a click, a protected worksheet, an already-open copy of the output file — each can hang a run nobody is watching.
- Prevent overlap. Two runs writing the same workbook give you file locks and an ambiguous completion status.
- Generate from a template into a separate output file per run, so a failed transfer never overwrites the last valid report.
- Close what you open — the output workbook and the automation objects — without terminating an operator's interactive Excel session.
- Record the acquisition time, output location and pass/fail with every run, and publish only after the inputs and totals check out.
The decision for each case #
- The reports need values at generation time: use the scripted push. One pair verified, then the full mapping table, then the schedule.
- The reports need totals or history: use the push plus boundary snapshots, or the site's stored-data path if one already exists and the report can read it.
- A pull must survive, because something other than Excel has to request data on its own schedule: point it at an application that holds the server role, such as a site data server that documents a serving interface for other applications. The SE display application is not that server and will not become one. Choosing that interface is the same engineering behind choosing a data path from an M580 PLC to FactoryTalk View: fix the documented path before building the report against it.
Questions asked
Does the push script have to live inside the FactoryTalk View SE project?
Run it where the mapped tags are readable without adding a hop. Inside the SE project, the script reads the same tags the displays use and writes the cell directly, which is one moving part and one thing to troubleshoot. Keep the mapping table outside the script either way, so the same table ports unchanged if the reports later move to a site data server.
How do I verify a tag-to-cell pair without disturbing the process?
Do it on an isolated bench station with test tags. Give the test tag a value you would never mistake for production data, run the script once, and compare the cell against the tag on the display. Change the tag and confirm the cell follows it. That pair is proven; repeat per pair. Never force a live process tag on the running line to test a report.
What should happen when the PLC link is down at report time?
The run fails loudly and publishes nothing. Each read is checked before anything is written: a failed or stale tag marks its input cell as unavailable, the failure is recorded with the run, and the output file is not released. The one forbidden behavior is writing a zero, because every downstream formula treats a dead tag as a genuine 0 and nobody catches it until a month of reports is wrong.
Is there any way to keep Excel pulling instead of pushing?
Yes, but not from the HMI. A pull needs an application holding the server role, and FactoryTalk View SE 12.0 does not expose one. If the site already runs a data server that Office tools can query, an OPC data server for example, point the reports at it and the workbook stays a client. That is a report redesign against a documented serving interface, not a configuration change on the HMI.
How do I stop two report runs from writing the same workbook?
Name each run's output with the date and time and always generate from a read-only template, so no run touches yesterday's file. If the scheduler can overlap, have the script refuse to start while another instance holds the workbook open, and log the refusal. File locks during an overlap are the failure mode you will otherwise meet first.