01-08-2013 08:57 AM
I have PCI-6229 data aquisition card. I want to work with the card without LabView or Measurement Studio but with Visual Studio Express 2010 - C# and....what do I need else
and how to get it?
Solved! Go to Solution.
01-09-2013 10:10 AM
well...it was rhetoric question cause NI makes it impossible to work with its hardware without The software (LV or Meas. Studio).
01-09-2013 11:06 AM
Nonsense. All that you need is the DAQmx driver. There are examples included when you install the driver.
01-09-2013 11:06 AM
Hi john7,
NI tries to make it fairly simple to use our hardware without LabVIEW or Measurement Studio. DAQmx, our driver package for our hardware, has a C, C# and VB .NET API. If you download DAQmx from our website, you will find a folder containing all of our text-based examples. These will populate in your program files under the National Instruments>>NI-DAQ folder and be entitled Text-Based Code Support. Measurement Studio simply provides extra User Interfaces, Analysis options, data communication configurations, and a few other functions. While development may be slightly easier with Measurement Studio, it is not necessary that you use it. Let me know if I adequately answered your question.
Best,
01-09-2013 11:35 AM
Unsupported version of National Instruments system component detected
A version of a National Instruments system component that is not supported on this operating system has been detected. You must cancel this installation and uninstall all unsupported National Instruments software before continuing. Visit ni.com/info and enter the Info Code CleanVista for more information.
Unsupported version of NI PXI Platform Services detected
A version of NI PXI Platform Services that is not supported on this operating system has been detected. You must cancel this installation and uninstall all unsupported National Instruments software before continuing. Visit ni.com/info and enter the Info Code CleanVista for more information.
Unsupported version of NI-DAQmx detected
A version of NI-DAQmx that is not supported on this operating system has been detected. You must cancel this installation and uninstall all unsupported National Instruments software before continuing.
01-09-2013 12:40 PM
I installed DAQmx 9.6 on "clean" PC. Sorry but failed to find Text-Based Code Support in National Instruments>>NI-DAQ. I found some examples on NI site, the examples based on NationalInstruments.DAQmx.dll and NationalInstruments.Common.dll. Created a new project. On Framework 4 references i see only NationalInstruments.Common.dll, no NationalInstruments.DAQmx.dll. But its getting warmer. 🙂
01-10-2013 09:19 AM
01-11-2013 11:20 AM
Hi john7,
Depending on what O.S. you are using, they might be in a different place. Take a look at the following documents:
Text Based NI-DAQmx Data Acquisition Examples
Where Can I Find NI-DAQmx Examples
Using NI-DAQmx in Text Based Programming Environments
Locations for the NI-DAQmx .NET Help Files
Happy coding!
01-12-2013 07:32 AM
Hi Jason-M,
Thanks again for your help. I think kind of retarded cause under this path : C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples i found only DAQmx ANSI C folser with plain C examples. No mention about .NET.The only thing i need is dll's for .NET 4.
Best Regards.
01-12-2013 11:05 AM
When you installed the DAQmx driver, did you actually look at what was being installed for code support or just let it default? Do a repair on the installation and I think you should be able to explicitly select to install .NET support.