02-25-2022 03:24 PM
Hello,
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.
03-01-2022 12:01 PM
03-04-2022 01:26 PM
I will update the file and try it on Monday. Thank you for the help.
03-08-2022 08:06 AM
Hello,
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?
03-23-2022 02:29 PM
the path where the file should be stored must exist
e.g.:
Probe1: 'd:\OpconData\Cg\Probe1\2022-03-23-14-19-48-Probe1.CSV'
Probe2: 'd:\OpconData\Cg\Probe2\2022-03-23-14-19-48-Probe2.CSV'