3/2/2021 12:27 AM | |
Joined: 7/30/2020 Last visit: 10/12/2022 Posts: 9 Rating: (0) |
Do you mind sharing your solution, I have a similar problem, I tried following the examples in the links, but when I run the script it doesn't create a .csv file. I use WinCC Pro V16 so the array element limit is 2000. The part of the code that creates the file works fine if I use normal variables that are not a part of an array. The script has a lot of extra columns that I was testing event triggered exporting, so you can ignore those, I'm mainly focusing on the "Force" array right now.
The file output when using a trigger tag to write to it periodically, looked something like this. This was however very slow even with everything set to "On Change". *****UPDATE***** Specifically this part of the code gives me the following error:
While manually indexing like this, does not give me an error and writes the values to the file properly:
I was following the tips from this page, which recommends to index the array like this: https://support.industry.siemens.com/cs/ww/en/view/26165877 ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 03/02/2021 11:56:04New subject after splitting Last edited by: Zemo_ at: 03/02/2021 22:27:40Last edited by: Jen_Moderator at: 03/03/2021 05:59:58Optimized link. |
|
Follow us on