使用NI的Measurement Studio 的ActiveX控件出现的问题

       我是在Microsoft Visual InterDev 6.0 中编写插入Measurement Studio 的ActiveX控件的网页,结果在本机上运行没有问题,ActiveX控件显示及交互正常,但是我将其转移到另一台机器上,结果出现了下面的2个提示窗口:
1      cwui
             Error loading control. A  newer version needed. The default settings for the control will be used.
 2    Component Works
              This program contains ComponentWorks evaluation-only controls which will stop funtioning after 5 minutues of execution time. To order a development version of ComponentWorks,contact your local National Instruments
     结果是Activex控件交互基本正确,但是显示的是缺省样式(非我设计的样式)。
     请问是什么问题?是版本问题吗?我本机上装的是Measurement Studio 6.0
     还是另一台机器上也要装Measurement Studio 6.0 吗?有没有办法不需要另外安装软件,直接在网页上使用NI 的ActiveX控件的方法?
     请知情者赐教!谢谢!

http://digital.ni.com/public.nsf/websearch/6677098983C36F9086256CFE007F457A?OpenDocument

Similar Messages

  • Conflict between ActiveX from LabVIEW and Measurement Studio?

    Hello
    We're small software company from Poland. We're developing our product
    (SCADA/HMI and integration system heavily based upon Measurement Studio
    graphic controls) in C++ for Win32 environment (MSVC 2003 Edition C++
    Compiler). Today we ran into serious problem: our client, one of the
    biggest Polish companies that sell automation software and hardware, is
    evaluating our product. Company staff members are using LabVIEW, too
    and have various version of LabVIEW installed on their PCs. It turned
    out that our program displays message that license is needed for
    Measurement Studio ActiveX controls, and crashes, when ran on PC with
    LabVIEW installed! (This one has LabVIEW 6.1, 7.0, 7.1 simultaneously
    installed).
    While I gues that crash is not Measurement Studio's fault (I guess that
    control fails to create and throws exception which is not catched by
    our code...we'll fix that) I'm pretty sure that this "license" stuff
    is. Of course we have legal version of Measurement Studio 7.1, and all
    controls used in our software have their respective licenses generated
    and compiled into application (we create all controls dynamically). We
    have never run into such problem before, and we're using Measurement
    Studio for years...please help.
    Some additional details: control that failed is CWBoolean in "3D Diode"
    configuration. Other controls, including CWBoolean in another
    configurations seem to work OK, at least I was told so (it's pity that
    I don't have faulty configuratio here...will try to reproduce it using
    some kind of LabVIEW evaluation version).
    Best regards from Poland, and thanks for any help.
    Michal
    Michal Adamczak
    Lead programmer, ANT ISS (http://www.ant-iss.com)

    Hi Michal,
    This is actually an error message that is usually fixed pretty simply by using our License Fixer.  Sometimes the licenses for the ActiveX controls can become broken in Measurement Studio.  This usually happens if you install drivers after installing Measurement Studio or a program created using Measurement Studio.  You can find the License Fixer here.  Try this out and let us know if you still have any trouble.
    Thanks,
    Caroline Tipton
    Data Management Product Manager
    National Instruments

  • Coding error using measurement studio

    hello..
    can somebody tell me where can i get help on coding the measurement studio using VB.i'm doing an interface programing with a dc servo motor.i'm using a fuzzy logic controller(FLC) to make the output of the servomotor to follow the input, which i'm using a square wave input.i'm having coding problems on linking the FLC with the harware.i'm not quite good in visual basic, so can anybody help me with the coding?i can send the vb coding of the FLC and the hardware interface coding. i've successfully implement PID controller.. but i can't seem to make the FLC work. i think there's something wrong with the coding.
    and how can i make the graph go more faster? output from the graph is very slow, compared if i probe the output from the servomotor harware using a digital oscilloscope.

    Hi,
    I recommend the Measurement Studio Reference as a resource. This reference is installed with Measurement Studio and can be found on your computer from Start>>Programs>>National Instruments>>Measurement Studio>>Help. The Measurement Studio Reference includes information on the Measurement Studio ActiveX controls and tutorials.
    Next, is the FLC you are using part of a Measurement Studio Add On? Are you using the PID Toolset for VB?
    Then, if the graph you are using is a CWGraph, you can access the properties of the graph by right-clicking and selecting Properties…. Click on the Graph Tab of the Property Pages window and check that Control Refresh is set to Immediate. This has the graph redrawn as soon as new data is available.
    Regards,
    Eric M

  • Using graphs in measurement studio

    I have written in multiple languages, and this �easy� �user friendly� software package has left me completely stumped. How on earth do you put data in to a graph and display it????? Can someone please show me code examples of firstly how to shove an entire array of numbers into a graph in VB.net using the new Measurement Studio and secondly how I could update a graph plot with a next acquired sample. Please help

    "Where would I find "Creating Measurement Studio Strip Charts, Scope Charts, and Graphs" document. if it is on the website it is extremeley well hidden even from its own search engine. Does this specifically talk about VB .NET and measurement studio"
    You can find this topic, as well as several other conceptual topics about the Measurement Studio .NET features with VB.NET/C#, in the Measurement Studio help that installs with Measurement Studio. You can find this help in two ways:
    Integrated into VS.ET 2003/MSDN Help - Go to the table of contents, then the "NI Measurement Studio Help" node.
    Measurement Studio standalone help - Go to the Start Menu, then Programs->National Instruments->Measurement Studio 7.1 for VS.NET 2003->Measurement Studio Documentation
    Once you're in the table of contents, you can find the topic above by navigating to:
    - NI Measurement Studio Help
    - NI Measurement Studio .NET Class Library
    - Using the Measurement Studio .NET Class Libraries
    - Using the Measurement Studio Windows Forms .NET Controls
    - Using the Measurement Studio Graph .NET Controls
    The topic above is the second link in the list. If you have Measurement Studio 7.1 installed, this link will take you directly there.
    "Using Measurement Studio ActiveX controls I wouldn't even know where to start, there is no AxCWGraph on any toolbar."
    AxCWGraph is the name of the interop wrapper that is automatically generated by VS.NET when you add CWGraph to your project, so you won't see it in the toolbox. WaveformGraph/ScatterGraph is what you should use in .NET applications if you have Measurement Studio 7.0 or higher. I only mentioned CWGraph because this was posted to the Measurement Studio for Visual Basic forum instead of the Measurement Studio for Visual Studio .NET forum, so it wasn't clear if you were using the Measurement Studio .NET controls or the Measurement Studio ActiveX controls.
    "If NI could just stick an example of exactly how to use VB.NET with measurement studio on displaying data and the various options available and stick it for all to see on the measurement studio home page it would be great."
    There are several examples that are installed with Measurement Studio 7.1. If you installed Measurement Studio to the default location, you can find this examples at:
    Program Files
    National Instruments
    MeasurementStudioVS2003
    DotNET
    Examples
    UI
    Graph
    "I write in over ten different languages and scripts and fluent in two of them. It worries me that I can't even find the front door let alone open it."
    I can understand how this could difficult if you were not aware of the Measurement Studio help and examples. Is it easier now that you know about this content that installed with Measurement Studio? If not, what else do you feel is missing?
    - Elton

  • Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6

    A Very Simple quistion:
    Does Measurment Studio Standerd edition contains graph and chart ActiveX controls for VB6?

    Shady -
    Measurement Studio 7.0 Standard Edition provides support for Visual C++ 2003, Visual Basic .NET 2003, and Visual C# 2003. It just so happens that the Visual C++ support includes ActiveX controls, which are usable in VB6. The CWGraph ActiveX control provides both graphing and charting functionality.
    However, full Visual Basic 6 support, including examples and documentation is not in the Standard edition. It is in the Professional and Enterprise Editions.
    The best thing to do would be for us to get in direct contact with each other to make sure that we get you exactly the (minimum) package you need. If your profile includes your email address, we can contact you. Otherwise, you'll need to go through ni.com/support and refer to t
    his discussion thread to open a direct dialogue.

  • I have programmed a visual basic application using activex controls. WHen I run this application through internet, it appears a message box indicating that the measurement studio is a demo, but I have the correct license. What can I do?

    I run the application in a computer without measurement studio because my application is stored in a web server and I access to the application downloading it from a web page of that server.

    Have you included the lpk file with your control? I've attached the tool you'll need and here is a nice link that goes thru it step by step.
    Hope this helps
    Bilal Durrani
    Bilal Durrani
    NI
    Attachments:
    lpk.zip ‏74 KB

  • Why the wave is disvisible?? I used measurement studio 7.0.1 in my existing VC++ 6.0 project

    I have an existing Microsoft Visual C++ project  MyProj. I  have installed the NI measurement studio 7.0.1 on my computer yesterday.
    I have added a CWGraph control on a dialog of MyProj via "Project-> Add To Project->Components and Controls...->Registered ActiveX Controls->CWGraph Control".
    It created 22 classes such as "CCWGraph/CCWPlots/CCWPlot/CCWAnnotations......." in my MyProj,
    Now, I create a variable m_GraphCtrl for the CCWGraph Control by classwizard.
    I want to used following codes to create a wave and show on the control,  in my debugging , it's running no problem, but the control not show a wave.
    I have add a plot "1" in the contrl's Properties "Plots".
    I have set the "Axes-XAxis-Auto scale" and "Axes-YAxies-1-min 0: max 255" in the control's Properties.
    code:
    VARIANT vrtItem, vrtData, vrtFirst, vrtInc;
    vrtItem.vt = VT_BSTR;
    vrtItem.pcVal = "1";
    vrtFirst.vt = VT_I4;
    vrtFirst.lVal = 0;
    vrtInc.vt = VT_I4;
    vrtInc.lVal = 1;
    vrtData.vt = VT_BYREF|VT_UI1;
    vrtData.pbVal = CH1WaveData;//unsigned char CH1WaveData[2500];there have had value already.each value is between 0~255.
    // Graphs
    m_GraphCtrl.GetPlots().Item(vrtItem).ClearData();
    m_GraphCtrl.GetPlots().Item(vrtItem).PlotY(vrtData, vrtFirst, vrtInc);//no wave show on the CWGraph control
    //annotations
    m_GraphCtrl.GetAnnotations().Item(vrtItem).GetCaption().SetXCoordinate(0.00);
    m_GraphCtrl.GetAnnotations().Item(vrtItem).GetCaption().SetYCoordinate(200.00);//this codes worked good,
    m_GraphCtrl.Refresh();
    Who can tell me why ???

    Hi Johannes,
    Did you get a chance to read this thread?
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000B3E20000&UCATEGORY_0=_342_%24_7_&UCATEGORY_S=0

  • NI Measurement Studio UI components for Visual Basic 6.0 message box

    Hey All,
    North West Quality Analyst was recently installed on my LabVIEW development machine. Whenever I launch NWQA I get a dialog box to install "NI Measurement Studio UI Components for Visual Basic 6.0" for program called "Program Name."
    I cancel out of the install and I can use NWQA just fine. However, I would like to eliminate the install attempt. Any ideas on how to do that?
    I've tried to find the installer file on the Distribution discs, but on the two that I thought it would be on, "Measurement Studio Enterprise Support for Visual Studio 6.0" and "Measurement Studio Enterprise Edition" the file named "MStudioUIDemo.msi" was not found.
    Thanks,
    -Andrew

    Below is the text from the event viewer warning...
    Detection of product '{7B0F253A-C7A2-4335-B041-99868E9EDEE8}', feature 'UI_Controls', component '{A44FC66B-252B-11D4-A77B-00104B6CE77D}' failed. The resource 'C:\WINNT\system32\CWHlpBtn.ocx' does not exist.
    I have lots of stuff installed on the computer... MS Office, Codewarrior, Roxio, IE, MatLAB, etc.
    Looking under MAX, I have the following NI software installed.
    LabVIEW 6.1 (Advanced Analysis, Application Builder, Database Connectivity Toolset), 7.1 (Advanced Analysis, Application Builder), Runtime 6.0, 6.1, 7.0, 7.1, MAX 3.1.1.3003, NI-488.2 2.20, NI-CAN 2.2f2, NI-DSA, NI-IMAQ, NI-Motion, NI-PAL, NI-Switch, NI-USI, NI-VISA 3.2, Measurement Studio 6.0 (For Visual Basic(ActiveX User Interface, ActiveX 3D Graph, ActiveX DataSocket, ActiveX IMAQ))
    The Dell box is running Window's 2000.
    I found a listing under "Computer Management" -> System Information -> Software Environment -> Loaded Modules
    that seems to have all the installed apps and such. I can send that to you privately if you desire.
    Thanks,
    -Andrew

  • Why can't visual basic 6 load CWDAQ.OCX in the example programs? I am using the latest Measurement Studio 6 and VISTA OS.

    Can someone help me with getting controls to work with Visual basic 6 in an Vista environment?  I cannot get the examples to work that use the CWDAQ.OCX control.  I did a search on my computer and the file is not even there.  What functions are in CWDAQ.OCX?  Is there a descriptions of what functions are included in this control and other controls?  It is not obvious where to find these descriptions. 
    I did install Measurement Studio 6 with all the options for Visual basic 6.
    I am new to programming NI cards with visual basic so any help in getting me started will be greatly appreciated. 
    I need to talk to a PCI-6110 card in visual basic 6.  I would like to preprogrammed the D/A fifos, store to two analog inputs simutaneously, and use some of the digital I/O.  Can someone direct me the direction as to what controls I need to use?
    Thanks in advance for any help or guidance. 
    Tony

    Hi Tony,
    So the reason you can't find the CWDAQ.OCX ActiveX controls in VB 6.0 in Vista is because that is a Tradtional DAQ (legacy) control meant to work with the Traditional DAQ Driver.
    The Tradtional DAQ drivers aren't officially supported in Windows Vista (KnowledgeBase 4FDH4MZN: Traditional NI-DAQ (Legacy) for Windows Vista OS) and so the CWDAQ.OCX controls don't get installed.
    However, the good news is that the PCI 6110 is a newer card that uses our newer driver, NI-DAQmx. DAQmx is supported in Vista and you can communicate to your card from VB 6.0 using DAQmx in Vista.
    There are several examples that show you how to communicate using DAQmx in VB 6.0.
    These can be found in:
    <Users>\Public\Documents\National Instruments\NI-DAQ\Examples
    This is also mentioned in the following Knowledgebase article:
    KnowledgeBase 47CCSQ5B: NI-DAQmx, NI-VISA and NI-488.2 .NET Example Locations
    Also, the DAQmx functions are documented in the following locations:
    Start»Programs»National Instruments»NI-DAQ»NI-DAQmx C API Visual Basic 6.0 Help
    Start»Programs»National Instruments»NI-DAQ»NI-DAQmx C Reference Help
    Hope this helps!!
    Message Edited by Jervin_J on 06-05-2008 02:58 PM
    Jervin Justin
    NI TestStand Product Manager

  • Problems with cwStats (MS 6) after evaluating Measurement Studio 7

    I have the Full version of Measurement Studio 6 installed on my development machine. I recently installed Measurement Studio 7 to begin migrating our application to .NET. While recently doing some upgrade work on our VB6 project I started receiving an error when using the "full" capabilities of the cwStats control. It basically tells me that I do not have a license for the "full" version. I have installed the latest updates for MS6 but am still having the problem. Is this a known issue and is there a workaround?

    Hello,
    With Measurement Studio 7.0 we shipped a utility called ActiveX License Fixer. This was due to this known issue that the license of a released 6.0 will go into evaluation mode for 30 days if someone installs 7.0 released over the controls.
    You should run this utility from the Measurement Studio 7.0 CD (it has a readme) and it will fix everything up for you.
    Regards,
    Jeff
    NI

  • Measuremen​t Studio ActiveX graph control vs LabWindows graph control

    Hello,
    we are redesigning our software and in this context we are deliberating whether to replace the LabWindows CVI graph controls with the Measuremnt Studio ActiveX graph control in our software. Can we be sure that the ActiveX Graph control provides the same functions as the LabWindows CVI grahp control? We are using almost everthing of the graph control. Is there any documentation about the differences?
    The other question for us is: is the ActiveX graph control just as performant as the LabWindows CVI graph control?
    Thanks for reply
    InoSw

    Now I understand. In that case, the MStudio ActiveX control probably will work better for you. We don't have any side-by-side comparisons of the graph controls, but I can tell you that the ActiveX graph does support Cursors and I am not aware of any specific limitations to the ActiveX graph compared to the CVI graph. We also do not have documentation for those controls online, so you will have to install Measurement Studio in order to view the help for those controls.
    When I said that MStudio is now targeting .NET, I mean that Measurement Studio no longer supports VB 6 or C++ MFC and only supports .NET. This may change in the future as technologies change, but for now the focus is on .NET support. Primarily C# and VB .NET. You can use the Measurement Studio .NET class libraries in Managed C++, but you will not have assistance from Measurement Studio's Visual Studio integration features. Also, all the help and support resources are for C# and VB .NET, so there are no examples or code snippets to help you get started. Even though Measurement Studio for C++ MFC is now legacy, you will likely have a better expereince with unmanaged C++ than Managed C++. However, I have never worked with QT before, so I cannot comment on that.
    National Instruments
    Product Support Engineer

  • I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1

    I am using IMAQ vision for Measurement Studio, Ver6.0 with Measurement Studio Base Package,Ver6.0(Professional Edition).Can I work in IMAQ Vision for Measurement studio, Ver6.0 If I upgrade Measurement studio to Enterprise Edition,ver8.0.1
    Thanks
    Biswajit

    Howdy Biswajit,
    The IMAQ and Vision ActiveX controls you are using with Visual Basic 6 do not install with Measurement Studio. They are installed when you install the IMAQ software and include support for Visual Studio 6. Upgrading to Measurement Studio 8.0.1 will have no effect on your IMAQ controls since they are not related to one another. Purchasing Measurement Studio Professional or Enterprise packages allows you Visual Studio 6 support for other ActiveX components. Refer to this link for a list of ActiveX components included in those packages. 
    If you are asking about using the ActiveX controls in .NET, then take a look at this KnowledgeBase entitled Do NI-IMAQ and NI Vision Support Microsoft Visual Studio .NET?
    Hope this clarifies things!
    Best Regards,
    Jonathan N.
    National Instruments

  • DOES YOUR MEASUREMENT STUDIO CAN WORK WITH DELPHI VERSION 4 FROM BORLAND ?

    PUEDE EL SOFTWARE DE MEASUREMENT STUDIO TRABAJAR CON ALGUNA VERSION DE DELPHI DE LA BORLAND >

    Hola Alsinore
                         National Instruments desarrolla herramientas para funcionar  de manera plena en  LabVIEW, CVI, Visual C++, y Visual Basic.  Los controles y herramientas ActiveX de Borland no son soportados (con toda su funcionalidad) en Measurement Studio , pero los objetos como tales si, es decir que  SI lo puedes usar pero no esta garantizada su funcionalidad.
    Espero que esto haya aclarado tu duda
    y estoy a tus ordenes para cualquier otra cosa que necesites.
    Saludos   
    Erwin Franz R.

  • Can I acquire data with VB from my DAQCard without using Measurment Studio?

    I have the Measurement and Automation Software on my computer and VisualBasic.NET. Do I need any other software if I am receiving 2 analog signals and outputing 1 analog signal on my NI DAQCard-6024E PCMCIA?

    The short answer is yes, you can acquire data with VB.NET from your DAQCard without using Measurement Studio.
    There are a variety of ways to do it. All of them require that you install either the Traditional DAQ driver or the DAQmx driver in addition to Measurement and Automation Explorer. The DAQ drivers are included on a CD or CDs with your hardware. They are also available on the quarterly National Instruments Device Driver CD.
    1) You can use the Measurement Studio DAQmx .NET API. This is far and away the easiest API to use to program DAQ cards in VB.NET and C#. This API is included in the DAQ installer and does not require you to purchase Measurement Studio. However, without Measurement Studio you do not get the benefit of the DAQ Assistant integrated into Visual Studio .NET. The DAQ Assistant, when integrated into Visual Studio .NET, allows you to graphically configure your DAQ tasks, generates the code you need to configure your tasks, and generates a .NET user control (with user interface) that demonstrates how you use the tasks that you created. The caveat to this approach is that PCMCIA cards are not directly supported under DAQmx 7.0. There is, however, a beta versin of DAQmx PCMCIA support as described in this KB article.
    2) You can use the .NET P/Invoke services to call the Traditional DAQ or DAQmx C API directly. See MSDN for more information about P/Invoke. If you choose the DAQmx API, you will need to install the beta of the PCMCIA support as described in this KB article. National Instruments does not provide any examples, language-specific documentation, or code generation for this method. You'll need to look at the C API documentation to see what to do.
    3) You can use the Measurement Studio Traditional DAQ ActiveX controls. These are included in the DAQ installer and do not require you to purchase Measurement Studio.
    The absolute quickest and easiest way to get started using an NI-DAQ card in VB.NET is through the DAQ Assistant and Measurement Studio Professional or Enterprise edition.
    Your next best approach is to use the native .NET DAQmx API. This API was designed from the ground up to support .NET languages. There are examples written in VB.NET to help you get started.
    If for some reason, you don't want to use the native .NET API (or your hardware is not supported under DAQmx), whether you use P/Invoke or the ActiveX controls is a toss-up. It depends mostly on whether you are already familiar with the C API or the ActiveX API.
    David Rohacek
    National Instruments

  • I would like to know how to transform an API C++ application in MFC C++ application to use the measurement studio components or Labwindows CVI

    I don t know the way used to transform a C++ with API program in an MFC application using measurement studio or Labwindows CVI.
    Thank you for you help.

    You can use the Measurement Studio Add/Remove Components Wizard to add Measurement Studio components to your C++ application. For more information, see the "Adding and Removing Components from Measurement Studio Projects Using a Wizard" topic in the Measurement Studio reference. You can find it in the table of contents under:
    Visual C++ Help
    Tutorials
    Measurement Studio for Visual C++ 6.0
    If you're using the Measurement Studio update for Visual C++ .NET, this topic will be under:
    Visual C++ Help
    Tutorials
    Measurement Studio for Visual C++ .NET
    - Elton

Maybe you are looking for