← LinkVion homeHelp index

Compare project changes

Gateway · Projects 한국어

1. Overview

Compare changes takes two project states and shows what was added, removed or changed. Changed screen pages appear as before/after thumbnails side by side, tags and device connections as field-level tables, and scripts line by line.

Comparing modifies nothing. It only collects the current state and reads saved copies or files. Saving and opening are always done with the buttons on the Projects page.

2. Where to open it

PlaceCompares
Projects page header … menu › Compare changesThe saved copy of the running project ↔ the current state (pick one yourself if none is saved)
Save current state dialog › What changed?The saved copy under the name you are about to overwrite ↔ the current state — check before saving (only when that name exists)
After opening a file, sample or saved project › Compare changesThe current state ↔ the opened project — preview what opening it would change

3. What you can compare

Pick two and press Compare. The middle button swaps before and after.

4. Reading the result

5. What is not compared

6. Project files and Git

A project file (.acproj) is a ZIP of the gateway's project folder. Unpacked, it is byte-identical to that folder, so it can be kept in Git on a development PC.

FileContents
project.jsonTable of contents — where screens and scripts are, and section counts
gateway.json · scada/<screen>.json · scripts/<id>.js · alarms.json …Content — written with sorted keys, one-space indent and a final newline. The same content always gives the same bytes
.meta.jsonSave timestamps — listed in .gitignore, so they never reach Git
vision.json · vision/recipes/<hash>.vrpVision recipe and calibration bodies live in files named by their content hash; vision.json keeps only the reference (dataFile). The large body folders are in .gitignore, so Git keeps only the hash reference — a folder cloned from Git may lack the bodies
.gitignore · .gitattributesDefaults are included (metadata, large bodies, runtime state and secret sidecars are ignored; screen and tag files pick one side instead of a text merge)
To load a project from Git onto a gateway, use Import from file → Open. That way the license limits, HACCP locks and vision rules still apply. Do not swap files inside the gateway's project folder directly.