read pulse burst

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

read pulse burst

Post by Rotac »

Hello everybody,

has sombody an examble in flowcode or experiance to "read" (via input) a pulse burst.
I want to know number of pulse, pulse frequence (high and low time) etc.

Kindly regards

Rob

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: read pulse burst

Post by Benj »

Hi Rob,

There is a frequency counter example as port of the Flowcode example files. Maybe you could add your extra functionality to this.

Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

Re: read pulse burst

Post by Rotac »

Hello Benj,

Thank you for your quick responce. I'm missing some posibilitys, for e.g. measure the puls lenght, do yo have a suggestion how to do this?
In simulate mode you can't generate a pulse on the input, perhaps in a new Version of Flowcode to build in a puls generator for simulation

Kindly regards

Rob

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: read pulse burst

Post by medelec35 »

Rotac wrote: I'm missing some posibilitys, for e.g. measure the puls lenght, do yo have a suggestion how to do this?
Hello Rotac.
sean posted an example flowchart on calculating pulse lengths here:
http://79.99.43.2/mmforums/viewtopic.ph ... 65&p=16135
(About 11th post down)
Unfortunaly it will only work with flowcode V4 and not V3
What version are you running?
Is it V4 demo since you have not posted in V3 or V4 section?
Martin

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: read pulse burst

Post by medelec35 »

Just had a thought from seeing a post about RC5 protocol.
That would would use a pulse width timing routine, so infrared signal can be decoded.
So also look at:
http://www.matrixmultimedia.com/mmforum ... =26&t=7246
Martin

Rotac
Posts: 54
Joined: Fri Oct 02, 2009 1:41 pm
Been thanked: 1 time

Re: read pulse burst

Post by Rotac »

Hello medelec35,

thanks for your information. I will study these posibilitys.

Kindly regards

rob

Post Reply