Driver Development Kit (DDK) Programmers

Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.
Highlighted

tTIO and tMSeries classes

Hello,

I am trying to develop a driver/app that will read data from analog inputs of a NI PCI-6220 card on a QNX 6.3 machine. I have downloaded both the family dependent code (Chip objects tTIO and tMSeries) and the OS dependent code for QNX. The OS dependent code is pretty straight forward and I think I understand at least most of it, howerver, the family dependent code which contains these two classes (tTIO and tMSeries) is huge and I have been unable to find any documentation on it. Is there any documentation out there (except for the Register Level programming index, which is even worst that looking at the code) that I have missed or am I suppost to find out how this objects work just by looking at the provided examples? I mean right now I would now how to connect to the card and map it's registers to the user accessible space but I don't know what methods within tTIO and tMSeries (hell I don't even know where the name"tTIO" comes from...) should I use to configure the card and tell it, for example, to feed me 1 million samples from analog channel X. Should I just look at the examples or is there any other documentation out there that could help me?¿

Thanks a lot in advanced!

0 Kudos
Message 1 of 2
(5,384 Views)
1 REPLY

Re: tTIO and tMSeries classes

Hello,

There is some additional documentation available. The bitfields and registers used in the M Series DDK chip objects are similar to the names used in the DAQ STC manual.

http://www.ni.com/pdf/manuals/340934b.pdf

The DAQ STC manual goes into detail about what registers to access for each common operation. This should allow you to follow the flow of an example from the M Series DDK and look up the hardware accesses for more information.

Steven T.

0 Kudos
Message 2 of 2
(2,056 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.