<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using latch variables in translated alarmGroup messages</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/28dc96925b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/28dc96925b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/28dc96925b/</id><updated>2023-03-03T16:36:31.180000Z</updated><subtitle>Recent posts to Using latch variables in translated alarmGroup messages</subtitle><entry><title>Using latch variables in translated alarmGroup messages</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/28dc96925b/?limit=25#7102" rel="alternate"/><published>2023-03-03T16:36:31.180000Z</published><updated>2023-03-03T16:36:31.180000Z</updated><author><name>joanm</name><uri>https://forge.codesys.com/u/joanm/</uri></author><id>https://forge.codesys.com1ea1f21a2457502b7b20882d82f3b6775b62ca63</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yep, that works well.&lt;/p&gt;
&lt;p&gt;Thanks for posting!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using latch variables in translated alarmGroup messages</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/28dc96925b/?limit=25#4fa3" rel="alternate"/><published>2023-02-20T08:57:21.937000Z</published><updated>2023-02-20T08:57:21.937000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com5288d83c7bbdb711bf4ae0ce03fb8b4c5e8a1095</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Message should be something like:&lt;br/&gt;
text &amp;lt;latch1&amp;gt; more text.&amp;lt;/latch1&amp;gt;&lt;/p&gt;
&lt;p&gt;See:&lt;br/&gt;
&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_extending_alarm_messages_with_latch_variables.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_extending_alarm_messages_with_latch_variables.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using latch variables in translated alarmGroup messages</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/28dc96925b/?limit=25#db4a" rel="alternate"/><published>2023-02-16T18:53:27.176000Z</published><updated>2023-02-16T18:53:27.176000Z</updated><author><name>joanm</name><uri>https://forge.codesys.com/u/joanm/</uri></author><id>https://forge.codesys.come842f7efc7f651e64c358981aef54e108c78d2ed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;Let's say I have an alarm A with:&lt;br/&gt;
&lt;em&gt; DIGITAL observation type&lt;br/&gt;
&lt;/em&gt; DETAILS: "arr&lt;a class="alink" href="/forge/talk-ru/3/"&gt;[3]&lt;/a&gt;.arrfb&lt;span&gt;[1,1]&lt;/span&gt;.bFault = TRUE" &lt;br/&gt;
&lt;em&gt; MESSAGE: "text %s more text."&lt;br/&gt;
&lt;/em&gt; LATCH VAR: myString&lt;/p&gt;
&lt;p&gt;And an alarm B With:&lt;br/&gt;
&lt;em&gt; DIGITAL observation type&lt;br/&gt;
&lt;/em&gt; DETAILS: "arr&lt;span&gt;[12]&lt;/span&gt;.bFault = TRUE" &lt;br/&gt;
&lt;em&gt; MESSAGE: "text %d more text."&lt;br/&gt;
&lt;/em&gt; LATCH VAR: myInteger&lt;/p&gt;
&lt;p&gt;In the alarm table I get the right alarms.&lt;br/&gt;
The B type alarm show "text 123 more text." because myInteger value is 123.&lt;br/&gt;
The A type alarm show "text %s more text." even the myString value is "abc".&lt;/p&gt;
&lt;p&gt;Is Codesys capable to work with string variables in latch variables?&lt;br/&gt;
Am I doing something wrong?&lt;/p&gt;
&lt;p&gt;As always thank you in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>