Most of the people that answer questions here are in industry and are answering questions in their free time so you will likely get a poor response if you just ask people to write code for you.
If you show us what you have tried so far and tell us what problems you are running into we can definitely help out though.
Matt J | National Instruments | CLA