Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset counter on NI-6711 board using comedi

Hi!
Actually I'am writing a TCL extension to most comedi functions. For my 6711 board (consists of two counters) - how do i read out the counter values and do a reset. If it's comedi_do_insn(comedi_t * device, comedi_insn * instruction) I need to know the possible values for the instruction structure. Where can I find them?

Regards
0 Kudos
Message 1 of 3
(7,599 Views)
Hi,

refered to the comedi function reference, the counters are not yet implemented.
(For more info, please contact www.comedi.org)

But there are a few example code within the DDK-Driver, depending the Operating System and Software.

Maybe you do not need DDK if you use compatible OS for DAQ. Then you can use the Traditional-DAQ-C-Reference help.

(Note for all Linux user: Next year the DAQmx-Base is coming out for Linux.)

Regards
R.T.
Technical Support
NI Germany
0 Kudos
Message 2 of 3
(7,599 Views)
Thx for reply!
The counters are implemented in alpha version and using the insn_ functions. I thought about doing it myself but for that I must know the register values. e.g. How does the register look like and what value to put in to start/stop/reset/read out/... the counter.
Anything about that?

Regards
thomas
0 Kudos
Message 3 of 3
(7,599 Views)