Writing realtime.txt to local storage

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Post Reply
dexterdom
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: Mon Apr 03, 2017 5:36 pm

Writing realtime.txt to local storage

Post by dexterdom »

Hello,
I have defined a recurring FTP service to upload a realtime.txt file to my FTP server (a NAS box) every minute. I have another application (on another PC) which then reads this file from the FTP server (NAS) and takes various actions based on the realtime data.

Ideally, I would like to cut out the intermediate FTP step and have the MB Pro write the realtime.txt file directly to local storage, which can then be shared over the network to my application. Is this possible? Any tips would be appreciated
Thanks
Dom
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Writing realtime.txt to local storage

Post by Mattk »

You could write your txt file to the SMB export folder and then access the file locally.
dexterdom
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: Mon Apr 03, 2017 5:36 pm

Re: Writing realtime.txt to local storage

Post by dexterdom »

Hi Matt - I tried to create a Data Export service but the realtime template is not listed as an option in the dropdown (I only see standard-iso and standard-imp in the dropdown). Is there another service type that I need to use for this?
Mattk
Platinum Boarder
Platinum Boarder
Posts: 1387
Joined: Mon Sep 22, 2014 3:24 am

Re: Writing realtime.txt to local storage

Post by Mattk »

Those included standard type templates are basically examples, user definable.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re: Writing realtime.txt to local storage

Post by admin »

Currently I can't see a way how you can directly channel the file to the SMB folder.
dexterdom
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: Mon Apr 03, 2017 5:36 pm

Re: Writing realtime.txt to local storage

Post by dexterdom »

Too bad, but thanks for confirming this. Would you be able to add this functionality in a future update?
Post Reply