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.
-
- Posts: 46
- Joined: Mon Mar 05, 2012 5:03 pm
-
- Posts: 46
- Joined: Mon Mar 05, 2012 5:03 pm
Re: Ram Disk and SCADA
I have resolved this now.
Since /tmp is in ram, this is a good place to read and write the file.
Since /tmp is in ram, this is a good place to read and write the file.
Re: Ram Disk and SCADA
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
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

- RaTTuS
- Posts: 10703
- Joined: Tue Nov 29, 2011 11:12 am
- Location: North West UK
- Contact: Twitter YouTube
Re: Ram Disk and SCADA
Makre sure that it is in RAM and not on the SD cardHugh Jarse wrote:I have resolved this now.
Since /tmp is in ram, this is a good place to read and write the file.
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
WARNING - some parts of this post may be erroneous YMMV
1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe