Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Counter1 and divide_by_2 in DDK

Hi,

 

I am trying to get a divide by 2 working in a gp Counter.  Code is based on the PulseTrainConfigure function posted several years ago by Tom W in thread http://forums.ni.com/t5/Driver-Development-Kit-DDK/Pulses-generator-on-pci-6259-with-QNX6/m-p/795023...

 

The minimum value for both the G1_Load_A / G1_Load_B registers seems to be 1 and this produces a divide by 4.  A 0 value seems to disable the counter.

 

Attached is a copy of my PulseTrainConfigure_G1 as it is being used.

 

Is there any way to get a divide by 2?

 

Thanks,

Gord

0 Kudos
Message 1 of 1
(5,722 Views)