LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

pxi-6541 does not show up when I run DAQmxGetSystemInfoAttribute

When I try to detect all of the PXI cards on my PXIe-1065 by running the example program "DAQmx Find Slots" which uses the call "DAQmxGetSystemInfoAttribute" it finds everything except the two PXI-6541 cards that are installed. However the measurement and automation explorer shows them listed under NI-DAQmx devices. What gives?

 

On a related trail: why can't I use the viFindRsrc call used in the example program called "VISA find resources" to find PXI instruments? It is not in the available Expressions: And I also tried the "?*" option which only finds the "PXIO:1::BACKPLANE"?

 

 

Instrument Type      Expression
-----------------------------------------
VXI                  "VXI?*INSTR"
GPIB                 "GPIB[0-9]*::?*INSTR"
GPIB board non-zero  "GPIB[^0]::?*INSTR"
GPIB-VXI             "GPIB-VXI?*INSTR"
GPIB or GPIB-VXI     "GPIB?*INSTR"
VXI or GPIB-VXI      "?*VXI[0-9]*::?*INSTR"
VXI or Serial        "(VXI|ASRL)?*INSTR"
Serial               "ASRL[0-9]*::?*INSTR"
Serial 1,11,111,...  "ASRL1+::INSTR"
Any VXI              "?*VXI[0-9]*::?*INSTR"
All instruments      "?*INSTR"
All resources        "?*"
Remote resources     "visa://hostname/?*"

Memory Access Type   Expression
-----------------------------------------
VXI                  "VXI?*MEMACC"
GPIB-VXI             "GPIB-VXI?*MEMACC"
All memory resources "?*MEMACC"
 

Thanks,

Bruce

0 Kudos
Message 1 of 2
(3,174 Views)

Hello Bruce,

 

The reason you aren't able to detect your 6541 is because it doesn't use the DAQmx driver.  The 6541 is an HSDIO device and therefore uses a different driver than DAQmx.  The function you are looking for is the niModInst_OpenInstalledDevicesSession which will allow you to choose which session you would like to open.  In this particular case you are looking for niHSDIO.  After this call you can use niModInst_GetInstalledDeviceAttributeViString which will return a list of HSDIO devices.  Take a look at the NI Digital Waveform Generator/Analyzer Help file to see exactly how to use these function calls (specifically the section for NI-ModInst Help>>Fucntion Reference.  Let me know if you have any questions.

 

Regards,

Message 2 of 2
(3,154 Views)