Limiting access on remote panels

Since you cannot limit the number of people able to view a remote front panel (I am under the assumption that either everyone can view the panel or no one can), I am trying to come up with a way to only allow one person to control and VIEW the remote panel.  I think it might be possible to create an "access" VI that will redirect a user to the experiment VI if no one else is using it or not allow them to access the experiment VI if someone else is using it at the time.  Is it possible for one remote panel to tell if another remote panel is being accessed, and if so, can a remote panel link you to another remote panel?

The way you have it set up is basically correct, but I'll make some comments before explaining the problem.
First, don't use clusters functions to process arrays. If you want to get the first element of the array, use Index Array (as it is or with a 0 wired into the index input).
Second, maybe it's just me, but I don't like the icon displays for the terminals (takes too much diagram space and doesn't really help). You can switch it with a right click for each terminal or disable it in the options menu competely. On the same note, the wire should continue straight to the Array function, and have an extension going up to the indicator, instead of taking a detour through the indicator. It just looks better and is clearer to read. You really should look at those tutorials and the style guide.
Third, your timeout case isn't necessary. A timeout case should only be used if you have code that you need to execute if no event has occured. You can simply delete the timeout and delete the case. To stop the loop, simply add an event for the stop button and wire T only out of that case. As a side point, there is no point in having a 100 ms wait if you are already waiting the 10 ms of the timeout.
Now, to the problem.
The indicator isn't being updated because the loop isn't running, and the loop isn't running because you wired the stop condition from the top loop into the bottom loop. This means (the biggest rule of dataflow programming) that the top loop will have to complete before that information will be available, which means the bottom loop will only start running after the top loop. To debug and know if your loops are running, create an indicator for the i terminal or use a probe on wires inside the area you need to check.
What you need to do is cut the loops. The easiest way is to place the stop control in the bottom loop and to use a value change event to stop the top loop. If you have more than 2 loops, it's usually easiest to create a local variable (you will need to change the mechanical action for the boolean control).
Once you did this it should work and my quick test (on the same computer) shows that the array is updated as soon as the browser goes to another page.
Try to take over the world!

Similar Messages

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

  • Remote panel and selective control access through Security with DSC

    Hi Everyone,
    I looked around to see what labview had to offer concerning security of remote panel and all the solutions I've found only propose full access to a remote panel, or none. The login page is not an option for me as everyone on the intranet can access the remote panel for monitoring but not everyone can have control to the buttons on it.
    With the DSC module, I can give securities to the different controls and it works great with the exe, if I log in or out, the controls appears or disapears. Unfortunately, with remote panels, those controls are always visibles. Furthermore, when I log in from a remote panel, all the other remote panels get logged in with the same username and priviledges. When I log out, same thing, it logs out all the other remote panels. So the last guy who logs in gives its priviledges to every one else who is monitoring the remote panel at that time. when he logs out, he logs everyone out. I used a reentrant vi hoping that this would solve the problem but it didnt.
    I would like to do what my colleague does with Advantech without any problem. He has only 1 .exe is running on the server and whoever connects to it through webserver, just needs to log in and he has all the priviledges of an guest, operator, admin, etc.. with access to controls and features accordingly. All this without interfering with the other people using the remote panels. This colleague has always been doubtful about the capabilities of labview to do SCADA systems and uptil now, I've been able to prove him wrong.. please help me continue
    There are workarounds, using remote desktop to the server instead of webserver but it definitely is not as practical for the client and it will need quite some work to to synchronise all the exes open from the differents sessions, through the use of shared variables, binding and securities.
    Thank you for your help.
    Solved!
    Go to Solution.

    Thank you very much for your reply Jordan.
    The NI security info is on the server (local domain with groups and users), and the running exes as well. The remote panel is not supposed to be accessed by internet, at least not yet, but just by the computers on the network and thinkline computers who are directly connected to the servers. the remote panel is accessed through the simple url: http://serverip/Application.html
    There is no problem with accessing the remote panel of the exes on the server from another computer on the network. But there are several security issues when logging in and out with the NI Security Programmatic Login and logout VIs through the remote panel..
    The 1st problem occurs when several people access the remote panel at the same time. In my setup, everyone is allowed to check what's happening on the front panel of the running exe, go through the tabs, check the graphs, the tables, etc.. , but only the administrators and the operators can send commands to the machines and the production line through this remote panel. Hence some buttons are accessible to all users, while others are only accessible depending  on the privileges of the person logged in.
    So like I said in the 1st post, I configured some buttons to be accessible only by the users of the admin group. When the exe runs, it's perfect, if I log in and out with an admin account, the buttons appears and disappear accordingly. But when I check the remote panel, those admin buttons are always visible, even if I am logged in as a guest or even logged out. Is it because the remote panel only needs minimum runtime engine and doesnt use the dsc runtime engine? if so, any work around?
    Furthermore, another big problem is that if I login as an admin in one remote panel, then login as an guest in another remote panel, and then logout back from the first remote panel, it says: "User Domain/Guest logged out". Hence, my second login logged out my first user. I can actually see the admin buttons appearing and disappearing on the exe when login as admin and guest from the different remote panels.
    So that's it, I would like my remote panel to behave like a normal scada system, with one exe running in the back (on the server) and with all the users accessing it through web server. Several users might/will access the remote panel at the same time and each of the users have a login/password that grant some of them the privileges to take some actions while giving the others only monitoring rights.
    I hope that I have been more clear in this 2nd post,
    Thank you again for your time.
    Best Regards,
    Tom.

  • Remote Panel and DataSocket

    In LabVIEW6.1,there is "Remote Panel"feature.And in http://digital.ni.com/demo.nsf/websearch/3DF73584759FF60986256ABD005BB446?OpenDocument&node=1381_US, there is a demonstration named "Weather Station".In LAN,I can control the VI from another host.But how can I control a VI from a host of different LAN or by Internet.For example ,can I bulid a remote panel which you can control from your own computer?
    Thanks.

    LabVIEW ships with a web server that is used to host your own applications. In LabVIEW 6.1 you find the tools to help you embed your own VI in a web page. These tools are found under Tools >> Web Publishing Tool and Tools >> Options >> Web Server. Most corporate networks have a firewall that you will have to deal with. In order for everybody inside or outside the firewall to access your remote panel, you will have to open a port through the firewall. Also, anyone that wants to view a remote panel will have to have either the LabVIEW Run-Time engine or full developments system installed.

  • Is it possible to view remote panels without LAN?

    Useing inbuilt webserver of LabVIEW limits to view remote panel over LAN or WLAN.what are other possible ways to view it on other pc which is not in LAN?
    Vikas H. Kumthekar
    ASE
    Tata Consultancy Services
    Pune-1

    Not that I tried it, but what makes you think it is limited to a LAN?
    Remote FPs work on TCP, so I would expect any kind of TCP connection you can form to work (like a modem). It probably won't work over a serial connection or something similar, if that's what you're asking (unless you know how to make it work like a network card).
    Try to take over the world!

  • 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

  • Using tab control to login into remote panel

    https://decibel.ni.com/content/docs/DOC-7746;jsessionid=82a40f1930d65e9a085c08dd4b26b8dea4b8c3d579a7.e38MaNyPaNePaO0Oc350n6jAmljGr0
    I am using the idea in the link as a way to password protect a remote panel. However, there is a problem. After one user logs in, if a second user connects while the first user is logged in, then the second user automatically gets access without having to log in. Does any one have any ideas to force the second (and other additional users) to log in before they can get access? 
     

    If they're all accessing the same remote panel, then the current state of the remote panel is what they will all see because that's the state of the VI itself on the remote system.
    How are the users accessing the remote panel? If it's through your own local VI, then you could have them log in there?
    Maybe the Advanced Programmatic option here could work for you.

  • Remote Panels under Virtual OSs?

    I've been asked a question from a customer...
    If they run a LabView compiled VI under a Virtual OS (like Microsoft's), would they need separate Remote Panel licenses for each Virtual OS?  As an example, if a user has 5 Virtual XP OS's running, and a compiled VI running in each one, and they want 4 users to access the remote panel for each VI running, would they need 1 20-user RP license, or 5 5-user licenses?

    Hi Steve,
     I am just going now, but I will look into this tomorrow - if you dont get an answer by the morning.
    My first question is, if you have one instance of XP and you deploy and exe with remote panels, with 4 users - how many would you need?
    My guess is each instances of XP would need to be licensed indivually and therefore you would need licenses for each instance of XP (and then what ever the users effect is).
    Kind Regards,
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • Opening a Remote Panel of the Top Level vi for an executable

    Hello Everyone
    I was wondering how you would open up a remote panel for the top-level vi in an executable?
    I have created a LabVIEW application and have tested opening the remote panel when it is running in the full labview development suite - this all works fine. I simply go operate>connect to remote panel and enter the server address, the port (8000) and the vi name using the path "My Project.lvproh/My Computer/main.vi" format.
    However, if I then build this application into an executable I do not seem to be able to open a remote panel - it might be that I am just entering the VI name incorrectly.
    with VI name = "main.vi"  or with VI name = "C:\builds\main.exe\main.vi" and the exe. running I get the error:
    Connecting to remote panel server...
    Requested VI is not loaded into memory on the server computer
    However I am not sure how else I would enter it.
    The main.ini has the following configuration:
    server.app.propertiesEnabled=True
    server.ole.enabled=True
    server.tcp.acl="0800000008000000"
    server.tcp.enabled=True
    server.tcp.paranoid=True
    server.tcp.port=6363
    server.tcp.serviceName=""
    server.vi.access=""
    server.vi.callsEnabled=True
    server.vi.propertiesEnabled=True
    WebServer.Enabled=True
    WebServer.TcpAccess="c+*"
    WebServer.ViAccess="+*"
    DebugServerEnabled=True
    DebugServerWaitOnLaunch=False
    Both machines have LabVIEW 2011 Profesional Development System SP1 on so I do not think it is a limited remote access licence issue.
    Any suggestions as to where I am going wrong would be much appreciated.
    Cheers
    John
    Solved!
    Go to Solution.

    It appears that you can infact use remote panels within an executable.
    The problem I had was that I had left the web server port for the remote panels the same as the LabVIEW development environment. That meant that the main LabVIEW web server was getting in the way of the web server that was associated with my built application.
    With the application's web server on a different port and the VI in memory (and the file in a library/directory external to the exe if it is not the top level VI), you just need to specify the VI name such as main.vi .
    Solved!

  • TCP communication and Remote Panel programming

    Hi all:
    I am developing a LabVIEW program which is to used remotely. I am planning on using Remote Panel Access or TCP Communication for my application. I would like to know why is a better choice and what are the factors I should consider in choosing one of these. Jsut for information, I am also using serial communication in this program using RS232 cable.
    Thanks in advance,

    I am not sure what the legal aspects are for the Run Time Engine.  You will have to dig deeper or contact NI if it will not let you load it.  From what I read is:
    Additionally, the Run-Time Engine allows your browser to display VIs that are embedded in Web pages.  There are two downloads that are available. You only need to install one of them. LVRunTimeEng.exe is a smaller download intended when viewing Remote Front Panels in Web pages. It does not contain the full run-time engine, but will allow some executables to run..............
    http://digital.ni.com/softlib.nsf/websearch/1F1EBEA6D03A67E6862570A400531F97?opendocument&node=13205...
    Yes, you can have an executable and that would be the preferred method.  Start small and work up to the final version.  Start by using your developer version and have it generate the WEB page.  Using the same computer you can view the page and take control using Microsoft Internet Express.  From there build it into an application, try it again.  When all looks good then put it on the server.  You are limited by licenses on how many WEB pages you can have running.
    Hope this helps,
    Matt
    Message Edited by mfitzsimons on 11-01-2005 10:17 AM
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

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

  • How to set up full access and limited access wireless networks to laptops

    Dear Apple,
    I just received my Apple 1 TB Time Capsule. Can someone please help me with a network configuration I want to set up?
    I have a cable modem, and, three computers: a G4 iMAC (system 10.5.5), an Apple MacBook (system 10.5.5), and, a PC laptop.
    The Time Capsule is connect directly to the cable modem.
    Regarding the computers:
    (1) I want the G4 iMAC to connect directly, via an Ethernet cable, to the Time Capsule, WITH FULL ALLOWED ACCESS to the Time Capsule and to the back-up function of the Time Machine feature, and, with allowed access to my HP inkjet printer (class 6110);
    (2) I also want the MacBook laptop to wirelessly link to the Time Capsule via the Airport utility on the laptop, and, WITH FULL ALLOWED ACCESS to the Time Capsule and to the back-up function of the Time Machine feature (using WPA/WPA2 security, and, without the network name visible to third parties), and, WITH allowed access to my HP inkjet printer (class 6110);
    (3) I want the PC laptop to wirelessly link to the Time Capsule (using WEP security), but WITHOUT ACCESS to the Time Machine, WITHOUT access to the back-ups on the iMAC, WITHOUT access to the back-ups on the MacBook, and, WITHOUT access to the inkjet printer --- I only want the PC to use the Time Capsule as a WIRELESS ROUTER so that the PC laptop can access the internet.
    (4) And, finally, I want to specify (Time-Capsule/Time-Machine/server ) access ONLY to the iMAC and the MacBook, so that others cannot gain any access.
    I specifically need help to set up and configure the Time Capsule so that the PC laptop, as stated above, should have limited access to the Time Capsule --- namely, only to access the internet, and, not even be aware of stored data on the Time Capsule, not even be aware of the inkjet printer, and, not even see my WPA network name when the PC scans for wireless devices.
    I also want the iMAC and the MacBook to have access to each other’s data stored on the Time Capsule (like a common server).
    I have an old D-Link DI-624 wireless router that I used before buying the Time Capsule, which is available, if needed. Hopefully, I can configure the Time Capsule so that I would not need the old D-Link.
    Thank you in advance,
    David.

    The basic method for remote access is not changed.
    http://gigaom.com/apple/access-your-time-capsule-over-the-internet/
    You have a few issues.
    The really big one.. the school firewall should not let you connect to home.
    Check the IT admin at your school but if they allow anything but a few protocols like http and https through, they are not doing their job. You cannot afford in a large network to have every Tom Dick and Harry access any open device.. that can introduce viruses and trojans into the network behind the firewall.
    The general method for remote access on large networks is vpn and the TC offers no vpn connection.. just AFP.
    If you intend using 3G wireless stick or the like then you can get access.
    The next issue is static public IP or how to find the TC.. you need some way to find the IP if your ISP does not offer static ip, and the tc has no dyndns client. Since Apple shut down new users for mobileme and will close that service there is no method to find the TC IP without owning your own domain. You would be better placing the TC in bridge behind a router that does offer dyndns and port forward AFP (TCP 548) to it.

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

  • 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

Maybe you are looking for

  • Ipod not working with new pc

    My pc broke down and my hard drive was wiped clean, so there is no way for me to transfer any music or videos from there to my new computer to the ipod. I even authorized my new pc, so that it can transfer my purchases to a new library. But a message

  • Mac mini panasonic projecter issue

    I am connecting a mac mini to a Panasonic AE3000U full HD projector with a VGA cable via adapter (I have both Mini DisplayPort and mini dvi adapters). The image looks wonderful except that I cannot get the full horizontal width. Display is set to 192

  • Cache Clearing Problem for my website

    I have tried every single thing from this support area to clear my browser cache, but still when i open this website http://www.enukesoftware.com, it doesn't load properly the CSS files. Please help me out, its ruining my day.

  • Dynamic list to generate url variable

    Hello, I am using a dynamic list to pull product codes from a database. I then want to pass the code into a url variable when it goes to the results page. This is so customers can chose which code they want to go to a detail page about. I already hav

  • Resize animation in cs5 64 bit bug?

    Hello, I'm trying to resize an animation I have larger, it has 12 layers, and 20 frames or so on each layer.  I'm using edit multiple frames and selecting them all, and it is working to resize them, but randomly it will delete one of my objects for a