NI 6025E / ni_pcimio.o

Hi,

I'm trying to use the NI-6025E ADCs with external scan begin. I started
from cmd.c example which works fine with internal scan begin (TRIG_TIMER).
Here are the details of the command I'm using:

 cmd->start_src      = TRIG_NOW;
 cmd->start_arg      = 0;
 cmd->scan_begin_src = TRIG_EXT;
 cmd->scan_begin_arg = 1; 	/* TTL clock connected to PFI0 */
 cmd->scan_end_src   = TRIG_COUNT;
 cmd->scan_end_arg   = n_chan;  /* number of channels */
 cmd->stop_src       = TRIG_COUNT;
 cmd->stop_arg       = n_scan;
 cmd->chanlist       = chanlist;
 cmd->chanlist_len   = n_chan;

The command is accepted by comedi_command_test() but once started the
acquisition hangs (clearly waiting for the external clock).

Any suggestion?

More generally where can I found the details on ni_pcimio module argins?
Looking at the module source code with the NI DAC-STC Manual is quite
painful.

Thanks for your help,

	manuel

Received on 2002-05-31Z06:21:28