Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Device Info

Hi,
I am using a PCI-MIO-16XE-10 card for data acquisition and replay. I am also using the NI-DAQ driver software to communicate with the card.
My question is how do I question (function call) the card to find out how many input and output channels there are available on the card ?
Is there a document I can access which provides the relevant information ??
0 Kudos
Message 1 of 8
(3,785 Views)
Hello,

The only information that you can get about a device is using the Get_DAQ_Device_Info function. But I do not think it has the info type that tells you the number of available channels.

Sincerely,
Sastry V
Applications Engineer
National Instruments.
0 Kudos
Message 2 of 8
(3,785 Views)

Hi

Where can i find: "GetDAQDeviceinfo.vi"

Thanks

0 Kudos
Message 3 of 8
(3,670 Views)

HI piyu-

Your device is supported by NI-DAQmx, and the functionality you desire is supported by that driver.  I would encourage you to use NI-DAQmx if possible.

In order to query the capabilities of your device you can use the NI-DAQmx Channel Property DAQmxGetDevAIPhysicalChans() or via the DAQmx Channel Property Node in LabVIEW:

There is no way to programmatically list this using the Traditional NI-DAQ driver.

Hopefully this helps-

Message Edited by Tom W [DE] on 11-16-2006 05:16 PM

Tom W
National Instruments
0 Kudos
Message 4 of 8
(3,663 Views)

Thank you Tom for the suggestion.

But I want to build a VI that would detect all the devices connected to the PXI rack for the first time, irrespective of whether the device is named or not.

The solution that u suggested requires naming all the devices…I want to have some vi that would give all the devices connected irrespective whether they are named or not.

 

Is there any way i can get this done?

 

Thank you

 

0 Kudos
Message 5 of 8
(3,640 Views)
Hi piyu-
 
Can you please list the devices you plan to have connected?  Are they only NI-DAQmx supported devices, or will you have other types of devices (like GPIB, etc) in the system?
 
Thanks-
Tom W
National Instruments
0 Kudos
Message 6 of 8
(3,637 Views)
Hi Tom,
 
I want to generate a generic code that would detect the devices connected to PXI rack.
It might include GPIB also.
The aim is to have a VI that would detect all and any devices connected to PXI rack.
I have developed vi that meets thre requirement when the controller is within the PXI rack for any external controller the VI fails.
I have used "visafindresource.vi" in my programe.
I am looking for something similar.
Thank you
0 Kudos
Message 7 of 8
(3,635 Views)

Hi Piyu,

The VISA Find Resource function should be valid whether you are using a controller inside the PXI Chassis or whether you are controlling with a PC via MXI.  One VISA setting that you will want to check is the "Show all devices accessible to VISA".  You can set this in Measurement and Automation Explorer (MAX) under Tools>>NI-VISA>>VISA Options.  The Find Resource function will then return all of the PXI, PCI and FireWire devices, not just the ones registered with the VISA driver.

If this setting does not help, please post a description of the failure when the controller is external.

Regards,

Jennifer O.

 

Message 8 of 8
(3,607 Views)