Web of LabVIEW Server ActiveX controls

I'm developing an application that needs to display the video in its interface.  I use the Windows Media Player for this ActiveX control.

This works correctly when the application is run since in LabVIEW - I can tell the command to open a file, and he plays with happiness.

However, my application must run from a web page.  I use the built-in web server of LabVIEW.  Problem is, while any other control/indicator works fine, the Media Player control.  It appears, but it neither charges nor plays the files when they are requested.

What this kind of abuse in ActiveX-ActiveX simply not taken in charge, or I do something wrong?  Is there another way to view media (JPEG and MPEG), or another way to manage the VI of a web page, which could work around the problem?

LabVIEW 8.2, Win XP SP2, WMP 10.

Thank you

To answer your questions:

(1) hosting an ActiveX control in a façade that is displayed as a remote façade is not supported.

(2) there is no other mechanism to control a VI from in a web page working around this problem and display.

What you're trying to do is by nature very complicated. You can approach the problem is to embed the video in the web page separated from the face before of the VI. This would make it difficult to have control of VI the video but it would make it possible to display the video on the page. The video could be simply uploaded to the web server of the 8.2 or the 8.6 it can be released from a web service VI.

Another alternative is to use the IMAQ vision control. This works well on distance signs and there are screws to read the data of image files avi. With a good card WLAN, this control can be a framerate of 10-15 fps. It will help with audio if this is a requirement.

Sorry I don't have a quick fix for you. Let me know what you decide to do - it is an interesting problem.

Nathan

Tags: NI Software

Similar Questions

  • Help with Windows XP. Your security settings do not Web sites to use ActiveX controls installed on your computer.

    Original title: help with Windows XP.

    I have a laptop with Windows XP. When I try to go on homepage e-mail he says I have no internet connection, even if I do. Also, I can't run windows update. A pop up as my security settings will not allow active x but don't give me any option to change as I've seen it before. I tried everything I can think of.

    Hi SteveKey,

    ·         You use Internet Explorer to access these sites?

    ·         If so, which version?

    Method 1: Run automated troubleshooting and check if it helps.

    Improve performance and security in Internet Explorer

    Method 2: Check to see if the following is useful.

    a. open Internet Explorer.

    b. Select tools, then Internet Options in the menu at the top of the Internet Explorer window. The Internet Options window opens.

    c. Select security from the list of tabs at the top of the Internet Options window. The Security tab appears.

    d. click on the custom level button. The security settings window opens.

    e. scroll down to download signed ActiveX controls entry and select the quick option.

    f. scroll down to Run ActiveX controls and plugins entry and select the active radio button.

    g. Select the OK button to accept the changes. You may have to restart Internet Explorer for the settings to take effect.

    Method 3: You can try to optimize Internet Explorer and see if it makes a difference. Follow steps 2, 3 and 4 of this article.

    Internet Explorer is slow? 5 things to try

  • VB6 activex control does not not in labview 8.5

    I am currently trying to get out of VB6 and Laview for some applications to test automated for secondary (rechargeable) batteries.

    We use Texas Instruments fuel gauges to my business and communication with them requires an EV2300 USB box.  I have the drivers installed for the box, and it works without problem in VB6.  I need to get Labview to talk to the box in the same way.

    I use 8.5 at the moment, and I thought that I had the good idea to use the BQ80xRW.dll file that is already installed on my machines to VB6 application.  The only problem is that I don't have the source code of the DLL, only the dll and ocx in my win32 directory files.  Here's what I did:

    (1) import the activeX control to palette (bq80xRW.dll)

    (2) place the bq80xRW on my VI activex control

    (3) place call nodes for the functions I want to test (GetFreeBoards--> OpenDevice--> ReadSMBWord)

    (4) to include nodes with appropriate controls (integers, strings, etc.)

    (5) run the VI

    I've included the VI I developed with this post.  Nword must, in my view, be on 16 while Cmd should be set to 1 c (to read the serial number of the part)

    When I run the program, while the USB module is connected, the GetFreeBoards node returns the following string:

    \\?\usb#vid_0451&pid_0035#5&1c93b2c6&0&2#{8eb0fa22-a67c-4a27-9913-df9ab307d886},

    If I run the program without the attached USB module, the string is empty.  Without spaces or characters at all.

    If the activeX control is something.  It's just not what I want it.  And since I don't have the source code of the dll, I don't know why.

    This big long string starting with \\?\usb is the name of the Board of Directors.  Get rid of the trailing comma and passing under the name of your Board of Directors in opendevice().

  • LabVIEW Touch Panel Module | ActiveX controls | Windows CE

    Hello

    I am trying to determine if it is possible to use with the LabVIEW Touch Panel Module ActiveX controls.

    There is no ActiveX container on the pallet in the Touch Panel Module and I can't find any mention of ActiveX controls in the manual of touch panel.  So, I'm gathering that ActiveX is NOT supported on LabVIEW Touch Panel running on Windows Embedded CE.

    Can anyone confirm if the ActiveX controls are supported on the LabVIEW Touch Panel Module?

    Thank you

    Steve

    Hi, unfortunately they are not (see this link). For more information, see the Manualand the listof the supported features.

  • Control of canoe of unit tests in LabVIEW on ActiveX

    Hello

    I want to run the unit tests of canoe in LabVIEW using ActiveX.

    EnvVars and sysVars in canoe handling was not a big deal, and there are plenty of examples here.

    But the unit tests of handling is quite difficult. Canoe help file shows this way in the object hierarchy:

    I solved the problem with the help of vector Support. They sent me the following c# example:

                MApp CANoe.Application = new CANoe.Application ();
    CANoe.Configuration mConf = (CANoe.Configuration) mApp.Configuration;
    CANoe.TestSetup mTestSetup = (CANoe.TestSetup) mConf.TestSetup; Test settings window
    CANoe.TestEnvironments mTestEnvs = (CANoe.TestEnvironments) mTestSetup.TestEnvironments;
    CANoe.TestEnvironment mTestEnv = (CANoe.TestEnvironment) mTestEnvs [1]; Test environment (file *.tse)
    Console.WriteLine ("Name" + mTestEnv.Name);

    CANoe.TestSetupFolders mTestSetupFolders = (CANoe.TestSetupFolders) mTestEnv.Folders;
    CANoe.TSTestModule mTSTestmodule = (CANoe.TSTestModule) mTestEnv.TestModules [1];
    Console.WriteLine ("Name" + mTSTestmodule.Name);

    CANoe.TestSequence mTestSequence = (CANoe.TestSequence) mTSTestmodule.Sequence;
    Console.WriteLine ("Count TestSequence" + mTestSequence.Count);
    CANoe.TestCase mTestCase = (CANoe.TestCase) mTestSequence [1];
    Console.WriteLine ("Name of Testcase" + mTestCase.Name);
    mTestCase.Enabled = false; disable the unit test - XML and structured NET only module.

    CANoe.TestReport mTestReport = (CANoe.TestReport) mTSTestmodule.Report; Access to the report

    CANoe.Measurement mMeasurement = (CANoe.Measurement) mApp.Measurement;
    If (! mMeasurement.Running)
    mMeasurement.Start ();

    mTSTestmodule.Start ();

    I realized that you can cast the ActiveX object references to another class of the child in the following way:

    It was the right solution and I want to share with you.

  • ActiveX controls

    I get this message pop up Internet Explorer for each Web page, I'm going to: do you want to allow software such as ActiveX controls and Plug-Ins to run?  If I click on no, my computer still right on the same page. I recently downloaded Adobe Flash Player so I can play Bejewled Blitz on Facebook and that's where the problem seemed to start.

    Hello
     
    ActiveX controls are small programs, sometimes also referred to as "Add-ons", that are used on the Internet. They can improve your browsing experience by allowing animation or they can help with tasks such as the installation of the updates from Microsoft Update security.
     
    Some Web sites require you to install ActiveX controls to view the site or perform certain tasks in this regard. When you visit one of these sites, Internet Explorer asks if you want to install the ActiveX control.
     
    If the name (Name.dll) ActiveX control is not added to the list of controls pre-approved in Internet Explorer 7. The prompt to install the same thing happens.
     
    Here are some links to that for more information related to the same please refer:
     
     
     
    Message in the information bar in Internet Explorer 7 when you browse a Windows SharePoint Services 3.0 site or to a SharePoint Server 2007 site: "the Web site wants to run the following add-on:"Name ActiveX Control"
     
     
    If the method above has not fixed the problem and you have tried all possible methods to resolve the problem without success I suggest trying to perform an optimization of Internet Explorer on your computer and check for the issue.
     
    How to optimize Internet Explorer
     
    http://support.Microsoft.com/default.aspx/KB/936213
     
    Warning: him reset Internet Explorer settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings
     
    Thank you, and in what concerns:
    I. Suuresh Kumar-Microsoft Support.
    Visit our Microsoft answers feedback Forumand let us know what you think.
  • ActiveX Control of Notepad ++

    Dear community OR,.

    I have a small question.

    I would like to play a bit with Notepad ++ ActiveX, and I wonder if it is possible to use it as within the VI ActiveX control. I have installed and registered Notepad ++ ActiveX plugin, but I can't find an instance of this class through ActiveX container.

    Has anyone worked with him, please? Maybe, someone know solution, how to integrate it on the front VI?

    Thank you very much in advance!

    Sam_Sharp wrote:

    Notepad ++ actually there an ActiveX control, or is it just an ActiveX programming interface? If it's just the last, then there is nothing to put in an ActiveX container.

    I assume that this is only an ActivX Interface?

    -Notepad ++ 6.8.8

    -Plugin ActivX 1.1.7.3

    -2015 LabView

    After the installation, open a new vi and press ctrl + shift + b to open the class browser

    the default value is the server of VI

    you will need to change this to ActivX > SELECT LIBRARY

    I guess that the library Notepadd ++ is 'NppActiveXPluginTypLib Version 1.0 '.

  • ActiveX control problem

    When I Generate primary layout and display the results I get my project in a browser (IE7) and a message telling me that IE has limited the Web page to run scripts or ActiveX controls. I need to allow blocked content to see my finished properly.

    I use the skin BeautifulVistas-WH-generic, but I don't see that until I Allow Blocked Content. Before that, I see a more generic-looking skin. All add-ins are enabled and my security settings are set to the lowest. How can I avoid this?

    Looks like you're displaying webhelp locally without the inserted Web brand. It won't happen to end users that they will consider using a server.

    You can either add MOTW or set IE to allow the blocked content if you want to view locally.

  • Using ActiveX controls to the old user interface

    I tried to build a User Interface for TestStand 4.1.1 using LabView 8.6.1 (on Windows XP)

    However, ActiveX controls keep showing in the old non - 3d "block" style.

    This seems to be a problem when you build a new exe. If you use the included UI (Full Featured) in TestStand it appears correctly.

    I was able to replacte this problem on two other development systems (a new windows XP, LabVIEW 8.6.1 & TestStand 4.1.1 install).

    (1) take a copy of the full-functional UI of LabVIEW.

    (2) open the project file

    (3) rebuild the exe file

    It's only a problem when you use the exe file. When you run from the LabVIEW development system it looks good.

    Hi Simon,.

    For your UI to take on XP
    Theme controls, you will need to place a manifest file that specifies the activex control topics in the same
    directory as your executable file. TestStand comes with a manifest file for
    INTERFACE c# you can also use for the UI of LabVIEW. Just go to the \User Interfaces\Simple\CSharp and copy the file TestExec.exe.manifest in the directory of the LabVIEW User Interface executables.

    Note that the manifest file must have the same name as your executable file LabVIEW UI. For example, if you name your user interface, "MyCustomTSUI.exe", you will need to name the manifest file 'MyCustomTSUI.exe.manifest '.

    Please let me know if this solves your problem or if you have other questions. Thank you!

  • Problem of event reminder of the registry with Linkam ActiveX controls

    Hello

    I have a problem in configuration reference VI to interface with Linkam ActiveX control with an event callback function to register. I created a VI strictly typed with re-entrant execution, with all the correct connectors, as shown in the picture below, but LabView complains of a broken wire. The only difference between the input and the output seems to be that the result stands as an asynchronous function, and the entrance wants (synchronous) normal function? I can't find any option to make my VI reference become synchronous. Does anyone have any suggestions as to what to try next? Thank you very much

    Davide

    Hello

    Make a right-click on the terminal 'Ref VI' choose 'create the callback VI '.

    Do not try to build it yourself, it never works. :-)

  • Thorlabs Piezo controls - manually ActiveX control

    Hello

    I use T - Cube Piezos Thorlabs for Nanomax stage - TS, I control through LabVIEW. I managed to connect the piezo controls in the program and it works well, but I'm for the accomplishment of the piezo through a slider or an automated outside of the ActiveX control. But I ran in trouble, I can't control the piezos otherwise than through the activex container. Any ideas? Joined the .vi

    UPDATE: no response from Thorlabs but I realized my mistake, the while loop was iterations too quickly so when the cursor is moved to the entry has been reset every time it loop. Put a minor delay (~0.01 s) and it works beautifully.

  • The 'Excel.FormatCondition' activeX control class opening

    I am using activeX controls for excellent including the classes Excel._Application, Excel._Workbook and Excel._Worksheet. I used an open refnum of automation of opening of the application class, then I used nodes of property to join the workbook and worksheet classes. Now, I want to use the Excel.FormatCondition class. I couldn't go to class with nodes and its methods, so I use a refnum automation open as before, but I get "Error 3005 occurred at the opening of Automation".

    I found another post with advice to record the commands, but I read that the excel activeX controls need not to be recorded - they work under windows.

    If I do not need to record something, I don't ' know not what. I'm using LabVIEW 8.6 and Office 2007.

    Andrew

    This is not true. As I mentioned in another threadas an example, you get out of the status of the format of the collection after you have added using the Item method. In Excel 2003, which returns a FormatCondition type directly. In Excel 2007, it returns a variant. Therefore, you can use the variant data between the FormatConditions.Item () method and the FormatCondition.Interior property, as I showed in response No. 14, to convert the variant to a FormatCondition type.

  • Windows Media Player ActiveX control causes memory leak

    I'm writing an application that will load and play *.avi files in an ActiveX control. The user must be able to load multiple files consecutively in the single player mode. However, it seems to be the memory leak every time that a file is loaded, even if it's the same file. For example, even when you load a small file in *.avi 81KO repeatedly, there is a memory leak ~ 6Mo coherent (as observed in the Manager of tasks). The leak memory is greater when I load larger files.

    I tried to deny it by adding using a Method Close by using the node invoke. It gets about 3 MB of RAM, but when I load the file again, it leaks ~ 9MB, leaving a net leak of ~ 6Mo once again.

    I also used reference close vi (s) to clear the memory ActiveX object, but that did not help either. In other versions of VI, I tried to eliminate the creation of a new IWMPlayer4 object using a shift register, but once again the leak memory persevered...

    It's a simple version of the VI, as well as the small video file attached. In my application, I want to be able to load large video files (~ 600 MB) several times without memory leaks. Thank you in advance for your help!

    -gpho

    Hi jareds.

    Thanks again for test it for me. I use Windows 7 and WMP version 12.

    As you requested, I tested it on a computer with Windows XP and WMP version 9 (and LabVIEW 8.2.1) and the problem of memory has disappeared. I then installed WMP version 11 on the same computer: still no memory problem.

    On the Windows 7 computer, I went back to version 11 using the instructions found on this link, and the problem of memory has disappeared. It seems that memory leak is due to a problem with WMP version 12 (although degraded version 11 on windows 7 has some bugs - and you can't go back to v12).

    Thanks again for the help!

    -gpho

  • Several Media Player ActiveX controls

    I have a system that displays video files 'live' and those historical at the request of the user. To do this, I use the Windows Media Player ActiveX controls.

    The 'live' (not really streaming, just a new video file all few seconds) display is part of my main façade, while the historical files play in a pop-up (also a VI) when the user requests them.

    Control 'live' works very well until a historic video is required and the pop-up appears. As soon as the second WMP ActiveX control appears on the screen, two of them ceases to display the video!

    They try - when either one of them has to play a file, "playing...". "appears in the status bar and reading progressive count time - but there is no video.

    The problem persists even after the closure of the pop-up window.

    No idea how to solve this problem?

    I push the files for the ActiveX control by first calling "newMedia" in an Invoke node, then put the reference that in the property 'currentMedia' of a property node. What is the right way to do it?

    (LabVIEW 8.2, WMP 10, WinXP SP2)

    Thank you!

    Hi Ian,

    I had a glance on this issue and I am unable to reproduce your problem.

    It is possible that the problem is due to a codec problem, what format are the video files? They use standard codecs?

    I built a program example runs a video the main vi and appears a second video when you press a button.

    If you change constants for path of file for videos that you use and test them using the sample program this will eliminate video formats as a problem.

    I structured the ActiveX interface slightly differantly to how you described, nor your problem however re-created method.

    Have a play with the sample program and let me know what happens.

    Best regards

    John Porter

    Technical sales engineer
    National Instruments UK

  • How to find the references to the ActiveX control

    Is it possible to determine where an activex control is used in a labview project?  I have a moderately important project who have used a combination of ad-hoc XML parsers, including the parser XML ActiveX for Microsoft (MSXML).  I am trying to replace all occurrences of MSXML with of builtin labview VI XML or our own DLL calls that make more complicated sequences of calls to XML-Xerces/Xalan libraries.  I want to assure you that I replaced all references to the MSXML parser without having to inspect all the VI in the project.  I was hoping that I could right-click on a function block "Automation Open" and select the option "Find all Instances", but apparently it is not available because it is for a VI I created.  In addition, I was hoping that if I went to the Project Explorer, it would show that the msxml.dll file was listed as a dependency where I could do a 'find Caller' as a regular dll referenced via a "call library function node".  Does anyone have a suggestion on how I can automate this search?

    Thank you.

    'Find all Instances' is only available for the screws that you create, but you can always find the function of automation opening in your project. Just open your project and open a VI. Then select Edit-> find and replace. In this dialog box, you can search for specific functions throughout the project.

Maybe you are looking for