Jump to content

snowman13

Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Posts posted by snowman13

  1. I'd still like to see the code - and also a data file with your signal in it, if that's at all possible.

    Alright, here is a really rough sketch of what I am trying to accomplish... I have that INPUT sync, and I am trying to create that output signal. I will post my code in the morning. Its on a different computer.

    Thanks so much!

    post-7441-1168123845.jpg?width=400

  2. Please upload the code you've already tried so we have something to comment on.

    the only code I have thus far, is the signal generator and the signal analysis. The rest is kaput so I deleted it to attempt a different way. Is what I was doing, was send this signal through a peak detector and send it to my loop. This is where I am having the most trouble I can't seem to output the short pulse. And I also am having troubles jumping through the segments of each square wave.

  3. Ok, so I am having major issues. I have spent several hours attempting this, seemingly simple problem...

    This is what I am trying to do:

    I am trying to create a program that receives a square wave synch input at 40khz. From here, I am trying to detect the beginnning of the positive flat portion of the square wave. From here, I need a for loop that recognizes the beginning of the positive flat portion, then outputs a short pulse at this point.

    However, there is a trick.... I need the first output pulse to be right at the beginning, then the second output pulse to be output at about 1/4 of the way through the positive portion of the square wave, then the third to be about 1/2 way through... and so on and so on.

    Any help would be great. I know there is something that I missing big time. Because I really should be able to do this in about 10 minutes.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.