<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Database insert using OUTQUAD]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=223&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=223"/>
	<updated>2016-10-09T18:47:15Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=223</id>
	<entry>
		<title type="html"><![CDATA[Re: Database insert using OUTQUAD]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1044#p1044"/>
		<content type="html"><![CDATA[<p>Hi Hubert,<br />it&#039;s always the string after the two underscores, which is important for the I/O driver. If you name your block DB__someBlock10, then you should use in .rio file &quot;DB__someBlock10, i3, i4, ..., i9). In fact, the 7 remaining signals can be named arbitrarily, they just need to correspond with a column in the database table).</p><p>All the remaining blocks (constants, generators, etc.) can be named arbitrarily (though it&#039;s highly recommended to keep the block type part of the name).</p><p>As for data types, you are right, the &#039;i&#039; is related to integer numbers (type long). </p><p>The column in the database table can be of type FLOAT, the value will be converted automatically on write from double to float (you might loose some precision, of course).</p><p>If you need further information, I&#039;ll be happy to help.</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-10-09T18:47:15Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1044#p1044</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Database insert using OUTQUAD]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1037#p1037"/>
		<content type="html"><![CDATA[<p>Hi,</p><p>Jaroslav, can you please clarify naming conventions and connections between items in .rio file and block/elements in task?</p><p>In your example, in .rio file there are items i2 - i9.<br />In task there are:<br />- block named DB__i2&#039;<br />- values (constants, generators) named from i2 to i9</p><p>which one from above two is important? Name of the block? (i2) Or name of the constants?<br />So if, for example I name my block: DB__someBlock10<br />then I should use in my .rio file: someBlock10, someBlock11, someBlock12 etc?</p><p>What about &quot;i&quot; - is it somehow connected with data type? (integer)</p><p>And btw about data types: am I reading user guide correctly and there is no way to write FLOAT type to the database?</p><br /><p>Regards<br />Hubert</p>]]></content>
		<author>
			<name><![CDATA[hubc]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=98</uri>
		</author>
		<updated>2016-10-08T08:44:32Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1037#p1037</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Database insert using OUTQUAD]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1000#p1000"/>
		<content type="html"><![CDATA[<p>Hi Adam,<br />please find the example attached: <a href="https://www.rexcontrols.cz/forum/img/members/3/db_multiflag.zip" rel="nofollow">db_multiflag.zip</a></p><p>If you need additional explanation, I&#039;ll be happy to help.</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-10-02T13:25:40Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1000#p1000</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Database insert using OUTQUAD]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=983#p983"/>
		<content type="html"><![CDATA[<p>Hi,</p><p>Is there an example available (or could one be made), showing how to insert data into a database but using a OUTQUAD block rather than a GOTO block? I am getting a compilation error &#039; Invalid driver&#039;s item name&#039;, which I don&#039;t seem to be able to get round.</p><p>Cheers,</p><p>Adam</p>]]></content>
		<author>
			<name><![CDATA[ad_t]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=71</uri>
		</author>
		<updated>2016-09-27T14:06:13Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=983#p983</id>
	</entry>
</feed>
