<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for jeremyshubert</title><link href="https://forge.codesys.com/u/jeremyshubert/activity/" rel="alternate"/><id>https://forge.codesys.com/u/jeremyshubert/activity/</id><updated>2021-02-09T08:39:23.700000Z</updated><subtitle>Recent activity for jeremyshubert</subtitle><entry><title>jeremyshubert posted a comment on discussion Visualization 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/2747ce62d9/?limit=25#7b73" rel="alternate"/><published>2021-02-09T08:39:23.700000Z</published><updated>2021-02-09T08:39:23.700000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Visualization/thread/2747ce62d9/?limit=25#7b73</id><summary type="html">Thanks so much for sharing this.</summary></entry><entry><title>jeremyshubert modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-25T06:22:00.662000Z</published><updated>2020-07-25T06:22:00.662000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily do the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; END_VAR arrIndicatorColor[1] := 'Red'; arrIndicatorColor[2] := 'Yellow'; . . . arrIndicatorColor[5] := 'White'; I'd prefer to set all the values of the array with a single line. ex: arrIndicatorColor := ['Red','Yellow','Green','Blue','White']; However this line of ST gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in my example it's only 5 array elements but if this was...</summary></entry><entry><title>jeremyshubert modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-25T06:21:35.635000Z</published><updated>2020-07-25T06:21:35.635000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily do the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; END_VAR arrIndicatorColor[1] := 'Red'; arrIndicatorColor[2] := 'Yellow'; . . . arrIndicatorColor[5] := 'White'; I'd prefer to set all the values of the array with a single line. ex: arrIndicatorColor := ['Red','Yellow','Green','Blue','White']; However this line of ST gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in my example it's only 5 array elements but if this was...</summary></entry><entry><title>jeremyshubert modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-24T22:11:58.268000Z</published><updated>2020-07-24T22:11:58.268000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily do the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; END_VAR arrIndicatorColor[1] := 'Red'; arrIndicatorColor[2] := 'Yellow'; . . . arrIndicatorColor[5] := 'White'; I'd prefer to set all the values of the array with a single line. ex: arrIndicatorColor := ['Red','Yellow','Green','Blue','White']; However this line of code gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in my example it's only 5 array elements but if this...</summary></entry><entry><title>jeremyshubert modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-24T22:11:26.963000Z</published><updated>2020-07-24T22:11:26.963000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily do the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; END_VAR arrIndicatorColor[1] := 'Red'; arrIndicatorColor[2] := 'Yellow'; . . . arrIndicatorColor[5] := 'White'; I'd prefer to set all the values of the array with a single line. ex: arrIndicatorColor := ['Red','Yellow','Green','Blue','White']; However this line of code gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in my example it's only 5 array elements but if this...</summary></entry><entry><title>jeremyshubert modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-24T22:11:08.218000Z</published><updated>2020-07-24T22:11:08.218000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily do the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; END_VAR arrIndicatorColor[1] := 'Red'; arrIndicatorColor[2] := 'Yellow'; . . . arrIndicatorColor[5] := 'White'; I'd prefer to set all the values of the array with a single line. ex: arrIndicatorColor := ['Red','Yellow','Green','Blue','White']; However this line of code gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in my example it's only 5 array elements but if this...</summary></entry><entry><title>jeremyshubert modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-24T16:39:53.143000Z</published><updated>2020-07-24T16:39:53.143000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily do the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; END_VAR arrIndicatorColor[1] := "Red"; arrIndicatorColor[2] := "Yellow"; . . . arrIndicatorColor[5] := "White"; I'd prefer to set all the values of the array with a single line. ex: arrIndicatorColor := ["Red","Yellow","Green","Blue","White"]; However this line of code gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in my example it's only 5 array elements but if this...</summary></entry><entry><title>jeremyshubert modified a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-24T16:38:42.976000Z</published><updated>2020-07-24T16:38:42.976000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily do the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; iColors : INT; END_VAR CASE iColors OF 1: arrIndicatorColor[1] := "Red"; arrIndicatorColor[2] := "Yellow"; . . . arrIndicatorColor[5] := "White"; END_CASE I'd prefer to set all the values of the array with a single line. ex: arrIndicatorColor := ["Red","Yellow","Green","Blue","White"]; However this line of code gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in my example...</summary></entry><entry><title>jeremyshubert posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554" rel="alternate"/><published>2020-07-24T15:57:29.661000Z</published><updated>2020-07-24T15:57:29.661000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/4d3ca89435/?limit=25#e554</id><summary type="html">I can easily to the following: VAR arrIndicatorColor : ARRAY[1..5] OF STRING; iColors : INT; END_VAR CASE iColors OF 1: arrIndicatorColor[1] := "Red"; arrIndicatorColor[2] := "Yellow"; . . . arrIndicatorColor[5] := "White"; END_CASE This is a challenge, I'd prefer to set all the values with a single line. ex: arrIndicatorColor := ["Red","Yellow","Green","Blue","White"]; However this line of code gives me an error "Unexpected array initialization". Is there a proper syntax? I can copy and paste, in...</summary></entry><entry><title>jeremyshubert posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/50145af335/?limit=25#64e9" rel="alternate"/><published>2020-06-03T20:56:37.852000Z</published><updated>2020-06-03T20:56:37.852000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/50145af335/?limit=25#64e9</id><summary type="html">Same issue. The CmpDynamicText library has tools to set the text list to a file name and to update the text file. I guess we could point the text file to a csv, save to the csv file and then reload the text file from the csv. It seems bit convoluted and it also seems like basic functionality that should be considered for text files...am I missing something?</summary></entry><entry><title>jeremyshubert posted a comment on discussion Engineering</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a50037fd25/?limit=25#d18c" rel="alternate"/><published>2020-03-19T04:53:40.493000Z</published><updated>2020-03-19T04:53:40.493000Z</updated><author><name>jeremyshubert</name><uri>https://forge.codesys.com/u/jeremyshubert/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/a50037fd25/?limit=25#d18c</id><summary type="html">JSONByteArrayWriter appears to add a carriage return and line feed between each each JSON element. How can this be removed?</summary></entry></feed>