Compare File

Discussions about tools to complement CSPro data processing
Forum rules
New release: CSPro 8.0
Post Reply
Lyon
Posts: 3
Joined: May 28th, 2020, 5:20 am

Compare File

Post by Lyon »

Hello Cspro Team , I write a pff file to replicate the compare tool with some other functions(copying and verifying ). The problem is it only uses the input to reference comparison method. By using the tool from the menu we can select the option "compare input to reference and reference to input". But how can I use this setting programmatically from the pff file.
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: Compare File

Post by aaronw »

The Compare Input to Reference and Reference to Input option is stored in the compare specification file. Create your compare specification file and save it.
https://www.csprousers.org/help/CSDiff/ ... _file.html

When you run the compare specification a PFF file will be generated. The PFF specifies the application to run, input data, reference data, etc. Now you can programmatically update the PFF to change these attributes.
https://www.csprousers.org/help/CSDiff/ ... pares.html

If you need to change what is in a compare specification, you'll save multiple versions of the specification and programmatically change the PFF's application.
Post Reply