08-25-2010 04:15 AM
Hello,
when I connect the PXI-8431/4 board to the PXI bus in QNX system, I find that there is only one "PCI Mem Address" record.
But the other boards(e.g. NI PXI-6602,NI PXI-6250) have two "PCI Mem Address".
you can see the following detail trace:
Class = Unknown (Unknown)
Vendor ID = 1093h, National Instruments
Device ID = 70b9h, Unknown Unknown
PCI index = 0h
Class Codes = ff0000h
Revision ID = 0h
Bus number = 20
Device number = 13
Function num = 0
Status Reg = 280h
Command Reg = 117h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 10h un-cacheable
PCI Mem Address = f6406000h 32bit length 4096 enabled //PXI-6250
PCI Mem Address = f6405000h 32bit length 4096 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 10
CPU Interrupt = ah
Class = Communication (Other)
Vendor ID = 1093h, National Instruments
Device ID = 70deh, Unknown Unknown
PCI index = 0h
Class Codes = 078000h
Revision ID = 0h
Bus number = 20
Device number = 14
Function num = 0
Status Reg = 280h
Command Reg = 117h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 10h un-cacheable
PCI Mem Address = f6407000h 32bit length 4096 enabled //PXI-8431
Subsystem Vendor ID = 1093h
Subsystem ID = 70deh
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 10
CPU Interrupt = ah
Is there any problem?
Because there is only one Mem Address in QNX system, the interface function acquireBoard() will be returned by Error: bar1 map: invalid argument.
Therefore, it can not be initialled in QNX system.
08-31-2010 01:27 AM
Maybe it just gets two memory card.