Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulses generator on pci-6259 with QNX6

I have PCI-6259 DAQ device and I'm programming with QNX6 operating system.

I need make generator of pulses with 100kHz rate on PFI or static outputs.

 

Does anyone know how to do this or where can I  find any examples "C++" code?


Many thanks,
Vsevolod

0 Kudos
Message 1 of 4
(7,548 Views)
Hey Vsevolod,

The DAQmx driver needed for the PCI-6259 does not support the QNX operating system. In order to use your 6259 with QNX you will have to use the Measurement Hardware Driver Development Kit (DDK) to program the device at the registry-level. More information can be found in the following articles.

Using Measurement Hardware DDK on QNX RTOS
http://digital.ni.com/public.nsf/allkb/28DE10526B88A5B9862573D1007A255C?OpenDocument

What Is The Measurement Hardware Driver Development Kit (DDK) And Who Supports It?
http://digital.ni.com/public.nsf/allkb/F4FEA84797FF1F2186256F6B005D8761?OpenDocument
Regards,

Chris Delvizis
National Instruments
0 Kudos
Message 2 of 4
(7,540 Views)

Hey Chris,

thank you for your reply.

I'm programming my driver with the DDK but I do not khow how to make pulse generator.

I read  that it is possible to route internal board timers at output from "M Series User Manual".

For example I want to route 100 kHz timebase to PFI0 and to get pulses from it.

May be it is wrong way and there are more simple solutions. Please, explain me how to make pulse generator with pxi-6259 board.

 

Many thanks,
Vsevolod

0 Kudos
Message 3 of 4
(7,528 Views)

Hi Vsevolod-

 

If you are using the M Series MHDDK you can use the attached example.  It configures one of the general-purpose counters on the board to output a pulse train that is produced by dividing down the 80MHz timebase on the device.  See the function PulseTrainConfigure() for more information.

 

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 4 of 4
(7,383 Views)