i tried writing Results of CG-Measurement into a CSV-File with the CgAddon V2.1.
In CPS you can configure CSV as DataManagement, but the ParCfg code will not generate because it is missing from the StartupParams.otd.
Writing the ParCfg Parameters myself and running the chain the PLC goes into exception when writing the data.
See attached files for CPS config, plc callstack and StartupParams.
Sorry seems that the export wasn't updated.
Can you please replace the StartupParams.otd in the object with the attached version and test it?
the ParCfg Code is now being exported and the PLC is not running into an exception anymore.
Unfortunately the .CSV-File is not being written. It sets an error: "ADS: File or path not found". (see attachment)
I set the Path to D:\OpconData\CgData. I saw online in the Cg-Addon that he added "\Probe\2022-03-07......csv" the path exists and looks good.
Do you have an idea what could be the problem here?
the path where the file should be stored must exist