08-03-2010 07:49 AM
Hi All,
I am using register level programming to program my PXI 6509. I am using a chassis with a PXI 8106 controller.
I manage to initialize the device, to read the manufacturer ID and the model. But when I reads the ID Register, I always get the answer "FF". Moreover, when I configure the P0 port for output and tries to update the value of the port to 1, the outputs are not at the value 5V.
I have linked my C code (I am using CVI).
Do you have any idea why I am getting the answer "FF"? Why are the values of the outputs not changing?
Many thanks in advance for your help,
Fabien PLOT
08-10-2010 03:02 PM
Hi Fabien,
It appears as though you aren't correctly initializing the MITE. Have you tried using the DDK examples [1]? If your system or software architecture prevents you from using them, you can at least refer to them for a model of how and when to write to the registers.
[1] RLP for OEM Customers
http://digital.ni.com/express.nsf/bycode/exyv4w?opendocument&lang=en&node=seminar_US
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)