- From: David Schleef <ds_at_schleef.org>
- Date: Tue, 18 Mar 2003 21:20:10 -0800
On Tue, Mar 18, 2003 at 09:09:00PM -0500, Hugh Gibson wrote:
> I am using streaming Analogue Input, similar to cmd.c very successfully.
> However, I need to synchronise some external electronics to the data-taking
> and I therefore need a synchronising signal.
> All the PFI lines associated with Analogue Input seem to be
> permanently tri-state and float high (PF0,PF1,PF2).
> I understand these lines can show the state of the internal logic if they
> are configured to be outputs?
The PFIs can be configured the same way digital I/O lines are
configured. They live in subdevice 7. In the comedi_examples
CVS module, the simultaneous_start example changes PFI6 (which
has a positive transition when analog output starts) is changed
to output, so that the analog input can trigger off it:
/* NI E series boards: configure PFI6 to be AO start signal */
comedi_dio_config(dev,7,6,COMEDI_OUTPUT);
dave...
Received on 2003-03-19Z05:20:10