12-19-2011 09:27 AM
Hello.
I would like to set a fifo process on a file.
This buffer shall simulate the Random Access Memory buffering through a network downloading process.
- the data who come in are written on a file, in case of network failure.
- the incoming frame data is up to 1 frame each 10 second.
- A frame is simulated by a random big Endian number.
- a human operation shall validate the incoming data.
- Each validated data is erased on RAM buffer.
- In case of more than 2 unvalidated incoming frame, the downloading is lost.
- When network is back, the downloading continues on at the appropriate point.
Help.
12-21-2011 02:10 AM
Hello,
Thank you for posting on the National Instruments foru.
Reading your requirements and if I well understood what you want, I think a producer/consumer code would fulfill your expectations:
The framle generation, its production rate (0.1/sec) and its type would be handled in the producer loop.
The consumer loop would then embedd all the processing of this frame.
Sincerely,
Romain DUVAL || RF & Semiconductor Staff System Engineer || CLA || CTA
National Instruments France