03-23-2009 01:06 AM - edited 03-23-2009 01:07 AM
I try to use Visual Studio 2008 to discover NI DAQ card connected in a system programmatically using NI VISA. I do so by running the example program provided in NI VISA installation (C:\Documents and Settings\All Users\Documents\National Instruments\NI-VISA\Examples\DotNET3.5\FindResources\cs). I am surprised the result doesn't show the connecetd NI-9233. In addition, I do not see relevant IO transaction in NI Spy also.
May I know how to discover DAQ card connected to a system programmatically using Visual Studio 2008, without using LV and Measurement Studio?
03-23-2009
08:04 PM
- last edited on
05-09-2026
07:31 PM
by
Content Cleaner
Hi mkc,
Whatever you try to do with DAQmx device, you must use DAQmx function, not VISA.
You may refer to https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YI6ZCAW&l=en-US
It shows property to determine DAQ devices in the system.
Regards, Kate
03-23-2009 08:15 PM - edited 03-23-2009 08:16 PM
Hi Kate,
Thanks. I just found out an alternative too. Use NationalInstruments.DAQmx.DaqSystem.Local.Devices to retrieve a list of DAQ device name, then use DaqSystem.Local.LoadDevice(deviceName) to retrieve device information e.g. serial number and bus type.
Regards,
MKC