Hi, Is there a way that I can reprocess pi archive files programmatically via PI\AF SDK ? instead of command prompt - piarchss ?
or the command prompt - piarchss is the only option with script?
There are no methods in the AF SDK or PI SDK to reprocess archive files. This is entirely handled by the piarchss executable and to my knowledge can be called in two ways:
1. With the piarchss executable directly
2. With the PI Powershell cmdlets. Specifically this one.
Thanks for ur quick reply. it helps!
I think it is also beneficial to mention that with PI Data Archive 2016 or later, there is an online-reprocessing feature and archives can be scheduled for reprocessing via the PI System Management Tools -> Archives plugin. While not intended to be used for bulk reprocessing, it can be used to quickly reprocess a few archives if needed.
Depending on your use case and PI Data Archive version, using this feature can be easier than even drafting up a PowerShell script to do so or batch script to reprocess with piarchss.exe.
- Adam Fink
Retrieving data ...