Capturing data from MSF time receiver
Posted: Mon Dec 01, 2014 12:31 pm
Hi
I'm trying to read the data from a time receiver module (http://www.pvelectronics.co.uk/index.ph ... ducts_id=2) and I'm totally lost. I do a fair bit of VB.NET programming so I'm not a total programming newbie but I'm not getting far with this and wondered if someone had a code snippet for reading the pulse from a pin.
I've actually got it reading something but have no idea what it is and it doesn't seem to relate to what I'm expecting . I'm trying to use the TimerChannel class to get this but I'm lost when it comes to what to use for freq, prescaler and period and how to get the program to keep reading the pulses short of just sticking it in a perpetual loop (I'm thinking a timer interrupt but I can't quite understand how that works or when to invoke it).
Thanks for reading
David
I'm trying to read the data from a time receiver module (http://www.pvelectronics.co.uk/index.ph ... ducts_id=2) and I'm totally lost. I do a fair bit of VB.NET programming so I'm not a total programming newbie but I'm not getting far with this and wondered if someone had a code snippet for reading the pulse from a pin.
I've actually got it reading something but have no idea what it is and it doesn't seem to relate to what I'm expecting . I'm trying to use the TimerChannel class to get this but I'm lost when it comes to what to use for freq, prescaler and period and how to get the program to keep reading the pulses short of just sticking it in a perpetual loop (I'm thinking a timer interrupt but I can't quite understand how that works or when to invoke it).
Thanks for reading
David