Remote panels reset

Is there a way to detect when a client closes a remote panel in a web browser? I would like to be able to reset the VI on the server when certain events occur so that data is not continually collected when no one is using the VI. Is there any way to accomplish this in LabVIEW?

CIPCE,
Right now, then answer is no, but hopefully that will change for future versions of LabVIEW. What I would suggest is to have a start and stop button on the VI and make sure that the user follows the instructions. I would also put in a timer that calculates how long the test has been running and shut it down after a period of time, if this is possible to do.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com

Similar Messages

  • CFP2120 remote panel shows "downloading panel 0% of 0 bytes" but never loads the panel

    body {margin:8px} .LW-yrriRe {font:normal x-small arial}Good morning,
       I've been trying to run a remote panel with a cFP2120 upgraded to LabVIEW
    2009 & fieldpoint 6.05 (it was on labview 8.5 with 6.01) to no avail, the
    program runs ok in the project manager and runs on the fieldpoint but the remote
    panel doesn't. I would like to know if anyone else runs remote panels with 2009
    and cFP2120s and if so was there any tricks required?
    Things I've tried:
    Upgraded and installed latest labview Runtime.
    Tried on PC's running XP/XP Home/VISTA.
    Tried with both Mozilla and Internet Explorer
    Tried using a different port
    Disabled firewall.
    Using full name for html file
    check html source code.
    New project with simple program (flashing LED A on cFP), this works
    Tried on two different cfP2120's
    tried reformatting and reinstalling the s/w on the cFP
    The front panel works fine with LabView 8.5 and FieldPoint 6.0.2
    thanks for any help.

    I believe that this may be a problem with the conversion from 8.5 or 8.6 to 2009.  We recently ran into a problem that was similar to this. The steps that we performed to correct this were:
    1.) Created a project (with only one VI called test_vi_851.vi) in LabVIEW 8.5.1
    that I built into a real-time exe with a remote front panel and got all of that
    working.
    2.) Closed LabVIEW 8.5.1.
    3.) Manually rebooted the cFP-2120
    into Safe-Mode (by flipping the dipswitch on the front of the controller).
    4.) From MAX, formatted the disk by right-clicking the controller under
    Remote Systems and selecting Format Disk.
    5.) After the controller rebooted,
    reset my network configuration and name of the controller and hit Apply
    (controller rebooted again to apply these settings).
    6.) After the
    controller rebooted (still in Safe-Mode), I added software to the controller
    (FieldPoint 6.0.5 with LabVIEW 2009, controller rebooted again).
    7.) After
    the controller rebooted, I manually switch the Safe-Mode dipswitch back to off
    and then rebooted the controller again from MAX.
    8.) Launched LabVIEW 2009
    and manually opened the VI (test_vi_851.vi, just the VI, not the project).
    9.) I went to File»Save As... and selected the option Copy - create copy on
    disk»Substitute copy for original.
    10.) I then chose to name this copy
    test_vi_2009.vi. Then I closed the VI, which brought me back to the LabVIEW 2009
    Getting Started window.
    11.) Selected Empty Project and then targetted the
    cFP-2220.
    12.) Enabled the Web Server by right-clicking the
    target»Properties»Web Server»Enable Web Server. Then I deployed this setting to
    the controller by right-clicking the target»Deploy.
    13.) Returned to MAX and
    rebooted the controller.
    14.) After the controller rebooted, I manually
    added test_vi_2009 by right-clicking the target»Add»File... .
    15.) Opened
    test_vi_2009 from the project and created a new html file (called mypage.html) using the Web Publishing Tool.
    16.) FTPed mypage.html
    to the appropriate folder on the controller.
    17.) Returned to MAX and
    rebooted the controller.
    18.) After the controller rebooted, I ran the
    test_vi_2009.vi from the project and was able to access the remote front panel
    (http:///mypage.html).
    Please give these steps a try, and let me know if you run into any further problems.
    Nick Keel 
    Applications Engineering 
    National Instruments
    Nick Keel
    Product Manager - NI VeriStand and Model Interface Toolkit
    National Instruments

  • Real-time 8.6 Remote panel connection exceeds max number of licenses- with no connection​s

    I've been using the remote panel right along with no problems to connect to my Compact Fieldpoint.  This morning I accidently opened the connection twice on the same computer and tripped the "Remote panel connection exceeds max number of licenses" error.  Now it will not let me connect anymore from my computer.  I've tried clearing cookies, cache and history in Internet Explorer and rebooting my computer.  I've fired up the Remote Panel Connection Manager which shows no connections, and the NI License Information window does not show any connections which have been denied due to max # of clients being exceeded.  Is there a way to reset this without having to reboot my RT controller?  I'm running RT8.6 and LV 8.6 Full Dev System and understanding that it should come with 1 remote panel license. 
    Thanks
    maat
    LV2014

    The boss wanted to see an updated feature, so I was forced to deploy a new version and reboot.  Problem went away as I suspected it would. 
    I did manage to make the same mistake again this morning (launch the remote panel in 2 different MSIE windows) and after closing them both I could reconnect.  Must be a glitch or a bug?  It'd be interesting to see if anyone else has this problem.  For now...solved, but it would be nice to see a way to fix this without rebooting.
    Message Edited by maat on 10-22-2008 10:10 AM
    maat
    LV2014

  • Use of property nodes together with embedded remote panels

    Hello,
    In the LV RT 6.1 release notes is a point under 'known issues'
    You can programatically change the properties of front panel controls
    and indicators in LabVIEW by using Property Nodes on a block
    diagram. Similarly, when you target, or connect, LabVIEW RT to the
    RT Engine on an RT Series device, Property Nodes affect the front
    panel of the RT Development System on the host computer. However,
    if you disconnect the RTDevelopment System from the RT Engine and
    subsequently reconnect it, you must reset the properties for them to
    take effect on the reopened front panel. The same applies to embedded
    remote panels.
    I did not found the same in the LV RT 7.1 release notes. Does this still apply to 7.1?
    My problem is that everything done using property nodes behaves strange. For example setting scale offsets, multipliers, maximum and minimum is working well if the front panel is displayed in the web browser during the call to the property node. If the web page containing the front panel is reloaded the scalles get messed up.
    Also clearing the history of a chart seems not to work.
    Is there a workaround for this. Reseting properties as mentioned in the 6.1 release notes does not work with embedded remote panels since there seems to be no way to detect remote connections in labview.
    Regards, Beat

    For your reference.
    I have been doing this since then
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    ClusterCTRLPropertyNode.jpg ‏54 KB

  • Remote Panel and Internet Explorer

    Hello. I have a problem with a Remote Panel and Internet Explorer. I create a measurement system in LabVIEW. It�s composed of a main front panel and a few subVIs with independent front panels opened from main Front Panel when I press appropriate button. As a local system everything works ok but I try to create a web version of this system. I decide that I can use a Remote Panel. In Web Publishing Tool I was creating a web page for each of Front Panel. I try to have the same functionality as in local system, so when in Front Panel (opened in Internet Explorer window) I press appropriate button I want to open secondary Internet Explorer window with a subVI inside. And now I�m stuck because I can�t open this secondary window in a network w
    orkstation. Has anyone have an idea how can I do it?

    > Hello. I have a problem with a Remote Panel and Internet Explorer. I
    > create a measurement system in LabVIEW. It?s composed of a main front
    > panel and a few subVIs with independent front panels opened from main
    > Front Panel when I press appropriate button.
    I think you have two options. You can open most modal subVI panels
    directly on a remote machine. The popup panels won't be in a web page,
    but it will work with few changes.
    A second approach would be to change the app slightly. The buttons that
    launch the subVIs will turn into URL links. The links will open a web
    page with a different embedded panel.
    Greg McKaskle

  • Open url in a remote panel

    HI.
    I want to put a button that launch a webpage. I works fine locally, when I click OK button, a  new internet window browser is open with the URL.
    But if I take the control in other PC client (using Web Publishing Tool) and I click OK button a internte window browser is open in THE HOST. I want to open the new window in the Client.
    Thanks.
    I attach the VI (open_google.vi) and the HTML file created by WPT (test.txt)
    Raymundo Cassani
    Attachments:
    open_google.vi ‏11 KB
    test.txt ‏2 KB

    Hello,
    When you view or control a VI using Remote Panels that VI is executing on the host side. The VI will not be able to interact with the operating system on a remote panel client. This means that it will not be possible to use this approach to open a browser window on the client side.
    You could take another approach- at least the way I would do it is thusly:
    Instead of putting the button that launches the page in the VI you could put it in the html file that the remote panel is hosted in.
    Using javascript you could pop up a new browser window with the URL you need.
    If you need to control what URL is viewed from within the VI you could make the button point to a URL that will be handled by your VI that can redirect to the URL you need. This would be easy to do in 8.6 as you could simply export the VI as a web service. Pre-8.6 you would either have to use the G web server or build a minimal web server yourself (this would be easier than it sounds since the server would have to do nothing but redirect).
    I should add that this approach would require some knowledge of HTTP/HTML/JavaScript.
    Let me know how it goes.
    Nathan
    Message Edited by NathanK on 10-15-2008 11:07 AM

  • Remote Panel not working in Windows 7 Starter

    Hi all,
    We have an application that can be controlled via remote panel. This is working fine in Windows XP PC. But when I try to access the same by opening Internet Explorer in a PC running Windows 7 Starter OS, I only get the 'Downloading 0.00% of 0 bytes'. I have disabled the Windows Firewall and there is no antivirus software also. What could be the reason for this? How could I solve this?
    Thanks in advance,
    Priyadarsini
    Solved!
    Go to Solution.

    The system which had the problem was a netbook that came with Windows 7 Starter. We found out recently that there was some parental controls utility in the netbook that prevented the LabVIEW Remote Panel access. We were not aware of its presence & it had not shown any indication that it had blocked Remote Panel communication. We uninstalled this utility & the Remote Panel started working as intended. Thanks again for your help.

  • Invalid server IP address for Remote Panels under LV 8.0.1

    The other messages for troubleshooting the "invalid server IP address" were very helpful with getting my EXE to operate as a remote panel.  But there is still one issue that I cannot resolve that seems to be caused by the 8.0.1 upgrade.
    The remote panel work perfectly using IE6 on a computer that has the LV 8.0.1 FDS or PDS installed.  When I use a computer that has LV 7.1 or no LV at all, the invalid server IP address appears inside the border of where the VI should appear on the HTML page.  The connection to the remote computer is correct, the HTML file is delivered by the web server in LV, but the panel part of the page returns the error. 
    Does the part of the HTML that loads the Run Time Engine need to be updated for 8.0.1?  Will the LV 8.0 RTE work for a remote panel on an EXE compiled for LV 8.0.1?
    The code is:
    var obj = '<OBJECT ID="LabVIEWControl" CLASSID="CLSID:A40B0AD4-B50E-4E58-8A1D-8544233807AD" WIDTH=1216 HEIGHT=915 CODEBASE="ftp://ftp.ni.com/support/labview/runtime/windows/8.0';
    if (lng.indexOf("fr") != -1) { obj = obj + '/French'; }
    else if (lng.indexOf("de") != -1) { obj = obj + '/German'; }
    else if (lng.indexOf("ja") != -1) { obj = obj + '/Japanese'; }
    obj = obj + '/LVRunTimeEng.exe">';
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

    Thanks for the suggestion, Tunde.  After further experimentation, it seems that 8.0.1 was not the problem.  I worked perfectly when I removed the <parameter server=...  > line that I added manually.
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

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

  • How can I disable messages generated by Remote Panel?

    I created an application (EXE) to server its panel to other network clients.
    I used the Tools > Web Publishing Tool to generate a HTML code to create two different web pages to access this application using Web server:
    - Embedded (for some users who need visualize the panel in real time).
    - Monitor (to display panel snapshots to users updated every 1 second).
    I don't need anyone controlling the remote panel, so I used this option:
    Tools > Options > Web Server: Browser Access and checked Allow Viewing (not controlling) for every client connected.
    Ok, both are working fine. But it a user try to Request control of VI on the Embedded page (right click in the remote panel), the application running in the server displays a message: Denied control request from XXX: Check permissions.
    The embedded page stills working fine, but in the Monitor page that message appears in a box (see attached picture below)..
    Is there a way to disable all messages in the remote panel? I realized that I need to access the computer where the application EXE is running to close the message.
    I'm thinking in two solutions:
    - Unable the right click menu in the embedded page to avoid clients request control of the remote panel.
    - Run a code in the application to erase messages generated.
    Has anyone an idea how to solve this?
    Thanks in advance,
    Klein
    Message Edited by Klein on 08-06-2008 12:54 PM
    Attachments:
    Remote Panel message.jpg ‏10 KB

    Hi Dpcamargo,
    I'm already using monitor with a delay of 1 second and this doesn't seems real time like remote panel visualization.
    But you sent me a good tip: use java code to cancel right clicks at all....
    I will try this solution. 
    Hey, we are both brazilians! So, thank you so much, Dpcamargo.

  • Blink while alarm on using shared variables with remote panel

    I am creating an application where I have front panel indicators data bound to shared variables.  I also set it up to have them blink when the alarm is on.  I am using the DSC module.
    This works great under the development environment.  But when I connect using the remote panel, I can no longer see the blinking indicator if there is an alarm.  I can see the blinking indicator on the machine that is running the program, but no on any of the remote panels (I have no problems connecting to the remote panel and controlling the program).
    I have the remote panel set as embedded, since I want the user to be able to change some settings over the network.
    I am sure I am missing something simple, any ideas??
    thanks
    Kenny

    I have been using IE6 and Firefox, and I have found that the blinking does show up, if you refresh the page.  And then if the alarm stops and the blinking stops, you will not notice it until you refresh again.
    Kenny

  • Remote Panels not working in embedded viewing mode

    Hello,
    I'm trying to develop a web version of my project using Labview remote panels. I configured the web server properties as it's described here: http://www.ni.com/white-paper/4791/en/
    Currently I'm trying to create the web page on the web publishing tool. However when I select the Embedded viewing mode option I get an "Requested VI is not loaded into memory on the server computer" error on the web page that is created. But if I select Snapshot or Monitor viewing mode option the page is loaded without problems.
    I'm using Labview 2013 and oppening the web page in google chrome. The VI from which I'm trying  to create a remote panel has some subVIs that show the front panel when called. Is there anything I'm forgetting to configure, or do I need to have any plugins instaled on my browser?
    Solved!
    Go to Solution.

    Mateus23 wrote:
    I'm now developing the web version in HTML 5, using web services to comunicate with my labview application.
    There you go, good solution. When doing this remember that you have access to the database on the server. A structure I have found effective is to use the server DB like a dropbox that I write to, and the web server reads from.
    Mike...
    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

  • Remote panel doesn't work

    I am using 2011 SP1 version of LabVIEW, toolkits and add-ons. I am trying to make the following remote panel opening VI work.
    This used to work well on LabVIEW 8.5 but now I get an Error 7 from the last Invoke Node of the second loop. The top loop works fine. HPAC Main.vi is running as a startup VI on the RT target (PXI-8106). I can open its front panel using this VI. But the second loop can't open ST_viewer 1.vi. File names and paths are all correct. For building HPAC.rtexe, on the Source Files tab, HPAC Main.vi was chosen as a startup VI while ST_viewer 1.vi was put in the Always Included box. The VI server of the PXI is using TCP/IP port 3363. The PXI is directly connected to this host PC by an Ethernet cable.
    I also made a very simple project (attached file named ServerTest), deployed its rtext to the PXI and ran it as startup. After rebooting, I tried to open the remote front panel of main.vi and sub.vi on the PXI using access.vi. I get the following errors at the Invoke Nodes.
    For trying to open main.vi > Error 1352: Requested VI is not loaded into memory on the Server Computer
    Fro trying to open sub.vi > Error 7: File not found......
    As suggested in the article, Real-Time System Manager seems useful but I can't find it. Tools > Real-Time Module > and then I can't find the system manager. I only see Project Wizard, Configure Time-triggered Network and Execution Trace Toolkit. Does 2011 version have something else?
    Any help will be appreciated!
    Attachments:
    HPAC Executable.vi ‏33 KB
    ServerTest.zip ‏215 KB

    Thank you, JaymeW. I found the VI States tab in the Distributed System Manager. And yes, all the steps in that article were already done.
    If I set sub.vi as a startup VI on the PXI along with main.vi, then I can open it using the same method that opens main.vi. However, if I put sub.vi in Always Included box on Source Files tab and use the VI server to open it, I get errors.
    On the VI States monitor, I see main.vi running as a startup VI on top level when I turn on the PXI. Then, I run access.vi and open main.vi successfully. When I click the sub.vi open button, sub.vi appears on the monitor with Run Top Level status but I get error messages.
    At the first attempt to call the remote front panel of sub.vi, I get:
    LabVIEW: Resource not found.
    An error occurred loading VI 'lvfpp0.vi'.
    LabVIEW load error code 3: Could not load front panel.
    From the second call, I get:
    Error 1000 occured at Invoke Node in access.vi
    Possible reason(s):
    LabVIEW: The VI is not in a state compatible with this operation.
    Method Name: Run VI.
    Could you take a look at the attached simple project and suggest a solution? Thank you!
    Attachments:
    ServerTest2.zip ‏218 KB

  • Labview Remote Panel and Client Aspect Ratio

    Dear all professionals,
    I had create an application with remote panel (webserver) enabled. I found that there is relationship between aspect ratio of client device display and the remote panel screen size. Here i attached two images of remote panel in browser which both remote panel are opened using different aspect ratio of client device. 
    The left 1 is the device with 1.5 aspect ratio while the right 1 is the device with 1.78 aspect ratio. 
    As you can seen from the images, both remote panel are shown in different size. May i ask do i miss something in the remote panel configuration? 

    Hi Michel,
    Thank you for your reply. I also notice that the zoom % of browser is one of the issue that caused this behaviour. In the same aspect ratio with server computer( where the application running), changing zoom to 100% will help to fit remote panel that I already set when I developing the remote panel vi. But if for different aspect ratio, no matter how u change the zoom % , it won't fit the frame. I just wondering whether got another solution for this issue or not :-(

  • Remote Panel Over Internet

    Hi All,
    Our office PCs r connected internally through LAN. Each PC set to get Automatic IP address. One PC is connected with external Modem. We have a laptop with internal modem. I am dialing the modem and connect to the PC with modem. Now after connection is established I try to use Remote panel then gives error like "network error" and "Remote Panel server not delivered specified vi" though the require vi is in memeory. I had also tried out by specifing the IP address but the same error repeats.
    Please let me know how could I solve this problem.
    Thanks.
    Vishal

    I have never run across this before, but I will throw out some ideas to get it rolling. Is this a fire wall issue? I assume because you are dialing in that it is not part of the network. Are you able to ping the computer that is hosting the remote panel? Are the run-time and LabVIEW development versions the same?

Maybe you are looking for

  • Cannot connect to 4G network after update to OS 10.3.1

    Have a Q10 through Sprint and after updating to OS 10.3.1 from the Blackberry site, phone will now only connect to 3G network despite availablity of 4G network. Phone used to connect to 4G network with OS 10.2,

  • How to stream music to bluetooth?

    Anyone have pointers on how to stream music from my iPhone 5 to a Scala-Rider Q2 bluetooth unit?  I have paired the unit to my phone and can use it for calls but can't figure out how to access music files.

  • Run report thru form builder

    hi I have a table EMP(empname varchar2(30), empno varchar2(20), add1 varchar2(60), add2 varchar2(60), sal number(10,2), comm number(10,2) i want create a report and parameter form and run it thru form builder can it possible i select column name in p

  • Production order unlock in a program

    Hi, I use a bapi for modify a production order in a report and i need modify the same order in the same report after the bapi execution but when i use the "call transaction 'CO02'" for modify the order appear the message "the order is lock". Is there

  • Missing Parts List History (CO24)

    Hello, is there a possibility within ERP 6.0 to see a history for missing parts in co-orders like in CO24. I want to create a TopN report for the missing parts of the past. CO24 seems to be only relevant for the current parts that are missing. Thanks