LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Visa Resource Manager and accessing PCI devices

Hello,
 
      I am trying to use the viFindRsrc function to find all of the PCI cards (NI4551, NI4552, NI6033E and NI6527) located in my PC. When I use the "?*" expression for the second argument of this function, the function returns all of the devices connected to my PC (i.e. GPIB instruments and serial ports) but DOES NOT see any of the PCI cards installed in the PC. The Measurement and Automation Explorer sees all of the PCI devices and the applications I run on this PC also access these devices without any problems.
 
      Thus, is there another expression I should be using in the viFindRsc function to recognize these PCI cards? Or is there another function I can use to see these PCI cards?
 
      Thank you in advance for your time and assistance.
 
Thanx,
Jim
0 Kudos
Message 1 of 2
(3,034 Views)
Hi Jim,
The DAQmxGetSytemInfoAtrribute function in LabWindows CVI will show you all of the PCI cards that you have installed in your computer.  When you use this function you will set attribute argument in the function panel to "device names." 
This function is located under Libraries>>NI-DAQmx Library>>System Configuration>>DAQmxGetSystemInfoAttribute.
 
If you are programming in C, you can use the DAQmxGetSysDevNames function.  For more information about this function:
Go to Start>>Programs>>National Instruments>>NI-DAQ>>NI-DAQmx C Reference Help and go to NI-DAQmx C properties>>List of system properties>>Device Names.
 
Regards,
Hal L.
0 Kudos
Message 2 of 2
(3,002 Views)