Archive of the former Yahoo!Groups mailing list: ComputerVoltageSources

previous by date index next by date
previous in topic topic list next in topic

Subject: Re: Finished my CVS!

From: "supisuzoi" <son_of_zoggs@...>
Date: 2008-06-06

That's great to know, thank you!

Kevin


--- In ComputerVoltageSources@yahoogroups.com, "djbrow54" <davebr@...>
wrote:
>
> It depends on what latency you want. The CVS can poll looking for a
> state change on the input. You can do this on any analog input by
> doing an ADC, but since the input is binary, you could treat this as
> a digital input as long as the input signal has the appropriate
> amplitude to read as a logical 1 when divided by two which is the
> input stage gain. You have to figure out if the latency is
> tolerable. Certainly the Aux input can be polled quickly.
>
> Alternatively, I wrote some code that is in my template that can
> generate interrupts on edges for the Aux input, so you can have very
> little latency. I wrote this so I could detect triggers. My
> triggers are fast, and if occur when the processor is busy elsewhere
> in the code, are missed. Edge interrupts always guarantee they are
> sensed.
>
> Dave
>
> --- In ComputerVoltageSources@yahoogroups.com,
> "supisuzoi" <son_of_zoggs@> wrote:
> > My plan is to trigger on any rising edge, and otherwise operate
> > independently of what the trigger source is doing, because I want
> the
> > CVS itself to define the output's delay time and gate length.
> >
> > Cheers,
> > Kevin
>