Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

is pci-6259 peculiar?

Along a few years we have developed  an Open Source driver (C language, Linux OS),for the PCI-6221 board,  based on NI DDK. This driver worked well and we moved to  faster boards in the M family. While this was fine  for a PCI-6251 board, we had a strange behaviour with a PCI-6259 board, with spikes in correspondence of specific input values (see attached pictures). Booting, in the same acquisition setup, a different OS (WINXP+NI-DAQmx or Scientific Linux 6.3+NI-DAQmxBase 3.5.0) gave correct signals, with no spikes.

Is there some peculiarity of the pci-6259 board inside the the M family?

Giovanni

Download All
0 Kudos
Message 1 of 3
(6,806 Views)

Hello G. A.,

 

There are obviously differences between the two boards including the number of channels, AI sampling rate etc. These differences mean that your code may work slightly differently when run with one card instead of the other.

 

What example are you using to get these values?

How are you modifying the example for your application (range, sample rate etc)?

Are the sampling rates faster than your usual setup when using the PCI-6259?

 

Thanks,

Steven T.

0 Kudos
Message 2 of 3
(6,770 Views)

Dear Steven,

thanks for the reply. We modified deeply the original examples, since we moved everything inside the kernell. Reading the original code, in order to answer your questions, made us aware that the flag convertOutputSelect  in aiPersonalize() from the ai.ccp functions was not set correctly. Changing the setting seems to fix the problem. 

We owe you a drink.

Giovanni

 

0 Kudos
Message 3 of 3
(6,760 Views)