Labview remote control

Hi all,
I'm looking a general way to control remotely a LV (or LVRT) program
using a C++ (or similar) software like I can do with the webserver.
Someone could help me with explications and examples?
Thank you in advance,
Alessandro

I don't think there is a way to do this directly (without using Internet Explorer), but one way that might work in theory is to send the remote front panel object to Internet Explorer as you normally would and then write code to access those Internet Explorer objects in the other environment. Again, this has not been tested but should work in theory.

Similar Messages

  • Labview remote control and data transcation

    Hi,
    We have a complicated timing control system written in labview
    6.1 running on our lab PC-1.  Since it is not easy to upgrade to a most
    recent version and limited PCI-slots, and we need to add a few device
    control programs (written in C++ or updated labview), we are thinking of
    an ultimate control system with two PCs and let the old timing program
    be a "slave" of "master" computer PC-2.  OS for both PCs are windows XP.
    The communication between the two PCs are
    fairly straight forward: suppose on PC-1, the program breaks into two
    parts: part A and part B. PC-2 sends selection messages to PC-1 to
    determine which part needs to be running during a particular shot. It is
    true that to our best interest we might need  PC-2 to send data to
    PC-1, in case for a particular run we have to change some data values of
    timing program. 
    The problem might appears to be a piece
    of cake to you experts. It is worth mentioning that on PC-1, any
    changes made to the timing program is nontrivial due to its structual
    complexity. The program is DAQ based (finite) pattern generation (using a
    lot of PCI 6534/PCI 6713/counters, external clocking). 
    The
    reqiurement for speed is not high. PC-2 can in general wait for 1
    second before PC-1 receives a message and start to output.   On the
    other hand, the smaller the delay, the better. 
    We have
    considered a few communication options like TCP/IP, RS232 ports, etc. 
    But before we start implementing the changes, we would really appreciate
    your suggestions/comments! 
    Thanks very much in advance
    for your time! 
    Kunyan

    Kunyan,
    there are really several different ways to solve this. The major question is: Is this a handshake protocol or simple "notifications"?
    If it's simple notifications, things are getting quite easy.
    You can use TCP/UDP/DataSocket/STM if there is a network connection between both PCs. Otherwise, RS232 might be a good idea as well for sure.... but i suggest a network technology in order to reduce delays.
    STM is a protocol built up on TCP and even if you do not use it (it is not available for LV 6.1!), it might get you some ideas about defining a custom protocol.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • I am a newer about LabVIEW.How can I realize a remote control in a Web brower.

    "To transform your application into a remote laboratory, make sure the VI that you want to publish is loaded into LabVIEW memory. Next, select the Web Publishing Tool option from the Tools menu. This window is the main window for interactively creating and publishing your remote laboratory
    The Web publishing tool will automatically load in the Document Title and VI Name text fields. As the sample image in Figure 6 illustrates, the Document Title, Text 1, and Text 2 are all text fields that you can use to customize the Web page created with the publishing tool.
    The second step necessary to enable a remote laboratory is to select the Start Web Server button. When pressed, this button activates the built-in LabVIEW Web server, which will publish and control your front panel images from the Internet.
    Once the Web server is activated, the actual HTML document needs to be created and saved so it can be accessed remotely. Clicking on Save to Disk places an HTML file called Document Title.htm into the LabVIEW file folder called WWW by default. Saving your Remote Panels HTML documents into this folder will ensure that the LabVIEW Web server can find them. Either keep the default name, or assign a new name and save the file. Once saved, a new panel entitled Document URL pops up with a message box containing the URL address of your enabled LabVIEW application.
    Click on OK in the Document URL window and then click on Done in the Web Publishing Tool window. Your lab is now ready for remote visitors
    Required Software
    To operate a LabVIEW program using remote panels, it is necessary to have the free LabVIEW run-time engine installed on the client computer. When a remote viewer logs onto the lab with the appropriate URL address, the LabVIEW front panel will appear in the browser, or reroute the user to install the run-time engine from the National Instruments Web site.
    Application Control
    Once connected to the remote laboratory, the client connection will automatically be in a monitor state. If another client is controlling the remote laboratory, the user will be able to monitor the actions of the controlling client. To request control of the program, right click on the front panel and select Request Control. Once selected, one of two possible messages will appear. Either the user will be granted control (Control Granted), or the user will see a message indicating that control is currently granted to another user (Waiting for control: Either the server is locked or another client has control). If another client has control, the controlling client will be notified that control time has now become limited. Once the timeout occurs or the controlling client has released control, application control is automatically switched to the requesting client (Control Granted). Once the user has been granted control, all icons and controls will become active and running the LabVIEW application is exactly like running the application from the local environment.
    Releasing Control
    When the remote viewer either moves on to a different URL address or relinquishes control by right clicking and selecting (Release Control), or when the remote laboratory times out, the remote laboratory is available to the next visitor."
    The above is what I read from a text of ni.com,
    but I can not obtain the result.
    Thanks a lot!
    ^^

    Hi
    I don't see which LV version you are using. It's important to know, that you need the FDS or PDS package of LV 6.1 to work with remote control. This feature is not supported in the LV base package of LV 6.1.
    If you have LV 6.1 FDS or PDS, which of the described steps are not working?
    Luca P.
    Regards,
    Luca

  • "Remotely Control LabVIEW Over the Web "in LabView 6.0

    Hello,
    is it possible that I realize "Remotely Control LabView Over the Web" in
    LabView6.0 ?
    Thanks a lot!

    The LabVIEW Remote Panels feature was added with version 6.1. If you have not done so, I highly recommend the upgrade!
    Daniel L. Press
    PrimeTest Corp.
    www.primetest.com

  • Where can i get any information about the application of labview on remote control??

    Where can i get any information about the application of labview on remote control??for example using labview to build a virtual laboratory.

    This is a big question. Contact me directly and we can discuss in detail what you are trying to accomplish.
    Mike...
    [email protected]
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Spellman power supply SL40PN2000 remote control using Labview

    We have a SL40PN2000 Spellman power supply. We want to do remote programming using Labview program.
    We want to control the voltage output. 
    Many thanks for your help.

    You need to first determine the remote control interface. Is it GPIB, RS-232, Ethernet, USB, etc.? In the case of GPIB, you would need to purchase a GPIB controller.
    There is not an existing instrument driver but you can review the information here on what a driver is and how to devleop one.

  • Can a remote control circuit(Tx​/Rx cct) be controlled by labView when connected to NI Elvis II?

    Hi, i am trying to control a Tx/Rx circuit by labview by controlling the inputs of the address lines from labview using NI Elvis II, is it possible?

    Hi
    I don't see which LV version you are using. It's important to know, that you need the FDS or PDS package of LV 6.1 to work with remote control. This feature is not supported in the LV base package of LV 6.1.
    If you have LV 6.1 FDS or PDS, which of the described steps are not working?
    Luca P.
    Regards,
    Luca

  • System design for remote control

    I just wonder which tech of ni I should use.
    My system is one data center and some remote DAQ site. The communication is through WAN.
    It need to
    - start stop and schedule DAQ card from remote data center
    - send realtime data back for display
    - report the DAQ running status, such as online.
    - send history data from site pc to center database 
    there are many choice, such as tcp/ip, data socket server, shared varible, remote panel, remote vi server, web server.
    May I know which one is more fit for the application?
    Thanks a lot.

    krishh wrote:
    Hi all,
    I am very new to Labview, but I have to deal with somewhat difficult problem of remotely controlling the Laser in next room. The PC I will be using has already built labview software to control the laser if laser is closeby. But the laser is next door (~200-300 feet), and the PC which controls the laser also have the labview software to control the laser. Please suggest me how should I start communicating from my first PC to the laser (may be using the laser labview software or not). To start with I would be glad to find some reads or demonstrative examples or any suggestion which will head me to right direction.
    I hope for great help.
    Regards
    Krish
    It would probably be a good idea to start a new message on this rather than continue in this message thread.  It seems to be a different situation you are asking about then what the original poster was doing.
    How does the PC communicate with the laser if it is close by?  Is it a serial connection? ethernet connection?  GPIB?  something else.  If it is serial, is it RS-232, RS-485, USB?   200-300 feet is too far for an RS-232 or USB connection.  But there are numerous products on the market that will adapt those serial protocols to either an RS-485 wiring setup, or put it out over an ethernet connection.  So you can go RS-232 to RS-485 on one end.  RS-485 goes to 4000 feet (depending on baud rate).  Then on the other end another adapter converts it back to RS-232.  I have also used a remote USB hub that connects to a LAN connection, and with driver software installed on the PC, it turns that remote connection into virtual serial port connections.
    These are good devices that have worked for me.  But if they would work for you all depends on how the PC connects to the laser now.

  • Remote control using DCOM: Error: "ActiveX component cannot be created."

    Hello,
    I want to address a OMICRON CPC100 device via remote control. I have a dll ("TESTCONTROL.dll"), which provides methods to control the CPC100. In order to encapsulate this functionality, I've written a VB.NET-dll ("CLC_CL_for_Net.dll") (it's a class-dll) which calls methods of TESTCONTROL.dll. Now I want to use CLC_CL_for_Net.dll in LabVIEW.
    Here's the code of CLC_CL_for_Net.dll:
    Imports TESTCONTROLLib
    Namespace MyCPCNamespace
        Public Class CPCClass
            Public Sub New()
            End Sub
            Public Sub testfunction(ByVal ipaddress As String)
                Dim tc As TestProcedure
                Dim atm As IATMTest
                tc = CreateObject("TestControl.TestProcedure", ipaddress)   '<-- here the error occurs!
                atm = CreateObject("TestControl.ATMTest", ipaddress)
                atm.Activate(300, 10, 1)
                atm.Deactivate()
            End Sub
        End Class
    End Namespace
    In order to enable DCOM on my computer, I did the following:
    - I switched the firewall off.
    - I started "dcomcnfg.exe", chose "Component Services/Computers/My Computer -> Properties" and checked the checkbox "Enable Distributed COM on this computer".
    - I also chose the tab "My Computer Properties/COM Security" and allowed everyone full access and launch
    permissions.
    - I created an exe-file from my LabVIEW VI, which uses the dll, with the help of the LabVIEW Application Builder.
    For this exe-file and also for the TESTCONTROL, I set the authentication level to "None".
    For test purposes, I used my dll in a C++ project. There everything works fine. However, when I try to use the dll
    in LabVIEW (using LabVIEW's .NET constructor node and method node, which you can find under Connectivity -> .NET), the program fails at the line "tc = CreateObject("TestControl.TestProcedure", ipAddress)".
    Here the error message displayed by LabVIEW (I translated it from German into English):
    "Error 1172 has occurred at Error calling method CLC_CL_for_Net.MyCPCNamespace.CPCClass.testfunction of ObjectId
    handle: 0x2BB117C for obj 0x3F19E1D[CLC_CL_for_Net.MyCPCNamespace.CPCClass] in domain [LabVIEW Domain for Run] and
    thread 3792, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
     Inner Exception: System.Exception: The ActiveX component cannot be created.
    ) in CPC100_RemoteControlVI.vi"
    As the dll works when I use it in the C++ project, I don't understand why this error occurs when I use the dll in
    LabVIEW. Do I have to give LabVIEW any special permissions?
    Can anyone help me to solve this problem? Thanks a lot for your efforts!
    Regards,
    Matthias

    Hi Matthias,
    I am not really familiar with .NET assemblies but I found couple informations on your error :
    First of all, about the Error 1172 in LabVIEW, there is two things to proof:
    Ensure that the .NET assemblies that you are using are saved in the root directory of the top-level VI.
    Add the .NET assembly as a reference in LabVIEW by selecting Tools»Advanced»NET Assembly References. Click the Add button and navigate to the location of all the assemblies that you want to call.
    Those two steps sometimes solve Error 1172 related problems. I also found some information about the "ActiveX component cannot be created" error. A .Net Class library needs to be in a COM wrapper in order for it to be called through COM methods, such as ActiveX. The way to do so is:
    1. Create a new .NET Class Library project.
    2. Remove the Class1.vb that is created.
    3. Click Add Class on your project.
    4. Choose "COM Class", and add it.
    5. Add at least 1 function or sub in it.
    6. Compile it, and Visual Studio should registrer it automaticly.
    If you whish to manuall reg it, or create a registry entry file, use "RegAsm.exe" in the .NET Framework folder.
    I hope this could be any helpful to you
    Regards
    Florian Abry
    Application Engineer Group Leader
    NI Germany

  • LabVIEW Remote Monitoring

    I have a existing LabVIEW application written in 7.1 that I would like to install at a remote site and monitor/control it remotely.  The application is a control system with slow response time, so communication speed isn't a priority.  The system is fairly complicated with about 100 controls and indicators on the front panel based on a state machine architecture. 
    What do you think would be the best approach?  Remote panels (an extra cost w/ v 7.1)?  PC Anywhere?
    Thanks in advance.

    Justin_P wrote:
    Your original question was how to best monitor/control a VI remotely in LabVIEW. 
    Hi Justin,
    Actually my question was: which is the best method to control a VI remotely.  The method of controlling wasn't restricted to using LabVIEW or National Instruments tools.  I just needed the cheapest and easiest way to do it.  Right now I'm leaning towards Remote Desktop protocol.  I've summarized three methods in the attached document: Remote Desktop, VI Server (remote panels), and Web Server.  (Disclaimer: the accuracy of this document has not been verified.  It is just a summary of my understanding so far.) 
    Any comments on the document are appreciated. 
    BIRA_PXI, this may answer your question about the differences between VI Server & Web Server.
    Thanks again for all input.
    Attachments:
    Remote Control Research - for NI discussion forum.doc ‏45 KB

  • LV 6.1, 3D Surface Graph sometimes collapses (doesn't work stably); plus blocks use of remotely controlled panel by LV run-time engine (error #26:"window.cpp", line 11518

    1) "3D Surface Graph" does not work stably; sometimes it changes its properties (e.g. plot style) without me doing anything prior to that; a couple of times it lost a complete sense so that I had to delete the graph and install it again
    2) I tried to remotely run a VI which contains a 3D Surface Graph in it. It turns out, the use of the "3D Surface Graph" somehow blocks the remote control over the panel. As a result of that, I got the following error message: Error #26: "window.cpp", line 11518 (with LabVIEW version 6.1).
    3) Is it possible to plug into the 3D Surface Graph a few plots at
    the same time since there is a built-in control "plot number" (somehow by bundling them up or putting into an array - I tried both but didn't work) or it can be done merely by use of 'case' structure preceding the Graph, where case structure decides which plot to pass into the 3D graph?
    Attachments:
    3D_Graph_ver_1.bmp ‏214 KB

    Hello mjoler,
    Thank you for contacting National Instruments.
    The following example will show you how to plot multiple 3D plots on a single 3D graph. Modeling your VI after the example may also alleviate the instability that you have been experiencing.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CBA19111EE034080020E74861&p_node=DZ52038
    As far as the error you are receiving, it's difficult to say what could be causing this. ActiveX controls embedded on a front panel sometimes do not display on a remote client because they draw and operate almost completely independent of LabVIEW. If possible, try remotely controlling your VI with a client computer that has a complete installation of LabVIEW. The error could also be a bu
    g. Try downloading the evaluation version of LabVIEW 7.0 from http://www.ni.com/labview. By doing this, we can determine if it is a bug in the older version that has been fixed in the latest version.
    Let me know how this goes.
    Matthew C
    Applications Engineer
    National Instruments

  • Remote Control Panel

    Hi,
    I am trying to use the remote control panel. I have already enabled the server manager, browser settings and publish the relevant vi. On another Pc running the web browser with Labview runtime 8.1 installed, I am able to view the vi html page but unable to activate it.
    I have managed to activate the vi in html page on the same machine where the vi has been installed. I am wondering what I have missed out. I believe the host server machine is having a Full Development license and should have allowed for at least one client connection.
    Would this problem be caused by different runtime engine? On the server side, we are running Labview 7.1 while on the client we are running runtime engine 8.1. Would this create any problem?
    Thanks!

    Water,
    Make sure that you close out the browser on the server computer so that another computer can attain control of the VI.  When you right-click on the VI in the browser on the client computer, is Request Control even an option, or does it produce an error when you select it?  I do not think the version mismatch should be a problem, especially since you are able to view the VI on the client computer, but it wouldn't hurt to install the LabVIEW 7.1 Run-Time engine, which can be found here.  Hope this helps!
    Brian T
    Applications Engineer

  • Remote control time constraint

    Hi. How can i limit the time for certain user to control my vi panel remotely. For example, i would like to limit every user to control the panel for only 15 minutes each. I have followed the instructions in the help in labview, that is by selecting the vi file i want and set the time constraint. However, it doesn't work. Could you please give me some advise on solving this issue? Thank you in advance.
    regards,
    chea tian

    cheatian wrote:
    Hi. How can i limit the time for certain user to control my vi panel remotely. For example, i would like to limit every user to control the panel for only 15 minutes each. I have followed the instructions in the help in labview, that is by selecting the vi file i want and set the time constraint. However, it doesn't work. Could you please give me some advise on solving this issue? Thank you in advance.
    regards,
    chea tian
    Hi Brett,
    First of all, thank you for responding to my enquiry. Yes, I have selected Tools>>Options>>Web Server: Visible Vis and then select my vi file and set the time limit to 500 seconds as well. However, when i control the panel remotely, i am not limited to 500 seconds only. I can control the panel as long as i want to. And, when i check the control time remaining while i am remotely controlling the panel, nothing happens. I am using WindowXP, LV6.1 and the latest IE. Once again, thank you.
    Take care.
    Regards,
    Chea Tian

  • What is the Algorithm Used by the LabVIEW Remote panels?

    Hi
    Has any one had any idea about how dose "LabVIEW Remote Front Panels " works and its Algorithm?

    Is it possible to intercept data values transferred from server to
    remote computer display and put them in a text file for post-processing
    ? Each data value is accessible individually with graphic cursor but I
    don't know how to store the whole set of data.
    Thank you for your help
    Greg McKaskle a écrit:
    >> Has any one had any idea about how dose "LabVIEW Remote Front Panels "
    >> works and its Algorithm?
    >
    >
    > I'm not sure I know what it is you are asking. Roughly, the Remote
    > Front Panels feature transfers the panel of a given VI from the server
    > to your remote client machine. The client machine must be running
    > either a LV debugging environment, a plugin app, or a plugin ActiveX
    > control -- the latter two will also use the runtime en
    gine. The plugin
    > app will load the LV front panel and connect keep a connection to the
    > server. Each time the server updates a value or property on a panel, it
    > will send the information to the remote computer(s). This allows for
    > remote viewing of a panel running on the server.
    >
    > If you take control of the VI on the client by right clicking and
    > selecting the menu item, the client will also be sending the clicks and
    > keys sent to the remote panel to the server. The server will process
    > them in the diagram, and the results will affect panels.
    >
    > Please be more specificif this didn't answer your question.
    >
    > Greg McKaskle
    >

  • PDA and remote control

    Hello,
    I am attempting to use a PDA to remotely control a computer.  However I am getting errors such as "property node 'Property Node': Not supported for current target". 
    Another error I am running into the the inability to execute subVIs.
    Let me know if I should provide additional information.

    Hi Thejoeblack,
    Thanks for contacting National Instruments.  I've been looking into your question about using a PDA and I have a suggestion for you.  First off, are you just getting started with the PDA? If so, then I would suggest searching in Help>>Find Examples for "PDA."  Here you can find some good examples that I think will help you out.  One in particular is entitled "PDA Tutorial-Pocket PC."  I would suggest looking at this example and the Getting Started Guide located on your computer under Start>>All Programs>>National Instruments>>LabVIEW>>LabVIEW Manuals.  I hope some of this helps and please feel free to reply if you still have some questions.  Thanks!
    Regards
    Noah R
    Applications Engineering
    National Instruments

Maybe you are looking for

  • Error while upgrading to 10.1.3.5 from 10.1.3.1

    hi i am trying to upgrade to 10.1.3.5. i ran the bpel upgrade scripts with ORABEL user and it all went fine. I ran ESB upgrade script (upgrade_10131_10135_oracle.sql) with ORAESB user and i am getting errors. Below are the errors - Please help. SQL>

  • Where can I buy replacement battery for macbook early 2008 edition

    hello, where can I buy a replacement battery for macbook early 2008 edition (white). Thanks

  • Looking for a JAR file...

    I am looking for the jar file that has the following in it: com.sapportals.portal.htmlb.page.JSPDynPage; com.sapportals.portal.htmlb.page.PageProcessorComponent; Can someone PLEASE PLEASE email it to me? My email address is [email protected] . Thank

  • Automator in Leopard

    I just installed leopard and automator doesn't seem to work anymore. No actions library, no workflow area, just a menu bar.....and nothing. File>New does nothing? is it broken or am I doing something wrong?

  • Help with ap div

    Hi, can anyone help a newcomer to dreamweaver? Is it possible to add a hyperlink to an AP.Div ? I have inserted imaged into my ap divs and overlapped them to look how i want them, but i would like to be able to click on each image to go to another li