Re: pleeeeease: info about 6036E counter (pcimio.o-driver)

On Tue, 27.04.04, Christian Fleischer <fleischer_at_cs.tu-berlin.de> wrote:

> Is it _somehow_ possible to use the counter on the 6036E board?

 From what i can make out reading the source it _should_ work.

Use comedi_do_insn() with INSN_READ, INSN_WRITE and INSN_CONFIG to read,
write and configure the counter. Use chanspec to set the counter (0 or 1).

Read ni_gpct_insn_config() in ni_mio_common.c for details on configuring the
counter.

The GPCT_* (like GPCT_RESET) are defined in comedi.h.

You may also want to have a look at ni_gpct_insn_read() and
ni_gpct_insn_write() from ni_mio_common.c

hth,
Nils

Received on 2004-04-27Z09:53:50