<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Sqlite Trend Values</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffaa7aad53/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffaa7aad53/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ffaa7aad53/</id><updated>2020-02-27T13:50:08.192000Z</updated><subtitle>Recent posts to Sqlite Trend Values</subtitle><entry><title>Sqlite Trend Values</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffaa7aad53/?limit=25#8a08" rel="alternate"/><published>2020-02-27T13:50:08.192000Z</published><updated>2020-02-27T13:50:08.192000Z</updated><author><name>AlexRoss</name><uri>https://forge.codesys.com/u/alexross/</uri></author><id>https://forge.codesys.come06568709da6727842e80bec6d811d2e27122ba1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
The documented way of reading a trenddatabase would be using the according API from the library VisuTrendStorageAccess. An according example can be found with the CODESYS Store: &lt;a class="" href="https://store.codesys.com/trend-api-example.html" rel="nofollow"&gt;https://store.codesys.com/trend-api-example.html&lt;/a&gt; &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi Edwin,&lt;br/&gt;
The API example is &lt;strong&gt;a simple implementation of the ITrendStorageReaderConsumer interface&lt;/strong&gt;, but where I can found the documentation for it? There is no information about the VisuTrendStorageAccess library in the Library Manager or Online Help. How to use those instruments more efficiently? At least to understand what methods in which order are called...&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Sqlite Trend Values</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffaa7aad53/?limit=25#77ae" rel="alternate"/><published>2020-02-27T13:50:07.786000Z</published><updated>2020-02-27T13:50:07.786000Z</updated><author><name>RoryLDM</name><uri>https://forge.codesys.com/u/roryldm/</uri></author><id>https://forge.codesys.com583d1fd4c6d0500b68e2997aa6d0fe93cc1dc178</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ah, thanks Edwin.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Sqlite Trend Values</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffaa7aad53/?limit=25#bf3e" rel="alternate"/><published>2020-02-27T13:50:07.665000Z</published><updated>2020-02-27T13:50:07.665000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com5dac13c0f765f6f7089bae636dd6bfc54269a5d0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In fact the TS value uses a higher resolution seconds. The trend recording encodes all values into a column of integral type and therefore real/lreal values cannot be directly interpreted from that column. To convert that values the value has to be put into a 8 byte binary value and then reinterpreted as real/lreal (respecting the byteorder of the recording device).&lt;/p&gt;
&lt;p&gt;The documented way of reading a trenddatabase would be using the according API from the library VisuTrendStorageAccess. An according example can be found with the CODESYS Store: &lt;a class="" href="https://store.codesys.com/trend-api-example.html" rel="nofollow"&gt;https://store.codesys.com/trend-api-example.html&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Sqlite Trend Values</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ffaa7aad53/?limit=25#2537" rel="alternate"/><published>2020-02-27T13:50:07.551000Z</published><updated>2020-02-27T13:50:07.551000Z</updated><author><name>RoryLDM</name><uri>https://forge.codesys.com/u/roryldm/</uri></author><id>https://forge.codesys.coma7b6a5bfefb17d90e729bd5e97a65cf0811ea0c8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For instance it has a value of 1076546816 for something that should be between 2 and 4 degrees C.&lt;/p&gt;
&lt;p&gt;How should I go about converting this?&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://lethdm-my.sharepoint.com/:u:/g/personal/rory_lethbridgedairymart_ca/ESd3BQ8XR95IgQFudFRnnf8B_CKZPimC7O-OTOzjKaMnQA?e=BGYKlX" rel="nofollow"&gt;Here is the SQlite file.&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>