I'm trying to reference NationalInstruments.DAQmx in my application c# but build error

I'm trying to reference NationalInstruments.DAQmx.dll in my c# application but get error of next generation. No idea how to solve this problem?

WARNING 1 the referenced assembly 'NationalInstruments.DAQmx, Version = 9.4.40.50, Culture = neutral, PublicKeyToken = dc6ad606294fc298, processorArchitecture = x 86' cannot be resolved because it has a dependency "System.Web, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a", which is not in the current target framework". NETFramework, Version = v4.0, profile = customer. Remove references to assemblies not in the target framework or consider retargeting your project. NITesting

Julien,

If you have the same error message, such as noted above, it seems that the problem was that the project has been configured for the profile of the Client .NET 4.0. The .NET 4.0 Client profile is a lighter version of the .NET framework, but the assemblies of National Instruments require the .NET 4.0 framework. You can set up your project (even after its creation) to use the full version of .NET in the project properties > Application > target framework in c# and project properties > compile > Advanced Options of compilation... > target in VB .NET framework.

If this isn't the same error message that you receive, or if this does not resolve the problem, could you please put the error message in your response?

Tags: NI Software

Similar Questions

  • Adobe mine is in English how can I leave the Portuguese as an official language? I tried Edit > Preferences > languages > language of the Application. But apparently not the Portuguese, only the English Option, choose at startup applicantion and

    Adobe mine is in English how can I leave the Portuguese as an official language? I tried Edit > Preferences > languages > language of the Application. But apparently not the Portuguese, only the English Option, choose at startup applicantion and even as the operating system.

    Cloud creation help / solve the installation language. Creative Cloud applications. CCM-

    http://helpx.Adobe.com/creative-cloud/KB/change-installed-language.html

  • Outlook Express will launch is no longer from the desktop. Tried to download a file to reinstall Outlook Express but the error message indicating that a later version of Microsoft Explorer is installed

    Outlook Express will launch is no longer from the desktop. Tried to download a file to re install outlook express but error indicating that a later version of Microsoft Explorer is installed.

    Is there a file with Outlook Express and the appropriate version of the Explorer on which can be downloaded.

    Do I have to uninstall Explorer 8, I'm sure I do, and I would then be able to use the file? I have download a file called ie6setupOe that has been 492 kb that I thought was Outlook Express. It is a .exe Win32 Cabinet Self Extractor file

    I'm on the wrong track thinking?

    Larry

    * original title - trying to re install Outlook Express__ *.

    Bruce; Thanks for all the advice and be so useful. Now we have all this work and has not lost a large part of all that we could not re create. Larry. I voted and I hope he did publish.

  • can you help me because I get an "ERROR" in trying to update in CC. The open window, but the error continues to flow upward and there is no error code. I use mac book

    "ERROR".

    without all the details:

    uninstall all cc including finally the application of office cc, https://helpx.adobe.com/creative-cloud/help/uninstall-creative-cloud-desktop-app.html

    clean your computer of files cc by http://www.adobe.com/support/contact/cscleanertool.html

    Restart your computer (do not skip this)

    Reinstall the desktop app cc, https://creative.adobe.com/products/creative-cloud using the compatibility mode (https://technet.microsoft.com/en-us/library/bb456979.aspx?f=255&MSPPError=-2147217396)

    Use the desktop application to install your programs and the cc events

  • How can I fix error with package installed: "could not load file or assembly ' NationalInstruments.Daqmx.dll

    I'm fighting this problem for days (euphemism)...

    I used to work, but now isn't an installation package.  I tried to install and run the program on a couple of computers and the program hangs when loading the Dll NI.  I put everything ' x 86.

    The list of dependencies in VS2010 is illustrated in the attatched screenshot.

    The text of the mistake of trying to run the application on the target computer is lower in italics.

     

    Of course, I could use some help on this!  Thanks in advance.

    See the end of this message for details on the call
    just-in-time (JIT) debugging instead of this dialog box.

    The exception text *.
    System.IO.FileNotFoundException: Could not load file or assembly 'NationalInstruments.DAQmx.dll' or one of its dependencies. The specified module could not be found.
    File name: "NationalInstruments.DAQmx.dll."
    at IPClientTest.MTF_Supervisor.mainSstart13)
    at IPClientTest.MTF_Supervisor.mainStartByParts)
    at IPClientTest.MTF_Supervisor.lblSelfTest_Click (Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick (EventArgs e)
    at System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons, Int32 clicks button)
    at System.Windows.Forms.Control.WndProc (Message & m)
    at System.Windows.Forms.Label.WndProc (Message & m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
    at System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

     

    Loading assemblies *.
    mscorlib
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.34011 built by: FX45W81RTMGDR
    Code: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    MTF_Supervisor
    Assembly version: 1.0.3.3
    Win32 version: 1.0.3.03
    Code: file:///C:/mtfDebug/MTF_Supervisor.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    MTF_ClassLib
    Assembly version: 1.0.1.0
    Win32 version: 1.0.1.0
    Code: file:///C:/mtfDebug/MTF_ClassLib.DLL
    ----------------------------------------
    NationalInstruments.UI.WindowsForms
    Assembly version: 13.0.40.242
    Win32 version: 13.0.40.242
    Code: file:///C:/mtfDebug/NationalInstruments.UI.WindowsForms.DLL
    ----------------------------------------
    NationalInstruments.UI
    Assembly version: 13.0.40.242
    Win32 version: 13.0.40.242
    Code: file:///C:/mtfDebug/NationalInstruments.UI.DLL
    ----------------------------------------
    NationalInstruments.Common
    Assembly version: 13.0.40.188
    Win32 version: 13.0.40.188
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/NationalInstruments.Common/v4.0_13.0.40.188__dc6ad606294fc298/NationalInstruments.Common.dll
    ----------------------------------------
    System.Web
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.34009 built by: FX45W81RTMGDR
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    ----------------------------------------
    System.Core
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    NationalInstruments.Common.Native
    Assembly version: 13.0.40.188
    Win32 version: 13.0.40.188
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_32/NationalInstruments.Common.Native/v4.0_13.0.40.188__dc6ad606294fc298/NationalInstruments.Common.Native.dll
    ----------------------------------------
    System.Xml
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Design
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
    ----------------------------------------
    Accessibility
    Assembly version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    Code: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------

    Salvation Lorne.V.,.

    Exactly how you install OR DAQmx on the target computers?  Even if you include the DAQmx merge module in your version, you always need to install DAQmx on the target machine separately.

    You can also confirm that the DAQmx.dll is installed in the same directory on the development and deployment of the machines?  And you have the same version of DAQmx on both machines?

    Kind regards

  • SE AcceesViolationException NationalInstruments.DAQmx.Task.UnregisterAsyncWaitHandle

    Hello

    I use my own .net application which communicates with NationalInstruments.DaqMx.dll (version 9.7) in order to activate NiDaq in the following configuration:

    Chassis PXI-1033 at two locations PXI-6284, measure differential voltage. This app worked already for a few months and has been tested under high performance - high sampling rate and long hours, without no problems so far. Recently, we tried a new use case - short sessions (60 min) measures running in sample rate = 100 and samples per channel = 100 after a few iterations, we continue to get access violation exception:

    Exception info: System.AccessViolationException

    Battery:

    to NationalInstruments.DAQmx.Task.UnregisterAsyncWaitHandle (System.Threading.WaitHandle)

    at NationalInstruments.DAQmx.Internal.DaqAsyncResult.AsyncOpDone)

    at NationalInstruments.DAQmx.Internal.AnalogMultiChannelMemoryOptimizedMultiSampleReadAsyncResult.WorkItem (System.Object)

    at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context (System.Object)

    at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

    at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)

    at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem)

    at System.Threading.ThreadPoolWorkQueue.Dispatch)

    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback)

    Keeping the sampling rate 100, but his definition of samples per channel at 1000 seems to solve this problem.

    Can someone explain to me what is the cause of this exception?

    Thank you

    Hadas


  • Missing NationalInstruments.DAQmx.DLL

    Hello

    I use VB .NET with Visual Studio 2010.

    I have downloadad the last version of the NOR-DAQmx driver, but when I call the library of NationalInstruments.DAQmx.DLL program this component could not be found.

    Where can I find this library?

    Thank you.

    I have never installed these features support, but if you have already installed DAQmx, you should be able to install the required additional components similar to what is shown here:

    http://digital.NI.com/public.nsf/allkb/52F5F5EF78AF084286256E0B007FE793

    -AK2DM

  • Could not load file or assembly NationalInstruments.DAQmx

    I get an error 'Could not load file or assembly NationalInstruments.DAQmx' when I put my application on another computer.  The only difference between the two computers that I can say is that one that doesn't use the 64-bit Windows version and one who does has the 32-bit version.

    DAQmx exists on the computer and I can control the acquisition of data through the Explorer measurement & cutting automation.

    Any suggestions?

    Thank you

    Garth

    I solved the error by downloading the latest version of DAQmx on computers and recompiling code using the most recent version.

  • Using Mac OSX 10.10.4 - tried to install Acrobat Pro DC Free downloaded trial 55% then error message "Unexpected failure" came

    Using Mac OSX 10.10.4 - tried to install Acrobat Pro DC Free downloaded trial 55% then error message "Unexpected failure" came

    Hello

    It would be possible that the link you made reference to download Acrobat DC could be broken.

    You can close this download from the activity monitor, and then try to download referring new the following link.

    Download Acrobat DC (DC) | Company or VIP

    Please be sure to turn off all third-party software before starting the installation.

    Let us know how it goes.

    Concerning

    Sukrit diallo

  • I am trying to set up my new iPhone 7 more but it says SIM necessary?

    Im trying to set up my new iPhone Plus 7 but it says "SIM" required?

    You must use a sim card to activate the iPhone.

    Don't you have a?

    Where did you buy this iPhone?

    Has not chosen a carrier when you purchase it?

    Don't you have a cellular carrier that you want to use iPhone with?

  • I earsed my hd and now im trying to reinstall, but an error has occurred during installation, which means that I can't reinstall osx again. PLS HELP!

    I earsed my hd and now im trying to reinstall, but an error has occurred during installation, which means that I can't reinstall osx again. PLS HELP!

    Please tell us how wipe you the drive and how you tried to reinstall OS X. And what was the error, and how he help you trying to reinstall OSX again? You can look at writing an effective communities of Apple support question before you answer because we are not spirit or psychic readers.

  • The left side of my headphones is stronger than the right side, I tried the L and R slider in the settings, but it doesn't seem to work! Help, please

    On the side of my ear legt is stronger than the right side and I tried the L and R slider in the settings but it doesn't seem to work! Help, please!     BTW, I have the iphone 6 sec more

    Left *.

    earphone *.

  • How can I restart my iPhone 5 c? I tried to connect to iTunes and that has not worked. Then I tried now the home and sleep/wake buttons simultaneously, but that no longer works. My charger works. What should I do?

    How can I restart my iPhone 5 c? I tried to connect to iTunes and that has not worked. Then I tried now the home and sleep/wake buttons simultaneously, but that no longer works. My charger works. What should I do now?

    Looks like a hardware problem (with your home button).  You should probably make an appointment with the genius of Apple on an Apple store near you.  This link can help:

    https://www.Apple.com/support/contact/ >

  • I'm trying to restore my mini ipad settings but 1671 error keeps popping up. Someone at - it ideas?

    I'm trying to restore my mini ipad settings but 1671 error keeps popping up. Someone at - it ideas?

    This might be useful.

    error are not not in the official list

    Get help with iOS update or restore errors - Apple Support

  • 6221 door & appl from XP to W7 64 bit daqmx v9.5 - > 9.9 but not read

    I wore NO PCI6221 cards through our application to w7 64 bit xp.

    DAQmx v9.5-> v9.9

    our application works, but it seems that the good AI is not selected or not read.

    DAQmx channel comm is visible in the trace OR

    probably not installed right.

    nothing wrong or soft/hw/Setup

    wrong path name (i.s.o. Program Files Program Files(x86)) for soft SPI guiding the previous teststep (s)

    Sorry NO.

Maybe you are looking for