<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Saving archine data CSV to USB]]></title><description><![CDATA[<p dir="auto">Hi There,</p>
<p dir="auto">What is the best way to save archive data to a USB stick via the HMI? I's like to be able to plug a USB stick in and press a button on the HMI to save the archive data to it in CSV format. This is good for remote systems that are not on a network.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Mike</p>
]]></description><link>https://forum.rexygen.com/topic/160/saving-archine-data-csv-to-usb</link><generator>RSS for Node</generator><lastBuildDate>Mon, 10 Aug 2026 23:43:05 GMT</lastBuildDate><atom:link href="https://forum.rexygen.com/topic/160.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 Nov 2020 20:17:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Saving archine data CSV to USB on Tue, 10 Nov 2020 07:41:54 GMT]]></title><description><![CDATA[<p dir="auto">You're welcome Mike. Good luck with your project.</p>
<p dir="auto">Cheers<br />
Jan</p>
]]></description><link>https://forum.rexygen.com/post/611</link><guid isPermaLink="true">https://forum.rexygen.com/post/611</guid><dc:creator><![CDATA[reitinge]]></dc:creator><pubDate>Tue, 10 Nov 2020 07:41:54 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Mon, 09 Nov 2020 23:30:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi Jan,</p>
<p dir="auto">No problem, I will update all to Buster. Thank you for your help.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Mike</p>
]]></description><link>https://forum.rexygen.com/post/608</link><guid isPermaLink="true">https://forum.rexygen.com/post/608</guid><dc:creator><![CDATA[MikeyH]]></dc:creator><pubDate>Mon, 09 Nov 2020 23:30:50 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Mon, 09 Nov 2020 11:10:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi Mike,<br />
it looks everything is fine according to the log and the error is somewhere else. If you update Raspberry to Buster, we will not have to deal with the problems caused by the incompatibility with the Raspbian Stretch that is considered as unsupported.</p>
]]></description><link>https://forum.rexygen.com/post/604</link><guid isPermaLink="true">https://forum.rexygen.com/post/604</guid><dc:creator><![CDATA[reitinge]]></dc:creator><pubDate>Mon, 09 Nov 2020 11:10:48 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Mon, 09 Nov 2020 04:08:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi Jan,</p>
<p dir="auto">Everything works well with Buster, no issues at all. The only reason I am still using Stretch is I haven't made it to this particular rpi to update it. I will make sure it is updated now. The log after running that command in stretch is below.</p>
<p dir="auto">pi@monarco:~ $ sudo systemctl status systemd-resolved<br />
â systemd-resolved.service - Network Name Resolution<br />
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor<br />
Drop-In: /lib/systemd/system/systemd-resolved.service.d<br />
ââresolvconf.conf<br />
Active: active (running) since Fri 2020-11-06 14:13:46 NZDT; 3 days ago<br />
Docs: man:systemd-resolved.service(8)<br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/resolved">http://www.freedesktop.org/wiki/Software/systemd/resolved</a><br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/writing-network-conf">http://www.freedesktop.org/wiki/Software/systemd/writing-network-conf</a><br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-cli">http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-cli</a><br />
Process: 383 ExecStartPost=/bin/sh -c [ ! -e /run/resolvconf/enable-updates ]<br />
Main PID: 349 (systemd-resolve)<br />
Status: "Processing requests..."<br />
Tasks: 1 (limit: 4915)<br />
CGroup: /system.slice/systemd-resolved.service<br />
ââ349 /lib/systemd/systemd-resolved</p>
<p dir="auto">Nov 06 13:40:41 monarco systemd[1]: Starting Network Name Resolution...<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Positive Trust Anchors:<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: . IN DS 19036 8 2 49aac11d7b6f644<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: . IN DS 20326 8 2 e06d44b80b8f1d3<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Negative trust anchors: 10.in-add<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Using system hostname 'monarco'.<br />
Nov 06 14:13:46 monarco systemd[1]: Started Network Name Resolution.<br />
lines 1-23...skipping...<br />
â systemd-resolved.service - Network Name Resolution<br />
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)<br />
Drop-In: /lib/systemd/system/systemd-resolved.service.d<br />
ââresolvconf.conf<br />
Active: active (running) since Fri 2020-11-06 14:13:46 NZDT; 3 days ago<br />
Docs: man:systemd-resolved.service(8)<br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/resolved">http://www.freedesktop.org/wiki/Software/systemd/resolved</a><br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers">http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers</a><br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients">http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients</a><br />
Process: 383 ExecStartPost=/bin/sh -c [ ! -e /run/resolvconf/enable-updates ] || echo "nameserver 127<br />
Main PID: 349 (systemd-resolve)<br />
Status: "Processing requests..."<br />
Tasks: 1 (limit: 4915)<br />
CGroup: /system.slice/systemd-resolved.service<br />
ââ349 /lib/systemd/systemd-resolved</p>
<p dir="auto">Nov 06 13:40:41 monarco systemd[1]: Starting Network Name Resolution...<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Positive Trust Anchors:<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.a<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Using system hostname 'monarco'.<br />
Nov 06 14:13:46 monarco systemd[1]: Started Network Name Resolution.<br />
Warning: systemd-resolved.service changed on disk. Run 'systemctl daemon-reload' to reload units.<br />
~<br />
~<br />
~<br />
~<br />
~<br />
~<br />
~<br />
~<br />
~<br />
~<br />
~<br />
lines 1-24/24 (END)...skipping...<br />
â systemd-resolved.service - Network Name Resolution<br />
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)<br />
Drop-In: /lib/systemd/system/systemd-resolved.service.d<br />
ââresolvconf.conf<br />
Active: active (running) since Fri 2020-11-06 14:13:46 NZDT; 3 days ago<br />
Docs: man:systemd-resolved.service(8)<br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/resolved">http://www.freedesktop.org/wiki/Software/systemd/resolved</a><br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers">http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers</a><br />
<a href="http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients">http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients</a><br />
Process: 383 ExecStartPost=/bin/sh -c [ ! -e /run/resolvconf/enable-updates ] || echo "nameserver 127<br />
Main PID: 349 (systemd-resolve)<br />
Status: "Processing requests..."<br />
Tasks: 1 (limit: 4915)<br />
CGroup: /system.slice/systemd-resolved.service<br />
ââ349 /lib/systemd/systemd-resolved</p>
<p dir="auto">Nov 06 13:40:41 monarco systemd[1]: Starting Network Name Resolution...<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Positive Trust Anchors:<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: . IN DS 19036 8 2 49aac11d7b6f6446702e54a1607371607a1a41<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.a<br />
Nov 06 13:40:42 monarco systemd-resolved[349]: Using system hostname 'monarco'.<br />
Nov 06 14:13:46 monarco systemd[1]: Started Network Name Resolution.<br />
Warning: systemd-resolved.service changed on disk. Run 'systemctl daemon-reload' to reload units.</p>
<p dir="auto">Thank you for your help with this.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Mike</p>
]]></description><link>https://forum.rexygen.com/post/603</link><guid isPermaLink="true">https://forum.rexygen.com/post/603</guid><dc:creator><![CDATA[MikeyH]]></dc:creator><pubDate>Mon, 09 Nov 2020 04:08:25 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Fri, 06 Nov 2020 10:01:08 GMT]]></title><description><![CDATA[<p dir="auto">I've consulted your issue with DWM developers and they advised me on a few things you can try:</p>
<ul>
<li>Please, send me the log after command</li>
</ul>
<pre><code class="language-sh">sudo systemctl status systemd-resolved
</code></pre>
<ul>
<li>Verify the correct installation of RexArc using:</li>
</ul>
<pre><code class="language-sh">RexArc -h
</code></pre>
<ul>
<li>The developers strongly recommend that you start using the Buster release. Currently, testing on Stretch is minimal. Do you have a special reason for using Stretch?</li>
</ul>
<p dir="auto">Kind regards<br />
Jan</p>
]]></description><link>https://forum.rexygen.com/post/601</link><guid isPermaLink="true">https://forum.rexygen.com/post/601</guid><dc:creator><![CDATA[reitinge]]></dc:creator><pubDate>Fri, 06 Nov 2020 10:01:08 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Fri, 06 Nov 2020 07:47:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi Mike,<br />
you don't need any special license for DWM yet. It's look to me that you have a problem with DNS server. Is that possible? Please take a look at /etc/systemd/network/eth0.network once again and set Gateway and DNS if you didn't that before.<br />
<a href="https://wiki.archlinux.org/index.php/systemd-networkd#Wired_adapter_using_a_static_IP">https://wiki.archlinux.org/index.php/systemd-networkd#Wired_adapter_using_a_static_IP</a></p>
<p dir="auto">I've only tested DWM with Buster so far. I'll try it again with Stretch.</p>
]]></description><link>https://forum.rexygen.com/post/600</link><guid isPermaLink="true">https://forum.rexygen.com/post/600</guid><dc:creator><![CDATA[reitinge]]></dc:creator><pubDate>Fri, 06 Nov 2020 07:47:52 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Fri, 06 Nov 2020 01:37:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi Jan,</p>
<p dir="auto">I disable DHCP and was able to reconnect. I have the below error though, and I can't see any archives. I can see that I am connected to the Monarco, not all data seems to be available. Do I need a license for this? RexArc may also be missing some files. I am using stretch.</p>
<p dir="auto"><img src="/assets/uploads/files/1604625570155-f5d41e25-d189-49bf-972c-c8c18afd4f77-image.png" alt="f5d41e25-d189-49bf-972c-c8c18afd4f77-image.png" class=" img-fluid img-markdown" /><br />
<img src="/assets/uploads/files/1604626674416-db3f85a6-6a3f-432c-a855-72816785e396-image.png" alt="db3f85a6-6a3f-432c-a855-72816785e396-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Cheers</p>
<p dir="auto">Mike</p>
]]></description><link>https://forum.rexygen.com/post/598</link><guid isPermaLink="true">https://forum.rexygen.com/post/598</guid><dc:creator><![CDATA[MikeyH]]></dc:creator><pubDate>Fri, 06 Nov 2020 01:37:56 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Thu, 05 Nov 2020 21:15:20 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Jan,</p>
<p dir="auto">Will changing it back or fixing it affect DWM?</p>
<p dir="auto">Cheers</p>
<p dir="auto">Mike</p>
]]></description><link>https://forum.rexygen.com/post/597</link><guid isPermaLink="true">https://forum.rexygen.com/post/597</guid><dc:creator><![CDATA[MikeyH]]></dc:creator><pubDate>Thu, 05 Nov 2020 21:15:20 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Thu, 05 Nov 2020 20:45:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi Mike,<br />
sorry for the trouble. The main change is that the DWM turn on DHCP on your device. So if you had configured your network with static IP address, there will be a problem. Please check your network settings with</p>
<pre><code>sudo nano /etc/systemd/network/eth0.network
</code></pre>
<p dir="auto">Cheers<br />
Jan</p>
]]></description><link>https://forum.rexygen.com/post/596</link><guid isPermaLink="true">https://forum.rexygen.com/post/596</guid><dc:creator><![CDATA[reitinge]]></dc:creator><pubDate>Thu, 05 Nov 2020 20:45:58 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Thu, 05 Nov 2020 20:25:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi Jan,</p>
<p dir="auto">Thank you for the reply.</p>
<p dir="auto">I am trying to use the DWM tool, it sounds very useful, I'm using a Monarco HAT. What specific things does it change in the network settings?</p>
<p dir="auto">I am not able to connect anymore using web browser or putty after installing DWM.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Mike</p>
]]></description><link>https://forum.rexygen.com/post/595</link><guid isPermaLink="true">https://forum.rexygen.com/post/595</guid><dc:creator><![CDATA[MikeyH]]></dc:creator><pubDate>Thu, 05 Nov 2020 20:25:09 GMT</pubDate></item><item><title><![CDATA[Reply to Saving archine data CSV to USB on Thu, 05 Nov 2020 14:27:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi Mike,<br />
I assume your RexCore is running on a Debian device. To export the archive to csv you need to have the <em>rexarc</em> package installed on your device. To install use following commands:</p>
<pre><code class="language-sh">sudo apt udpate
sudo apt install rexarc
</code></pre>
<p dir="auto">After successful instalation, the documentation for RexArc can be shown with</p>
<pre><code class="language-sh">RexArc -h
</code></pre>
<p dir="auto">You have to solve mounting of USB stick on your device. Unfortunately, it is not solved in Rexygen. Look at some forums on internet (for example <a href="https://unix.stackexchange.com/questions/18925/how-to-mount-a-device-in-linux">https://unix.stackexchange.com/questions/18925/how-to-mount-a-device-in-linux</a> ).  I used command:</p>
<pre><code class="language-sh">sudo mount /dev/sda1 /media/usb1 -o umask=000
</code></pre>
<p dir="auto">umask=000 gives write permissions to all users.</p>
<p dir="auto">The <strong>first</strong> way to save archive to CSV is to specify the RexArc command with options you want into the EPC block in Rexygen task and add Button into HMI which will execute the EPC block.</p>
<p dir="auto">The <strong>seccond</strong> way is to use the Device Web Management (DWM) tool, which is the Rex Controls product too. There is a graphic user interface for RexArc in DWM and you don't need to specify RexArc command manually. You can export archives into CSV, copy files, restart/power off your device, etc. with this tool. Unfortunately, we don't have documentation yet, but the use is quite intuitive. Please, note that DWM will make some changes of the network settings of your device!</p>
<p dir="auto">To install DWM simply add line:</p>
<pre><code class="language-sh">deb http://download.rexcontrols.com/repositories/rex-dwm/debian buster non-free
</code></pre>
<p dir="auto">to your repository list (replace <strong>buster</strong> with <strong>stretch</strong> if you are still running Debian Stretch. After saving the repository, update the package list</p>
<pre><code class="language-sh">sudo apt update
</code></pre>
<p dir="auto">and install DWM</p>
<pre><code class="language-sh">sudo apt install rex-dwm
</code></pre>
<p dir="auto">DWM is accessible in the same way as the HMI using a web browser at the address of your device with /dwm (for example 127.0.0.1/dwm).</p>
<p dir="auto">There is <em>Archives</em> item in DWM. After clicking it, select <em>Explore available archives</em> (compass icon on the right side) and select archive that you want to export. After that you can choose <em>Load archive items</em> (magnifier icon). Click <em>Export archive to removable media</em>, configure export and hit Export. If you have mounted your USB stick in /media folder, you can see this USB in the next menu. Remember that you need write permission to save the CSV.</p>
<p dir="auto">Please, let me know if anything goes wrong.</p>
<p dir="auto">Cheers<br />
Jan</p>
]]></description><link>https://forum.rexygen.com/post/594</link><guid isPermaLink="true">https://forum.rexygen.com/post/594</guid><dc:creator><![CDATA[reitinge]]></dc:creator><pubDate>Thu, 05 Nov 2020 14:27:52 GMT</pubDate></item></channel></rss>