Measurement Studio for purely GUI using?

Hi all

I find graphical LabVIEW + fantastic approach to the acquisition, transfer and processing of data from data flow programming. The façade is also ideal for stand-alone single screw, or quick hacks to try a code.

However, when it comes to creating a professional quality for a large application GUI, I find offers of tedious LabVIEW and strains to use. So far, I used objects of façade regular, XControls, event structures and property nodes.

I am now looking at Measurement Studio. Here's what I think:

  • Implement business logic in LabVIEW (compiled as a DLL)

  • Implement GUI in XAML or C++ - primarily use native Windows elements, but bring in the Measurement Studio controls a graphical representation

Is this a viable, reasonable approach? Is there a "witch hunt" s that I should look out for?

Thank you!

Hi JKSH,

Everything you described should be possible that LabVIEW can create DLLs and assemblies. He may ask you to register an assembly that is added to your project so that everything works correctly when you compile. In addition, you must have LabVIEW Run time engine (RTE) installed on the machine that you are running the application on. If this is the same machine that LabVIEW is installed, you should be all set and if not this editor is available on our website (ni.com/downloads).

Tags: NI Software

Similar Questions

  • 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

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

    Thank you

    Greg Filis


  • 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

  • Measurement Studio 2015 under VS2012 c# IntelliSense does not

    I upgraqded my MS2013 MS2015 and now intellisense on MS all controls is no longer works. For all other controls language intellisense works normally. When I open an existing project using MS control (Gauage, plots, etc.) all the properties of control NOR and methods are of red color. When I press period after an instance control no properties or methods appear. Exisitng with methods and properties valid projects still compile without error.

    Hi Frank334,

    I tried to recreate what you see by creating a project using measures Studio 2013 for Visual Studio 2012 that mimics the code in your screenshot, installation of measurement Studio for Visual Studio 2012 2015 and again opening the project. Here's what I see:

    Everything seems to work. Can you walk us through the process you used to update to Measurement Studio 2015? Have you tried anything to refresh the IntelliSense information for your project? I found this article of stack overflow that can help: http://stackoverflow.com/questions/13375961/visual-studio-2012-intellisense-sometimes-disappearing-b...

  • OR e/s 14 Instrument installation wizard is not compatible Measurement Studio

    Hello

    I want to create an Application for Windows OR VISA using Visual c#, but I can not find this new project dialog box template.

    I also read this post (http://forums.ni.com/t5/Measurement-Studio-for-NET/Can-t-find-Microsoft-templates-for-Measurement-St...), but it seems that it is not my problem.

    When I tried to reinstall Wizard NI Instrument of e/s, I found that it provides no support for Measurement Studio.

    I installed MS Visual Studio Ultimate 2012, Measurement Studio Enterprise 2013, NI-VISA 5.4, OR-488. 2 3.1.1 OR August 2014 by this order device driver. My OS is Windows 7 Professional 32 bit.

    What should I do now?

    Thank you
    Thang

    Hello thangvq,

    I took a look at the Release Notes for measurement Studio 2013, and it seems that the Instrument i/o Assistant OR not is not supported in versions of Visual Studio 2010 at the latest.  Take a look at the Support section of the drivers on page 5 for more information.

    Myriam

  • 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.

  • 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.

  • problem reading DAQmx using Measurement Studio 2010 (even with examples OR)

    Hi all

    I'm reading the voltage using a map of NOR-DAQ-6211 with Measurement Studio 2010 SP1 V9.1.0.204. using Visual Basic .net 2010.
    When I create the task of data acquisition with the measurement studio Wizard, (Assistant DAQ) everything works fine. However, when I try to create my own task player in looking over the "ContAcqVoltageSamples_IntClk" everything I read is a value in the range of Vmin to Vmax (or to Vmin Vmax) and then she stays there no matter if I change my diet. Vmin and Vmax does not yet match my values of voltage. (It acts like that on my application and example of OR) I guess I missed a few initial settings. The config of AIChannel in two projects (manual task and Augo-Gen) use AIChannelConfig.RSE (I tried other options, but no luck).

    The only wiered thing is that when I open examples of projects, VS does not recognize the object references of NOR. Workspace names DAQmx. When I check the references, it shows that it does not find the reference to NI.Common. To make it work/compilation, removed from the solution and I again added. (I don't think this is related, as it seems that there are available tensions but not read correctly).

    The other thing is that my input voltage is 3 or 0 volt. When you use the manual DAQtask, when I toggle the voltage, the values displayed change momentarily the order of 0.001 Volts and then go back to their previous values of Vmax and Vmin.

    Is there more information I can provide?

    Help, please
    Thank you

    Yay! I just solved my problem,

    From the first moment I knew there was something fishy about this AITerminalConfig thingy! I made two errors:

    1. in the code example Configuration AI is encoded: CType (-1, AITerminalConfiguration) that caused the code example does not work for all channels to HAVE it

    2 - also, I have in my code, I had put this config to the correct value, but I was checking ai0 all the time while the signal was on another I. I was under the impression that since the example does not work for all my channels, then probably my code does not work as well.

    If after changing the line in the example for the correct terminal configuration settings, he began working for the AI number I was looking for too much and I found that my code worked for my AI # correctly from the beginning. I wasn't just to see it!

  • Problems with ASP Master Page for examples of measurement Studio Web Form

    I loaded Measurement Studio Web form examples (ASP projects) in VS 2008. Running within VS proceeded without problems. Then I built and published on IIS 7 for ASP pages

    wwwroot / vb , for example.

    Opening with the Internet Explorer browser, the home page is OK: localhost / vb. However, all of the examples under come with the following error:

    The file ' / vb/Annotations/Examples.master' does not exist (being one of the subpages Annotations)

    I looked in several discussions on the Web and found no logical explanation why this is happening

    Finally, I understood NOR appearing Web controls do not on a remote browser.

    The cause is IE, and I am currently using version 7.

    With Google Chrome, for example, everything works OK. Other Web, including Telerik control providers, are complaining about visibility of IE 'spoil' controls.

    Change some property settings for a Web control can solve the problem with IE

  • 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

  • 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

  • Measurment Studio 2015 Builder installer not conditioning not DLL Analysis.Professional

    Hello

    My application uses the package MS Anaylsis I want is not included in the Installer Setup Builder installer. I checked the "OR Measurement Studio Anaylysis .NET language runtime 2015 for .NET 4.5" in the Section of the driver NOR.

    After the execution of the installation on a machine of own generation Win8-64 my application generates a "could not find error Assembly" to "NationalInstruments.Anaylsis.Professional, 13.0.45.242 Version.

    A careful review of all available libraries does not suggest there is a more appropriate library to include in the build. My installation Builder is for a mixed environment, but my request is built as x 64.

    Can anyone suggest a solution?

    Thank you, Frank.

    Hi, Frank

    On your deployed machine, can you check the following directory and take a screenshot?

    C:\Windows\Microsoft.NET\assembly\GAC_MSIL\NationalInstruments.Analysis.Professional

    It is possible that this happens because your application was built against the 13.0.45.242 version of NationalInstruments.Analysis.Professional, but the version installs the 15.0.45.49153 OR Measurement Studio analysis .NET Language Runtime install. If this is the case, you can do two things:

    • (Recommended) Rebuild your application against the Measurement Studio .NET assemblies 2015 versions before you redeploy using the 2015 runtime installation programs.

    • Create an application configuration file that redirects 13.0.45.xxxx to 15.0.45.49153 NationalInstruments.Analysis.Professional.

Maybe you are looking for