Hugh Jarse
Posts: 46
Joined: Mon Mar 05, 2012 5:03 pm

Ram Disk and SCADA

Fri Nov 16, 2012 10:17 am

I am developing a SCADA system based around a Raspberry Pi host and ATMega328 remote terminal units communicating over UHF.

The state of the IO channels of each remote terminal unit is polled and stored in a file on the Raspberry Pi SD Card every second. This is read by web browsers in order to display the value over the internet.

This all works fine, except that I would expect the SD Card to fall over in a number of weeks or months based upon the wear rate of the flash.

What I need is to read and write this data to a Ram Disk.

Can anyone please advise how I can set up a Ram Disk for this distro.

Thanks in advance.

Hugh Jarse
Posts: 46
Joined: Mon Mar 05, 2012 5:03 pm

Re: Ram Disk and SCADA

Fri Nov 16, 2012 3:22 pm

I have resolved this now.
Since /tmp is in ram, this is a good place to read and write the file.

bou_ih
Posts: 2
Joined: Fri Nov 08, 2013 9:43 am

Re: Ram Disk and SCADA

Fri Nov 08, 2013 9:47 am

Hello,
Actually i'm working on a system Scada related to Raspberry, i fixed the idea and prepared the scenarion but since i'm beginner i didn't know how to start:should i first prepare my raspberry before moving to the software developement?
Could you please give me a list of steps to follow,i will be grateful
thanks in advance :)

User avatar
RaTTuS
Posts: 10592
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Ram Disk and SCADA

Fri Nov 08, 2013 10:19 am

Hugh Jarse wrote:I have resolved this now.
Since /tmp is in ram, this is a good place to read and write the file.
Makre sure that it is in RAM and not on the SD card
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Return to “Raspberry Pi OS”