Multiple Remote Panel Instances

Hello all,
I am interested in adapting some simulation VIs for a distance learning application. The VIs demonstrate some of the basics of control theory, and I would like the students to be able to access via the web. Playing around with the web builder wizards I managed to get it working. However, the single user control behaviour is not suitable for classroom teaching etc.
This example http://zone.ni.com/devzone/cda/tut/p/id/4041 and relevant templates http://zone.ni.com/devzone/cda/epd/p/id/2440 seems like it might offer a solution. However, seeing as this was written for an older version of labview and my knowledge of html/cgi scripting is essentially zero, I was wondering if anyone had experience with using something this? Or have found a different solution to the multiple instances problem? I think this may not be a trivial amount of work, so I was hoping someone could offer advice as to whether this avenue is worth investigating. 
Thanks very much in advance!
Regards,
James

From your description I'm assuming that you have your simulation running in desktop LabVIEW on some machine and your trying to make a web UI that connects to that simulation through a web service. If you want the kind of instancing that remote panels provide you either have to make your web service more complex or you have to move your simulation into Web UI Builder diagrams so the web service is not needed.
Each window that views your web UI will be running an independent copy of your web UI VIs. So if everything is implemented as web UI VIs, then there is no sharing and you can open as many instances as you want. If you can implement the simulation entirely in these VIs, then your problem is solved.
If you need the simulation to run in desktop LabVIEW, then the solution is different. LabVIEW web services do not maintain a connection with their clients, so they don't have any way to recognize a request as being from the same machine as some previous request. If you need that, you will need to add that capability to your web service. You could have a web service call to start a session. That could start a simulation and return some identifier to the web UI. Each time the web UI called another part of the web service, it would provide this identifier so the web service would know which instance of the simulation to operate on. The client could call another web service entry point to stop the simulation, but you won't be able to count on that. The user could navigate away from the UI page or close the browser without the program having a chance to tell the server to stop. To avoid running out of memory, the server would probably need to have some cleanup task to shut down simulations that had not been accessed for some period of time.

Similar Messages

  • Communication between multiple remote flash instances

    I am relatively new to Flash development, but need to create a simple application that will essentially function as a remote slideshow broadcast service. One presenter will see the show (full screen) and will be able to proceed to the next slide, all other attendees will only see the show (no control) and will see the next slide when the presenter proceeds. I have a Flash Media Interactive Server which can be utilized. I understand that no one will be able to walk me through actual the development process, but was wondering whether someone could tell me what the best approach would be and where I could find tutorials to get started.
    Thanks a lot! Any help is greatly appreciated.

    UPDATE: I am particularly confused about what kind of communication method to use. I heard about Socket, SharedObjects, HTTPService, RTMP, RTMFP, etc. could someone advise which would be the best for this situation. I only need to send a very small bit of data.
    Thanks.

  • Is it possible to limit the number of remote panel connections to a vi?

    Hello,
    I have an application running on a RT PXI and I'm using remote panel to access it. My licence allows me to have multiple remote connections and it's ok as I sometimes need to open multiple remote panels at the same time.  However, I would like to limit the number of connections to 1 for a particular  VI.  Is it something that can be done?
    Regards,
    Patrick Lessnick 
    Solved!
    Go to Solution.

    Patrick:  If you right click on your target PXI system in the project exporer, select Properties>Web Server>Browser Access you can select who you let have access to your VIs.   Likewise, in the Visible VIs section of Web Services you can limit which of your VIs you want people to be able to see.
    If this isn't enough control, from your run time application on the PXI system you can write a startup VI (in parallel with your main application) to monitor the Remote Panel: Connections to Clients Property of the real time server.  Once this monitor application sees a connection you can take any number of actions to prevent more than one connection, deny access to specific IP ranges or what have you.
    I am assuming you are using LabVIEW 2009 and MAX 4.6.1 but it may apply to earlier editions.
    Hope this helps.
    Bill

  • Can 2 remote panels control the same VI without right-clicking to get control?

    Is it possible for multiple remote panels to be able to actively interface with a single running VI without having to manually request and release control by right clicking?  I am using Labview 8.2 Professional Version.
    Thanks for any help.

    No. Only one client can control a remote panel at a time, see LabVIEW Help ->
    "Controlling an Application or Front Panel Remotely Using a Browser"
    You might create a copy of that VI and provide 2 web pages as a workaround.
    Regards, Guenter

  • Can multiple PCs access one remote panel at the same time?

    I've written a program in labview 7.1 to monitor/control a labview application running in the test cell through Remote Panel. I and my coworker can remotely monitor and/or control this labview application individually. But if my coworker has the remote panel displayed on his PC and I try to get the remote panel on my PC, I get a labview error (63) as below:
    "LabVIEW:  Serial port receive buffer overflow.
    LabVIEW:  The network connection was refused by the server."
    My question is: Can multiple PCs access one remote panel at the same time?
    Thanks in advance!
    Y

    Sorry I wasn't clear. The remote panel license is separate from the number of LabVIEW development licenses. Pricing information on remote panel licenses can be found here.

  • Crio to host multiple remote front panels

    Hello all,
    I've a question abt remote front panel hosted by a cRIO system (cRIO9068 to be more specific, running RTOS).
    I have a top level VI (main) as the start up vi in my cRIO system, and it would call a subvi during run. I'd like to enable remote front panel for both the main vi and the sub vi so that I can see both front panels using a web browser. I'm not sure if such a configuration is possible at all and would like to listen to comments by users who have similar experiences.
    Thank you very much!
    Best,
    Jidong

    Hello hhaamm,
    To the best of my knowledge, I don't believe it is possible to host multiple remote front panels from the same executable, and, if it is, would be very difficult. The NI Web Server configuration file only specifies one port on which an executable can run web services, like remote front panels. In, short, I am not sure how you would be able to accomplish this.
    Another thing to keep in mind is that what you want to accomplish can be done in many different ways that would be much easier than creating multiple remote front panels.
    One of these is to move all of your controls and indicators to the top level VI. i.e. make the data you want to see from the sub-VI an output of the sub-VI and create a new indicator for this on your top-level front panel. This way you can still use a remote front panel and can use different decorations and labels to separate the top-level and sub-VI outputs.
    Another way to do this is to use the tab control to create multiple tabs, one for your top-level indicators, and one for your sub-VI indicators. This would still enable you to use remote front panels and would allow for the separation of your different indicators. Here is a note on how to do that:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/creating_tab_controls/
    And here is a more in-depth forum post on how to create them:
    https://forums.ni.com/t5/LabVIEW/how-do-you-create-tabs-on-the-front-panel/td-p/201495
    The final way I can think how you would accomplish this is to use a web service instead of remote front panels and host the output of the sub-VI as a separate website. 
    Hope this helps!
    Collin D.
    Applications Engineer
    National Instruments

  • Can 1 instance of Windows 8.1 ENTERPRISE host multiple Remote Desktop connections?

    I am shopping for the components for building a machine with fair, high-performance hardware. I have Windows 8.1 Professional. I wanted to know if either Windows 8.1 Professional or Windows 8.1 Enterprise can support multiple remote connections
    from users outside the local network. For example, my brother is based in San Diego, CA and has an underpowered laptop. Is there any way to make a remote connection over that much distance, from San Diego to Northern Virginia, from a RDP client running Windows
    8.1 Professional to a RDP "server" Windows 8.1 Professional/Enterprise machine, and run a modern, single- or multiplayer- game over smoothly that connection? At the very least, is it possible to run common
    apps (e.g. Microsoft Office 2013 IE 11, Adobe Acrobat XI) smoothly on a Windows 8.1 Pro RDP client connected to a Windows 8.1 RDP "server" located 2250+ miles away?
    Would upgrading my installation from Professional to Enterprise improve the responsiveness and display quality for my remote users?
    I know Windows Server R2 2012 has features specific for handling remote connections, but I am trying to keep a Windows 8.1 user experience. Still, if anyone can show some evidence that Windows Server 2012 R2 Remote Desktop Services (RDS)  improves display
    and responsiveness over long-distances for remote (RDS) connections, then I will shop for Windows Server 2012 R2 Standard instead. The huge drawback of Windows Server 2012 R2 Standard CALs is the enormous cost to enable 3-5
    remote connections for family, non-commercial use.
    Has anyone attempted to host long-distance remote access, non-commercially, for 3-5 connections? Has it worked well? What, in general, is required?
    T. Webster

    Hi,
    It depends on the quality of the network connection to run the software smoothly throuth RDP.  And I don't think the quality would be better if you upgrade to Windows 8.1 Enterprise.
    Windows 8.1 allow only one session of RDP, the Remote Desktop Server in Windows other than the Windows Server edition has a limitation to allow only one concurrent user per session by default, i.e. if someone remotely connects to the computer over RDP then
    whoever was logged in at that moment will be automatically logged off, even if that user is physically present at the computer. This is by design.
    Regarding more information about RDP, please take a look at the following articles:
    Remote Desktop app help
    Remote Desktop Connection: frequently asked questions
    Best regards
    Michael Shao
    TechNet Community Support

  • Multiple Order Panels as JInternalFrames in one Form as a JDesktopPane

    I have a JClient application which consists of a form(JFrame) which opens a JDesktopPane. Within this desktop pane the user may open different panels(as JInternalFrames), one of them being a panel to create a new order. I want to have the ability for a user to create multiple order panels for different orders within the same desktop pane/form. The order panel consists of mainly 2 lookup views for customer and item information and 2 editable views for the order header and order details. While I can open multiple order panels, each with a unique binding container (ie. a uniquely named UIModel), within the desktop pane all of the open panels edit the same order. How can I modify my code to allow a user to create/edit multiple order instances using this order panel?

    Hi,
    did you have a look at
    http://www.oracle.com/technology/products/jdev/howtos/10g/jcmultiform/index.html
    the section "Data Binding in a Concurrent-Forms Use Case" describes what you are trying to achieve
    Frank

  • Can you use LV6.1 Remote Panel AND CGI?

    I would like to use both CGI and the Remote Panel system of LabView 6.1. I'd perfer to be able to implement the CGI in either Perl or LabView, but anything would work. What I'm trying to do is have a front end that is mainly all CGI, and only after certain conditions things have occured in the CGI would they be allowed access to the Remote Panel. This could be pretty easily done by having the CGI write the HTML file for the Remote Panel. I would do it all using Remote Panel, but the I only have 1 license, and I only really want 1 person to be able to use the Remote Panel at a time, but I want multiple people to have access to the CGI at any given time. Any ideas would be more helpful.

    I'm working on a similar issue with controlling connections to my remote panels. Correct me if I'm wrong, but I think the above solution has some loopholes also. Since the CGI script is generating a new HTML and actually writing it to disk, wouldn't anyone else also be able to connect to this newly page if they new the URL?
    For instace:
    1) A person logs in from the CGI page.
    2) The CGI script builds the remote panel page.
    3) At any time thereafter, someone knowing the name of the new webpage can connect to it.
    Now this problem could be solved if the newly generated page could be sent directly to the person who has logged in if session variables were used within a single web server. However, since two separate web servers are being
    used, this is probably not possible.
    If anyone has a solution to this new problem or can refute what I've just said, please let me know. I have been running over how to do use a login system repeatedly without success. I really don't want to default back to using IP addresses to block access since my users will be 1) spread across multiple IP ranges and 2) more than likely unable to provide their own IP addresses if requested.
    Thanks,
    Pete

  • Remote Panel of VI template

     My application launches a VI template instance dynamically, and I wish to have Remote Panel access to each of these templates. How shall I create Remote Panel HTML page for each instance on the fly? Or is there any way by which I can access by template instance in Remote? My application is in LV 8.2.1 and I need this in EXE application.
    Thanks,
    Priyadarsini
    Solved!
    Go to Solution.

    After launching the application, please type "http://computername:86/Instance1.html" in the web browser
    Please ignore the previous attachments. There is a small issue in it. I apologize for the inconvenience.
    Thanks,
    Priyadarsini
    Attachments:
    Remote Panel for Template - LV 8.2.zip ‏31 KB
    Remote Panel for Template - LV 8.6.zip ‏127 KB

  • VI Templates and Remote Panels

    My system creates multiple test windows using a dynamic load of a VI template, and I wish to have Remote Panel access to each of these test windows. The user does not need to instantiate the windows remotely, only access them. So, when each window is created, it creates it's own HTML file so a user can access it. It worked just great for .snap publishing -- so far, so good.
    However, my VI template is a little unusual, because within it there are other VI-template subVIs. I do this because I make use of LV2 global variables (acts as a passive G object with it's own data space), and each window has it's own local copy of that template subVI.
    Now when I try to access the Remote Panel on my instantiated test window, I get an error like this "The VI named 'Test Window 1.vi' contains unsaved untitled subVIs. Cannot save the VI before all its untitled subVIs are committed to the disk'. This error indicates that my template-subVI instantiations need to be saved in order for the Remote Panel to work. I'm not sure why this is a requirement, but let's go along with it for now.
    So I went ahead and used a VI server method to save the untitled subVI instantiations to a temporary directory, with the intention of deleting them when the test window is closed. It worked! Kind of... it worked in development mode, but didn't work when I built the executable. The executable gives me error 1043: "Not supported in this version" when it tries to save the untitled subVIs (even though I specify to save WITHOUT the block diagram, which obviously isn't there).
    Is there a way out of this quandry?
    Thanks for your help,
    David Moerman
    TruView Technology Integration Ltd.

    Hello again everybody,
    Sorry I have to re-submit my post. I found a bug in my demo (where the VI name referenced in the HTML did not match the running window). Also, I made it to dynamically set up the web server path, to make it easier on you.
    BTW, this is in LV 7.0. And a warning: this problem is not for the faint-of-heart. I somewhat doubt there is a solution without NI changing how Remote Panels works.
    Again, my apologies for the previous bug.
    -Dave
    Attachments:
    main_v2.zip ‏79 KB

  • Selecting and running vi's on a compact FieldPoint 2120 via remote panel

    Hi,
      I'm trying to provide two html files to run two different vi's on a compact fieldpoint. I can run either of them by setting them as 'run as startup' in the Build Specification which creates the startup.rtexe program on the controller but the only way I can run two different vi's on the fieldpoint is by renaming the files in the startup directory before calling the html file (and that doesn't work that well). Is there a better process to allow different programs to be run on the compact fieldpoint via the remote panel/html calls?
    thanks

    Hey AgB2,
    I think the best way to get multiple HTMLs linked to their respective VIs would be to set your VIs as the Startup VIs when you build the EXE to deploy to your Compact Fieldpoint. A KnowledgeBase article describing the steps to do this can be found here:
    http://digital.ni.com/public.nsf/allkb/466EA9705F9​8E07786257687005E081B?OpenDocument
    Next, all you'll need to do to get your two HTML files to run two different VIs will be these steps:
    1.Build the HTML for each VI you want to control
    2. Enable the WebServer for your cFP
    3. FTP your HTML files to the www folder on your cFP
    Once you restart the cFP, your EXE will run at startup with both VIs and you can access them by navigating to http://<ip address>/<vi name>.html. Just to double check, I did this on my computer and had no problem loading both HTMLs or taking control of both VIs at the same time.
    Logan H
    National Instruments
    Applications Engineer

  • Remote panel / Web server. II part ?

    Hi all
    There has been some activity about remote panels / web server in this forum.
    Basically, NI documentation states LV run time, at least, must be intalled in client PC to use that feature.
    In this link to post
    a post from NI engenier Jeremy L. says that just to monitor a remote panel vi, NI soft is not necessary in the client PC. That option looks very interesting.
    So, my questions are:
    1- Somebody got to monitor a remote vi if LabView or run time is not installed in client PC.?
    2- Can NI peo
    ple clarify this option?
    3- What is, if anything, the minimun NI soft required in client PC to monitor a remote vi front panel?
    Thanks in advance
    Alipio
    "Qod natura non dat, Salmantica non praestat"

    alipio wrote:
    > Thanks. I got last Jeremy´s post after posting my question.
    > Now I can monitor remote vi without NI soft.
    > About 3rd question, what I mean is if it is neccesary the full run
    > time or one only needs some dll or other small plugin from NI to get
    > control of remote vi.
    Well as I said for monitoring, NO NI software is necessary. For Remote
    Control you basically need the lvrt.dll runtime and some supporting
    files such as lvapp.rsc.
    As the runtime gets more and more complex it is not a good idea to try
    to install individual files. Eventhough the lvrt.dll contains up to now
    all the code necessary to execute simple LabVIEW programs there is more
    necessary to be able to for instance display the LabVIEW 6.x 3D controls
    (all of the
    models directory is then necessary) or in the case of the
    web plugin I would assume the lvpng.dll and lvjpeg.dll will be also
    necessary.
    Also some registry settings have to be set so that the plugin or LabVIEW
    application can find the appropriate runtime engine, unless you want to
    copy all the necessary files into the same directory as your application.
    In view of this I would not even consider getting a LabVIEW runtime
    system onto a computer other than by adding it through the application
    builder to my executable, or running the official NI runtime installer.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Remote panel portals?

    Hi all,
    We are looking to provide a solution for the control and display of multiple instruments by 2 workstations on a network.
    We need the ability for a user at one workstation to assume control of some of the instruments, whilst the other user controls a different set of instruments.  Both users will need to see the display from all instruments.
    Remote Panels seem to allow control of the server vi to be switched between server and client, but the control switch functionality appears to be for the whole application.
    Is there any way of creating a 'portal' that holds control panels for each instrument allowing the user to elect which device to control?
    Best regards
    Phill

    Hi Phill,
    The following document describes what you're trying to achieve. I believe the example uses the Internet Toolkit though:
    http://zone.ni.com/devzone/cda/tut/p/id/4041
    Would it be feasible to have the two different sets of controls on two different VI front panels? It may be more straight forward to implement it in this manner.
    There are also some licensing considerations to bear in mind, see the following links:
    http://digital.ni.com/public.nsf/allkb/18C057D7C5A8EA0486256CAE0069557C?OpenDocument
    http://digital.ni.com/public.nsf/allkb/2E814A22B7660EA786256BD500652F2C?OpenDocument
    Sarah
    Applications Engineer | National Instruments | UK & Ireland

  • Remote Panel suddenly stops downloading at about 90%

    Hello,
    I have a Vi running in a cRIO and I want to control it with a web browser (Internet Explorer 7). The cRIO is connected to internet with a GPRS modem (MultiModem GPRS from Multitech).
    Because the GPRS connection is low bandwith, I can open remote front panels of small VIs, but the main Vi, always, stops downloading exactly at 90 seconds and that means a download of about 90%, as can be seen in the image I´ve attached. To open the remote front panels of small VIs tooks less than 90 seconds.
    The timeout for WebServer Configuration, in the cRIO, is in 360 seconds. I have, also, modified, witout success, the KeepAliveTimeout = 600000 and ServerInfoTimeou = 600000, for Internet Explorer (http://support.microsoft.com/kb/813827/en-us).
    So, any idea about what could be hapening?
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    RemotePanelStop.JPG ‏5 KB

    Hi James,
    Good morning and thanks for answer.
    I forgot to mention that I have made another test, that consist in connect the cRIO in our LAN, and I can open the remote panel without any problem. Obviously it took less than 90 seconds to download.
    I have attached the images of the main vi. I proved to remove the grafic and all the decorations but the size remains very similar (about 229000 bytes).
    I didn´t mention, also, that sometimes download only 50%, it depends in the upload rate, the cRIO  have, when opening the remote panel. I also tried to open,  without success, directly from Labview.
    Yesterday I made another probe, I´ve developed a vi (lets call intermediate vi) that is hearing the TCP port 80, and when a connection is established, it opens a connection with the TCP port 6342 in the same PC. After that, all the string received in the port 80 are redirected to the port 6342 and all the string received in the port 6342 are redirected to the port 80. It can establish multiple connections of these type. In that PC I have a Vi (lets call test vi) and the Labview webserver enabled in the port 6342. The purpose of the intermediate vi is to add the delay you want. I´ve inserted delays biggest than 90 seconds and instead I can open the test vi remote panel with the browser. Another interesting thing is that remote panel opens two connections to the port 80.
    I hope you can understand me.
    Thanks.
    Attachments:
    Tab1.JPG ‏119 KB
    Tab2.JPG ‏91 KB
    Tab3.JPG ‏86 KB

Maybe you are looking for

  • Video doesn't work when calling from Jabber to DX650

    Hi, I just added a DX650 to our CUCM 9.1.2. When I call from either Jabber to the DX650 or Lync to DX650, the video doesn't work and the call is audio only. The message i'm seeing on Jabber is something like "the other endpoint is not accepting video

  • ERROR while CREATING RFC FOR SOLUTION MANAGER DIAGNOSTICS

    Dear all, Hi, I am configuring solution manager 7.0. In SPRO>basic setting >operation>solution manager diagnostics > create RFC for solution manager diagnostics i am getting this error program WEBADMIN not registerred. can any one tell me how to regi

  • Web.Show_document to open .csv file in Excel How??

    We have a utility built in our menu (mmb) It reads the screen output and creates a .CSV file on the server using text_io and then using Web.show_document displays the file on the client. The file opens in MS-EXCEL. It gives a standard Excel prompt fo

  • Drag between two flex applications?

    Hi, In the project I'm working on I display tree which the user can manipulate by dragging and dropping. So far I have a tree in a flex application, and I've implemented dragging and dropping. I'd like the user to be able to drag from one tree to ano

  • Stuttering Fade Effect

    You can see what I am working on here: http://www.slimscents.com/newsite/ (under development). What happens is this... Rolling over a div creates a fade effect on a target div, and it works. However (especially on IE 7) rolling over another div whils