Page 1 of 1

Ram Disk and SCADA

Posted: Fri Nov 16, 2012 10:17 am
by Hugh Jarse
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.

Re: Ram Disk and SCADA

Posted: Fri Nov 16, 2012 3:22 pm
by Hugh Jarse
I have resolved this now.
Since /tmp is in ram, this is a good place to read and write the file.

Re: Ram Disk and SCADA

Posted: Fri Nov 08, 2013 9:47 am
by bou_ih
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 :)

Re: Ram Disk and SCADA

Posted: Fri Nov 08, 2013 10:19 am
by RaTTuS
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