<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / using a REXcontrol variable in javascript]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=358&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=358"/>
	<updated>2017-05-19T07:15:33Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=358</id>
	<entry>
		<title type="html"><![CDATA[Re: using a REXcontrol variable in javascript]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1650#p1650"/>
		<content type="html"><![CDATA[<p>Thanks for the offer but as this is just a hobby for me I prefer to do it the hard way and try to make my own component.</p><p>If something useful comes out of this I will post it here.....</p>]]></content>
		<author>
			<name><![CDATA[scoobsalamander]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=6</uri>
		</author>
		<updated>2017-05-19T07:15:33Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1650#p1650</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: using a REXcontrol variable in javascript]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1623#p1623"/>
		<content type="html"><![CDATA[<p>Yes the scaling animation also changes the thickness of the line :-(</p><p>At the moment you have to stick with your workaround or create your own component for the RexHMI Designer.</p><p>This is not a mainstream request, therefore we could develop such component for you only if you were OK with a paid service.</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2017-05-11T18:54:58Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1623#p1623</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: using a REXcontrol variable in javascript]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1611#p1611"/>
		<content type="html"><![CDATA[<p>By using the scaling animation the line thickness will also change, correct? <br />I had some success with the rotate function but then I had to calculate the rotating angles of the lines in Rexcontrols, it&#039;s working but I didn&#039;t like it...... :-)</p>]]></content>
		<author>
			<name><![CDATA[scoobsalamander]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=6</uri>
		</author>
		<updated>2017-05-10T07:07:41Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1611#p1611</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: using a REXcontrol variable in javascript]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1610#p1610"/>
		<content type="html"><![CDATA[<p>I have a heating control system running which uses the LIN function block for calculating the needed water feed temp by the outside ambient temperature. But in addition I also have a LIN function block to calculate the wanted return water temperature, if this one is too low an adjustment to the feed temperature will be done. This compensation has also a maximum and this is also calculated with a LIN FB. The x and y coordinates of the interpolation points are not static and will change constantly.... </p><p>On the HMI I want to display a graph with these lines (3) and at the same time I want to visualize on the same graph the measured water temperatures (feed &amp; return) and the outside temperature. </p><p>At the moment I&#039;m trying to go through the tutorial you once wrote regarding the creation of a custom button....but it&#039;s not so easy if you are not a javascript/RexHMI&#160; guru&#160; ...... :-)</p>]]></content>
		<author>
			<name><![CDATA[scoobsalamander]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=6</uri>
		</author>
		<updated>2017-05-09T12:01:42Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1610#p1610</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: using a REXcontrol variable in javascript]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1609#p1609"/>
		<content type="html"><![CDATA[<p>How about reading the value via REST API (i.e. using the HTTP GET request)?</p><p>Or, you can always create your own component for the RexHMI Designer...</p><p>Are you trying to build your very own HMI or what is the use-case?</p><p>Best regards,<br />Jaroslav</p><p>PS The scaling animation could partially solve the problem but I guess you have a reason not to use it, don&#039;t you?</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2017-05-09T11:47:32Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1609#p1609</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[using a REXcontrol variable in javascript]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1602#p1602"/>
		<content type="html"><![CDATA[<p>Is there a way how I could use a variable inside the HMI webpage (javascript) from within REXcontrol? </p><p>Websocket? </p><p>Reason : I need to control the x,y coordinates from the two points of a SVG line. At the moment this is not supported in the REXHMI Designer.</p><p>(<a href="http://stackoverflow.com/questions/21168599/extend-line-with-given-points" rel="nofollow">example of what I want to accomplish, more or less...</a>)</p>]]></content>
		<author>
			<name><![CDATA[scoobsalamander]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=6</uri>
		</author>
		<updated>2017-05-06T20:29:50Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1602#p1602</id>
	</entry>
</feed>
