Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

6230 position measurement

Solved!
Go to solution

hi Ed,i want to develop a realtime test platform using RTX,so i should to use DDK of ni card,i am using Microsoft Visual Stdio2005 to develop my program now.

thank u for ur reply.

0 Kudos
Message 11 of 14
(5,307 Views)
Solution
Accepted by jude.xu

Hi Jude,

 

What example did you use as a basis for your counter configuration? It looks like you may have overlooked the advice in the thread that Tom pointed out.

 

In addition, I'm wondering if your method "Cpci6230::myGPCT()" is the entirety of the code you use to configure and read from the counter. If it is, then you're missing a call to tTIO::setAddressOffset() and any subsequent register I/O will be directed at the wrong addresses. This could be the reason why AO updates cease after calling Cpci6230::myGPCT() -- by configuring the counter using the wrong register addresses, the board has entered an unknown or unstable state.

Joe Friedchicken
NI Configuration Based Software
Get with your fellow OS users
[ Linux ] [ macOS ]
Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
Message 12 of 14
(5,280 Views)

Thank u Joe F. i will try again. thank u for the reply.

0 Kudos
Message 13 of 14
(5,246 Views)
thanks,  Joe F. i think your advice is right, it works finally,thank u so much.
0 Kudos
Message 14 of 14
(5,232 Views)