10/17/2024 8:49 AM | |
Joined: 5/12/2023 Last visit: 1/8/2025 Posts: 3 Rating:
|
Hi Oreca, I am a bit late for the discussion I want to use the same logic of the button "@BtnTrendsOnline" in the "@Buttons11.Pdl" to create and save trends by the operators but I want to add 3 parameters to categorize them even better (this logic is used by our current trends application but it will be soon decommisioned, and we want to replicate the same logic in WinCC). But when looking into the matter, I found out that the trends are saved in trg files and their configuration in trc files. The trg is simple i found a script in the "@PG_APL_SaveTrendGroup.Pdl", but I noticed that the script creates the trg file, and only when the trend is opened for the first time that the trc is created. But when I insert an "OnlineTrendControl" object directly in the view, I cannot save the xml (trc) file. The exe application that does this can't be modified to include more than 2 parametres (trend group name+user), i want to add 3 more. Is there certain functions that I can use to automate this process? For the moment I added 3 input fields in "@PG_APL_SaveTrendGroup.Pdl" for the user to create the trg file and save the 5 parametres (trend name + user name + " parametres ; workshop, installation and info type) and I am using 2 txt files, 1st as a data base for the trends 5 parametres and a 2nd one as a log for a scipt included in a button that looks in the data base for 3 parametres inputs by the user in the RT window. NB : Photos attached If needed i can include the 2 scripts (add new trend group and look for trend group from selected parametres)
------------------------------------------------------------------------------------------ |
Last edited by: Moderator_Lan at: 10/17/2024 08:55:13New subject after splitting Last edited by: badr_ramdani at: 10/17/2024 09:11:08Last edited by: badr_ramdani at: 10/22/2024 08:25:25Regards, |
|
Follow us on