I get a TypeLoadException WaveformPlot in Measurement Studio for Visual Studio 2005

Thank you

Greg Filis


Tags: NI Software

Similar Questions

  • Why do I get the same upated for visual c# 2005 service pack 1 redistributable package when I mentioned and pack of 2

    It keeps just appearing on my windows update, I downloaded it about 5 or 6 times but he always comes back, I do the security checks every day, but there is nothing to come, so could you take a look and tell me how he fixed please.thank you and bye.

    Hi williammarrs,

    ·         Is this the only update that is offered several times?

    I suggest you follow the link given and check if the problem persists.

    Troubleshooting Windows Update or Microsoft Update when you are repeatedly offered an update

    Hope the helps of information.

  • Measurement Studio 2015 lack of reference to Assembly for "NumericControlCommands."

    I just migrated my project Studio 2012 measurement to Measurement Studio 2015 and udpated VS2013 references.  I get the following error in my XAML

    Type reference cannot find the named type ' {http://schemas.ni.com/controls/2009/xaml/presentation/primitives} NumericControlCommands'.

    It turns out that it was an indirect exception related to a few of my files that I still need to change "NumericControlCommands" to "ControlCommands".  The project seems to work fine now.

    Thank you

  • License with Measurement Studio and Visual Basic 2008 Express problem

    Hello!

    I have a license for the professional edition of studio measure 8.5 and I use the express edition of Visual Basic 2008.

    I am trying to use the FFTfunction, but get the exception {"NationalInstruments.Restricted.AnalysisLicenser is unauthorized."}

    Does anyone have an idea?

    Thanks in advance!

    Andreas

    Here is the full error message:

    System.TypeInitializationException wurde nicht Festival.
    Message = "Der Typeninitialisierer as 'NationalInstruments.Analysis.Dsp.Transforms' hat eine exception caused."
    Source = "NationalInstruments.Analysis.Professional"
    TypeName = "NationalInstruments.Analysis.Dsp.Transforms"
    StackTrace:
    BEI NationalInstruments.Analysis.Dsp.Transforms.RealFft (Double [] realData)
    EIB LDS. LDS_Form1.ButtonFFT_Click (Object sender, EventArgs e) D:\devel\LDS\pc\LDS\LDS\LDS_Form1.vb:Zeile 1700.
    bei System.Windows.Forms.Control.OnClick (EventArgs e)
    bei System.Windows.Forms.Button.OnClick (EventArgs e)
    bei System.Windows.Forms.Button.OnMouseUp (MouseEventArgs mevent)
    EIB System.Windows.Forms.Control.WmMouseUp (Message & m, MouseButtons, Int32 clicks button)
    EIB System.Windows.Forms.Control.WndProc (Message & m)
    bei System.Windows.Forms.ButtonBase.WndProc (Message & m)
    bei System.Windows.Forms.Button.WndProc (Message & m)
    EIB System.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message & m)
    EIB System.Windows.Forms.Control.ControlNativeWindow.WndProc (Message & m)
    bei System.Windows.Forms.NativeWindow.DebuggableCallback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW (MSG & msg)
    bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner (Int32 reason, ApplicationContext context)
    bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop (Int32 reason, ApplicationContext context)
    EIB System.Windows.Forms.Application.Run (ApplicationContext context)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel)
    BEI Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (String [] command-line)
    EIB LDS. My.MyApplication.Main (String [] Args) in 17d14f5c-a337-4978-8281 - 53493378c1071.vb:Zeile 81.
    bei System.AppDomain._nExecuteAssembly (Assembly, String [] args)
    bei System.AppDomain.nExecuteAssembly (Assembly, String [] args)
    bei System.Runtime.Hosting.ManifestRunner.Run (Boolean checkAptModel)
    bei System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly)
    bei System.Runtime.Hosting.ApplicationActivator.CreateInstance (ActivationContext activationContext, String [] activationCustomData)
    bei System.Runtime.Hosting.ApplicationActivator.CreateInstance (ActivationContext activationContext)
    EIB System.Activator.CreateInstance (ActivationContext activationContext)
    BEI Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone)
    bei System.Threading.ThreadHelper.ThreadStart_Context (Object state)
    bei System.Threading.ExecutionContext.Run (ExecutionContext executionContext, ContextCallback callback, Object state)
    bei System.Threading.ThreadHelper.ThreadStart)
    InnerException: System.ComponentModel.LicenseException
    Message = "NationalInstruments.Restricted.AnalysisLicenser is unlicensed."
    Source = "NationalInstruments.Common"
    StackTrace:
    AT NationalInstruments.Restricted.LicenseBase.ShowUnLicensedBehavior (Type type, object instance)
    BEI NationalInstruments.Restricted.LicenseBase.a (String Type A_0, A_1, A_2 object)
    BEI NationalInstruments.Restricted.LicenseBase.a (Type A_0, A_1 object)
    AT NationalInstruments.Restricted.LicenseBase.RunTimeCheck (Type type, LicenseContext context, object instance)
    BEI NationalInstruments.Restricted.LicenseProviderBase.GetLicense (context, type, object, Boolean allowExceptions instance Type, LicenseContext)
    bei System.ComponentModel.LicenseManager.ValidateInternalRecursive (context LicenseContext, Type type, Object instance, Boolean allowExceptions, license, licenseKey, String & license)
    bei System.ComponentModel.LicenseManager.ValidateInternal (Type type, Object instance, Boolean allowExceptions, license & license)
    bei System.ComponentModel.LicenseManager.Validate (Type type, object instance)
    EIB NationalInstruments.Restricted.AnalysisLicenser... ctor()
    EIB NationalInstruments.Analysis.Dsp.Transforms... cctor()
    InnerException:

    Hi Andreas,

    It is scheduled for any Visual Studio Express edition, because these editions do not allow 3rd party integration. So, you will need to perform some additional steps to get a license to work properly.  Refer to the Measurement Studio for Visual Studio Express Editions support KB (in particular, paragraph 2 pointing you to our help).

    Best regards

  • WiX Installer Measurement Studio merge modules

    Is there a tutorial somewhere on how to create a WiX Installer for a Measurement Studio application similar to the http://digital.ni.com/public.nsf/allkb/ED87C183E056CAC386256DF1004E54C6Knowledge Base article? I have an application Measurement Studio c# which I am creating a WiX Installer for and I have problems to get the measurement of inside studio merge modules. I get errors ICE30. I'm using WiX 3.0.

    Hi d_sdl,

    Our merge modules should work in WiX, as I have tested this several times. When you say that you have found ICE30, that fails your build? As you probably already know, one of the nice features of WiX is that you can set a flag so that whenever WiX compiles and links your source, it works ICES on them. This allows you to catch problems early in your development process. I guess you do is put the WiX linker fails if ICE warnings/errors are thrown. You can configure WiX for actions based on ICES advice you get. What is important is that you can turn off this setting, but it depends on how you are nvoking WiX (i.e. through NAnt, MSBuild, Votive, etc.). In any case, there are different ways to disable this option. What I would say is to disable the option, or be specific about which ICES to ignore. This decision would be to the you. The key is to understand what actually means ICES and determine if they are legitimate questions.

    ICE30 can indicate a variety of different things, but a common reason corresponds to the entries of the SFN. Some of our merge modules are always generated through Visual Studio deployment projects and VS created RFU very well. Thus, you're left with SFN entries duplicated in the MSM. Long file names are different, but the short file names are the same. WiX does this correctly which is nice, but unfortunately we can't convert some of these modules more MSM because of VS restrictions and limitations, that we found. It would be nice if better RFU created VS.

    Attached is a zip file that contains two projects that are:

    • C# project that produces the binary file that the Setup program will install
    • Project of WiX that creates the MSI file

    First, be sure to build the c# project. I tested the MSI that result, and it works very well on a target system.

    Note If you want to load the wix project, you must have the final version of Votive on your system.

    Best regards

  • DAQ Assistant does not appear when starting a new project in Visual Studio 8 with Measurement Studio

    Hello

    I have installed a system with the following configuration:

    Windows 7 Prof

    OR MAX

    Visual Studio 2008 Standard

    Measurement Studio 2013 (evaluation)

    Device drivers OR Feb 2013

    When I start a new project in Visual Studio, I can choose a model with NEITHER Windows forms application. After that I get an overview of the classes, but after that, I get no DAQ assistant. What Miss me as is actual references in the Toolbox, with the exception of the buttons and graphics of NOR.

    Someone at - it a solution for this problem?

    Thanks in advance,

    Erik

    Dear Erik,

    I saw the same problem and I think that you can solve with the installation of the DAQmx 8.8 and make sure to include the Visual Studio integration.

    If you have any questions just reply to this email.

    Have a good time.

    Kind regards

    Hossein

  • Programming ZUP6-66 lambda via Measurement Studio

    I'm looking for examples of programming of the Lambda ZUP6-66 or similar device with measurement studio. This unit uses a RS-232 communication port. I do this on Windows 7 64 bit, Dot Net 4.0, Visual Studio 2010.

    Thank you

    Todd K.

    Todd K. Hello,.

    You will need to look in the NI-VISA example file for the examples of DotNET 4.0 perform a simple read and write to see how. You will then get the Protocol for this device send the specific strings necessary to combat it. It doesn't seem to be drivers of instruments available for your device on www.ni.com/idnet, but feel free to suggest for them to be developed at this place.

    Kind regards

    Jeff L.

  • Do not see the Option Measurement Studio Visual Studio 2008 project

    I just installed Measurement Studio 2010 sp1 for Visual Studio 2008, but I don't get the option Measurement Studio Visual Studio 2008 under any .net language project. I have to configure something else?

    Thank you

    I use the professional version of Visual Studio, and YES that's what I wanted. In fact just, I solved the problem by removing and then reinstalling Measurement Studio.

    Kind regards

  • Measurement Studio 2010 with Visual c# Express 2010

    I don't know if this is supported, however, I get this error when you try to install the Measurement Studio 2010 Visual Studio integration.

    2 error: Cannot perform action Measurement Studio Visual Studio 2010 integration configuration.

    I can select the VS c# Express items in my screenshot. But they do not appear in my Inbox tool for me to use...

    Can some help me please? I'm new to all this...

    Visual Studio Express Editions of Microsoft Visual Studio do not support the Measurement Studio integrated tools. Controls support Measurement Studio for Visual Studio Express Editions KB.

  • Measurement Studio 8.6 Setup error

    Hi, I get an "unknown error" in an attempt to upgrade of measurement Studio 8.5 to 8.6, which causes the installation fails.  I tried to uninstall all products of OR, but this has not helped (error persists).  I use Visual Studio 2008 and 2005 (2005 given that I needed controls ActiveX Studio measures in my projects and I was told it was the only way to do it: http://forums.ni.com/ni/board/message?board.id=232&message.id=7393#M7393).  Anyone have any ideas?

    So, I still is returned to the registry and removed any mention of National Instruments Measurement Studio or "nidaq.  This seems to have done the trick.  The MStudio and device drivers are install without "unknown error."

  • Siemens simatic wincc SCADA and LabView/Measurement Studio

    Hi all

    I am currently working on the design of wireless data acquisition system using materials. Input signals captured by wirelessDAQ NOR will appear eventually in WinCC from Siemens SCADA system.

    Is there a way to make this configuration? I thought to is to develop software for the acquisition of data using LabView/Measurement Studio and link code to WinCC via Visual Basic (for example via DAQmx). Thanks for all your comments.

    Hi kid_26,

    I'm sorry.

    It is the only option.

    If you press the cost, write a VB6 to call DAQmx is an option.

    Sincerely, Kate

  • Measurement Studio 2015 Installer creator vs WIX

    What is the reasoning behind the development of the new measurement feature Studio Installer?  I have never had any problem using Wix for mixed deployment c#, C++ that use Measurement Studio products.  It just seems like an odd sense to send the development resources, opossed say, improve support WPF?  Or documentation of the product and samples for WPF?

    Mark DeArman

    Hi, Mark

    The reasons that we have dedicated development resources by creating a builder application to install for Measurement Studio are:
    1. Once Visual Studio has diminished in favour of their native installation project, the number of support requests involving the deployment of Measurement Studio has increased considerably.
    2. Apart from the Setup project, the only other method of deployment which Measurement Studio is fully supported is Windows Installer XML (WiX), which was not well received by customers. Almighty, WiX has a steep learning curve, even to accomplish a simple deployment.
    3 measurement Studio does not support InstallShield, among other popular solutions to WiX for the deployment.
    4. the supported deployment methods, no guide customers what drivers OR and components attached to their application to ensure good run time behavior.

    Builder installer helps to solve these problems and has already received positive feedback from many customers.

    Please let us know if you have any other questions about the Builder installer; We would be happy to help you!

    Thank you

  • Get the average of the measurements in an image

    Hello everyone.

    First of all I thank very you much to be able to help and read this post.

    I'm trying to measure an object. Do I use the CLAMP block (horizontal clamp, it doesn't matter if it's the distance max or min).

    The problem is that you can calculate the maximum distance or minimum between the edges which lie in a return on investment with this VI.

    But I would get the average of all measurements in the KING, because it can be obtained because this VI use them to know what is the maximum and the minimum, but the problem is that I do not how to access.

    Any ideas to get the average?

    Thank you very much.

    I suggest using the IMAQ rake instead of the clip because it returns all edges detected.

    Take a look at the attached vi, I started from the example of the clamp vi and adding an option of rake.

  • Measurement Studio for visual studio 2008 8.1.2

    Hello, I installed Visual Studio 2008 and I use the Visual C++ 2008 him.  However, Measurement Studio 8.1.2 (which I have) do not natively connect to VC 2008.  I tried to manually add the box controls to tools... but namespace NationalInstruments.UI.WindowsForms seems not to be there?  Maybe I need to change something somewhere?  Any help would be most appreciated.

    Defiance-

    If I understand correctly, you are trying to add references to assemblies .NET Measurement Studio for a C++ 2008 project. Is this correct?

    In this case, when you have created your project, you chose one of the models in the CLR (see screenshot) category?

    If so, then to add references to assemblies Measurement Studio, you go into the Visual Studio point Project menu > properties and select common properties > structure and references > add a new reference. MStudio 8.1.2 assemblies should appear in the list. If this isn't the case, you can navigate to them. They have installed by default on \Program Files\National Instruments\MeasurementStudioVS2005\DotNET\Assemblies\Current. Make sure that you add all required dependent assemblies (usually NationalInstruments.UI.dll and NationalInstruments.Common.dll).

    Also, you should be able to create a box Tools tab and add controls.

    If you try to do something else, could you give more details on exactly the type of project you want to create?

    David Rohacek

    National Instruments

  • Best way to generate the software clock for USB-6501 of Measurement Studio for c# VS2008

    Hi all

    I wonder if there is a better way to generate a clock software for USB-6501 of Measurement Studio for VS2008 in C Sharp?

    I have developed a clock using C Sharp "Thread.Sleep (msecPauseTime)"; and statements to switch digital output high and low. There are a few things I noticed in creating a software clock in this way:

    1. The smallest delay by the Thread.Sleep command time is 1 millisecond (which means higher clock period is 2 msec-500 Hz, not holding not ball account no. 2 below).
    2. Sometimes the delay I see on an oscilloscope is considerably longer than the delay that I specified in the sleep command.

    In my application, I create signals (a clock, a latch enable and data series) to control what an attenuator step through the USB-6501 RF connected to a USB 2.0 on my computer. This particular step RF attenuator can accept clocks with frequencies up to 10 MHz, so I would like to generate a software clock (without having to connect to an external clock to a line of input on the USB-6501) which is closest to this maximum frequency, and I think that the USB2.0 line could handle clock speeds over 500 Hz. Also, I would like to know why the delays that I see on the scope are sometimes longer than the time specified by the Thread.Sleep command. Is it caused by the suspension of the execution of my program processor for something else, as I suspect? Of course, this isn't a big deal, because it does not affect the time as my serial data and pieces change compared to my clock. However, I would like to know why it does this.

    I appreciate your help.

    Thank you

    Jonathan Becker

    Doctoral research engineer

    Carnegie Mellon Silicon Valley

    Jonathan,

    Since the USB-6501 DIO is software programmed, you are at the mercy of the planning of the operating system and won't be able to work reliably with an external clock in the software.

    You can try to set the priority of your thread 'generation of clock' to improve performance, however, because Windows is not a deterministic operating system, there are still no guarantees.  Operating systems are not required to honor the priority of threads.  You can find examples and information on the definition of the priorities of the threads in c# here:

    http://msdn.Microsoft.com/en-us/library/system.Threading.thread.priority.aspx

    Kind regards

Maybe you are looking for