I'm Struggling with the WebVisu graphs. It's possible to load data from arrays, but whats the format for multiple lines/arrays?
Is that in the form of the example below or?
Struct
Array1[] OF TYPE
Array2[] OF TYPE
Array3[] OF TYPE
END_STRUCT
Thanks in advance,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your reply.
I'm afraid that I'm not having that dialog. With SoMachine Logic Builder 4.3 I'm stuck on Visu-components version 3.5.6 and lower (see screen print).
I think with Codesys 3.5.3.
Best regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your reply.Lets go back to the start.
I would like to have some "logger" arrays of files in which multiple traces are logged.
Doesn't have to be a long log (but would be nice).
I don't like to use the Trace element, because it's logging in the WebVisu part. A minor miss-configuration (like task-intervals) makes the controller crash.
So I would like to have a more defined logging and was thinking of 500 deep arrays with fixed interval used as FIFO (by using the rotate array functions).
This way I could also make some trendlines by using meanarray functions.
Yes, it's loading the system but the logging may be a long interval (minutes).
So I was thinking about the history-element. For a single array it works just fine, but I'm stuck with only one array shown.
I dont have the XY chart available as element in this version.
Maybe you know an alternative way, for example a trace loaded from file?
Also a _ function would be nice, or a "range selection" option.
or do I have to make a custom graph javascript
Best regards,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ah I see.
Yes you can load a recorded trace from the file system.
So therefore you would have do write all your data to the file and load it into the trace.
The trace has some control options, see l viewtopic.php?f=25&t=9101#p22906 l for more on this. ( You are not required to add the elements, but it may help you set up the correct file format to import the trace then).
I think, range selection is not available in your version (I was in university when SP3 got released).
Most of the things you wanna do are there already in later version, sorry.
Best regards,
Marcel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I'm Struggling with the WebVisu graphs. It's possible to load data from arrays, but whats the format for multiple lines/arrays?
Is that in the form of the example below or?
Struct
Array1[] OF TYPE
Array2[] OF TYPE
Array3[] OF TYPE
END_STRUCT
Thanks in advance,
Hello sir,
have you tried to add multiple lines in the xy-configuration?
Check out https://help.codesys.com/webapp/_visu_d ... n=3.5.13.0 for more!
Best regards,
Marcel
Hello Prestel,
Thank you for your reply.
I'm afraid that I'm not having that dialog. With SoMachine Logic Builder 4.3 I'm stuck on Visu-components version 3.5.6 and lower (see screen print).
I think with Codesys 3.5.3.
Best regards,
Hello sir,
about what graph are you talking then?
XY-Chart is only available since SP12 (I think).
Best regards,
Marcel
Hello Prestel,
Thank you for your reply.Lets go back to the start.
I would like to have some "logger" arrays of files in which multiple traces are logged.
Doesn't have to be a long log (but would be nice).
I don't like to use the Trace element, because it's logging in the WebVisu part. A minor miss-configuration (like task-intervals) makes the controller crash.
So I would like to have a more defined logging and was thinking of 500 deep arrays with fixed interval used as FIFO (by using the rotate array functions).
This way I could also make some trendlines by using meanarray functions.
Yes, it's loading the system but the logging may be a long interval (minutes).
So I was thinking about the history-element. For a single array it works just fine, but I'm stuck with only one array shown.
I dont have the XY chart available as element in this version.
Maybe you know an alternative way, for example a trace loaded from file?
Also a _ function would be nice, or a "range selection" option.
or do I have to make a custom graph javascript
Best regards,
Hello sir,
ah I see.
Yes you can load a recorded trace from the file system.
So therefore you would have do write all your data to the file and load it into the trace.
The trace has some control options, see l viewtopic.php?f=25&t=9101#p22906 l for more on this. ( You are not required to add the elements, but it may help you set up the correct file format to import the trace then).
I think, range selection is not available in your version (I was in university when SP3 got released).
Most of the things you wanna do are there already in later version, sorry.
Best regards,
Marcel