<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Rexlang block freezes when there is an illegal operation]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=77&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=77"/>
	<updated>2016-03-12T22:33:51Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=77</id>
	<entry>
		<title type="html"><![CDATA[Re: Rexlang block freezes when there is an illegal operation]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=338#p338"/>
		<content type="html"><![CDATA[<p>Thanks for posting your findings. This is a feature in versions &lt;=2.10.x, not a bug. In future versions the REXLANG block will have a RESET input.</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-03-12T22:33:51Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=338#p338</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Rexlang block freezes when there is an illegal operation]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=337#p337"/>
		<content type="html"><![CDATA[<p>Hi , I noticed that the Rexlang block freezes due to an illegal operation then refuses to reset. In my program , I had put in a line <br />output_y0= input_1/input_2. </p><p>When the program is first downloaded , Input_2 is &#039;0&#039; because input_2 has to be manually entered from HMI. So after the program is downloaded, The rexlang block does not produce output_y0 .On checking rexview, the iE code says error - division by zero. Later, even when a positive value is entered from HMI, it still does not produce output_y0.&#160; The issue has been solved with a bit of if, else logic as in if in input_2 is zero , Output_y0= some initial constant value. </p><p>Im not sure if this is a bug or it is intentional, just thought id share it on the forum. Thanks !</p>]]></content>
		<author>
			<name><![CDATA[deepak]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=22</uri>
		</author>
		<updated>2016-03-11T15:26:14Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=337#p337</id>
	</entry>
</feed>
