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.

Similar Messages

  • I am trying to use firefox as the web lauch for citrix ica but when I go to login into remote site - I get the message waiting to find website but it nver finds the website. Has anyone else had this problem?

    I am trying to use firefox as the web lauch for citrix ica client but when I go to login into remote site - I get the message waiting to find website but it nver finds the website. Has anyone else had this problem?
    When I installed firefox, it asked if I wanted to use safari settings and I said yes but I think this might be causing the problem. Safari is no longer compatible with citrix ica client. When I reinstalled firefox it automatically installs the safari info. Does anyone know how to re-install firfox without installing safari info?

    Did anyone ever suggest you reset your PRAM?
    http://docs.info.apple.com/article.html?artnum=2238
    Also might want to try resetting the SMC, although I
    doubt there's an issue there.
    http://docs.info.apple.com/article.html?artnum=304123
    I'm getting tired of people who supposedly know what
    they're doing simply guessing that resinstalling the
    OS might solve the issue. It's like trying to dissect
    a frog with a sledge hammer, and wondering why you
    didn't learn anything about anatomy in the process.
    These sorts of things, although bizarre, should be
    (and probably are) fixable without major surgery.
    Thanks for the suggestion... but I think my first question would be why these parameters would need re-setting? This is a new machine... It has never been shut down hard. It is used at most 10 hours per week... mostly using Office 2004 for MAC. I need to figure this out as I will soon need it as a Cs2/CS3 - Aperture workhorse.
    I too agree that it is best not to use a sledge when a scalpel is needed... but as a novice to the MAC world I may have been misled by Apple support. I seems to have fixed the symptoms ( some) but appears NOT to have addressed the cause... which is what I am after.
    Would TechTool Pro detect a bad HD or RAM?
    Thanks....

  • Bug in Tab Control when inserted into SubPanel

    Just would like to report about pretty old bug, which is still present in latest LabVIEW 2013 SP1 13.0.1f1.
    I would like to insert SubVI with Tab Control into SubPanel, something like this:
    When SubVI executed, then I will set it to Page 2:
    Now what I've got in my SubPanel:
    Page 2 is active, but selector is not actualized - still show me active Page 1. Fully inconsistent.
    Not sure if it was reported already or not, but needs to be fixed from my point of view.
    Attachments:
    main.llb ‏25 KB

    mikeporter wrote:
    But yet another problem with tab controls... 
    Seriously though, if you are already using a subpanel why complicate matters with a tab control?
    Dynamically swap VIs in and out of the subpanels to present the same user experience as there was with the tabs.
    You're right - there are many ways to workaround about this bug. For example, if I will use Property Node instead of terminal or local variable, then it will working properly.
    This contstruction with tab control in subpanel used in my settings dialog. I have modular plugin architecture, and some plugins may have settings, so they organised in the same way as LabVIEW Options dialog - listbox with installed plugins and subpanel, where according subvi from plugin is inserted. Mostly all plugins fit into my dialog (which is not resizible at this moment), but some modules have lot of settings - then they splitted into groups and the tab control is used (NI does this with vertical scrollbar, which is also not perfect).
    When user made changes in settings, then last opened page is saved - when this dialog opened next time, then user should see last page - this is why I need to set page programmatically.
    Really, I don't like to change whole architecture for workarounding bug in LabVIEW just for few modules. At this moment I using property node and it works for me.

  • RFC\BAPI to login into remote system with user id's in that system

    Dear Friends,
    I have a requirement to run a job .In that job, i need to login into other remote system with the user id's in that system.
    May I know, is there any remote function module or BAPI available.
    Let me know how to solve this issue.
    Regards,
    Madhu..!!

    Hi Divakar,
    As far as I know, there isn’t this feature of remote test in VS2013.
    I suggest that you could submit this feature request:
    http://visualstudio.uservoice.com/forums/121579-visual-studio. The Visual Studio product team is listening to user voice there. You can send your idea there so the others can vote it. If you submit this suggestion, you might post that link here which will
    benefit others who has the similar issue
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to stop a while loop when using tab control

    How do you use a tab contol to stop what is happening on one tab when you switch to another tab?  In the test example I attached, I have a while loop nested inside a case structure controlled by the tab control.  When I tab to page two the elapsed timer starts but when I switch to another tab it does not stop.  I can't come up with an easy way to stop or exit the while loop when I change tabs. 
    Thank you
    Danny
    Attachments:
    tab control.vi ‏24 KB

    I played with it a little more and came up with this fix.  This fixes it but is not tied to the changing tabs as I was looking for.  Is this just too many nested loops and a bad idea?
    Danny
    Attachments:
    tab control fix maybe.vi ‏26 KB

  • Using tab control

    Hi everybody,
    first of all I have to say I'm pretty new to LabVIEW.
    I am working with LV PDA 7.1, a pocket PC 2003 device and a NI-DAQ6062E
    I have to develop an application for my thesis, which acquire data through the DAQ6062e connected to the PPC and to use the wifi to send this data over TCP to a desktop PC.
    So let us say I have a client running on the PPC and a server on a remote machine.
    Now the problem. On PPC the screen is rather little so I thought to use tabs to overcome this problem. I want that my application acquires data and display it on a Chart on the PPC and if chosen by the user, that it sends data over TCP.
    So I've put netwprk settings on a tab and acquisition settings and chart on a second tab.
    But if I start acquisition, I can't change tab anymore.
    So, is there a way to make this possible? Something like it was multitasking
    I hope I've explained myself, sorry for my bad english and thanks in advance for answers!
    G.Paolo Mazzola

    Yes Globals are bad, and I only suggested them as a method of getting a sloppy version functional, with globals and multithreads, race conditions can occur and are a real pain to debug. To use message passing between threads is simple, create 2 loops, and pass the result of an "obtain queue" to both loops. now we have a reference to a common synchronization object which will allow us to communicate between threads. This is a simple consumer producer model, one thread will enqueue data (each quque is created with a specific data type, any labview data types including custom clusters) and the other thread can wait on the queue usind dequeue and an infinite or set timout or even periodically check the queue to see if it has any elements in it. I have attached a simple example. I hav not had to send data bi dirrectional in labview, this case is harder than the producer consumer model. I have included a LV 7.0 simple example of passing strings between threads. You can change that rate (period in ms) of the read write and timouts to see how it affects the queue.
    -Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA
    Attachments:
    Queues.vi ‏49 KB

  • VISA control putting devices into remote mode

    So, I drop a VISA control on my fp. What I think is happening is when it populates, it is sending an *IDN? command to all the devices in the measurement and automation explorer. The problem with this is, some of the devices are in local mode, but if they detect something coming in over GPIB, they automatically switch to remote. I haven't tested it, but I have replaced the VISA control with a string control whos proper GPIB value is set from an INI file. I'm assuming this will solve the problem.
    However, is it possible to have the VISA control on the fp and populate without it sending these devices into remote mode?
    Message Edited by for(imstuck) on 05-18-2010 11:48 AM
    CLA, LabVIEW Versions 2010-2013

    Ravens Fan wrote:
    I don't understand what you mean by "So, I drop a VISA control on my fp. What I think is happening is when it populates, it is sending an *IDN? command to all the devices in the measurement and automation explorer".
    I don't know of any reason why that should happen.  Try running NI-SPY or Portmon before doing this and see if you can capture a *IDN? command going out when it shouldn't be.
    K, I'll do that. I guess what I assumed is when it (VISA ctl) populated its self, it went out and tried to find what instruments were actually there in order to know what to put in the VISA control drop down (i.e. GPIB0::1::INST,GPIB0::2::INST, etc). I assumed it may be doing this with an *IDN? command. I'll run the capture and see what's happening. For some reason when I start my program up, it's clearly sending other devices into remote mode by sending them something over GPIB that I'm not controlling. I know this because if I highlight execution, my code is in the idle state when these devices somehow get switched.
    Hopefully NI-Spy will show me something.
    CLA, LabVIEW Versions 2010-2013

  • Need Example how to use Tab Control properties...pls?

    Hi all,
    I would like to request for an example on using the Tab control and how to use its properties.
    Thanks in advance,
    juni

    Searching for Tab Control on NI Home yields several results. I find the following relevant to your request. I'll suggest you repeat the search for more examples.
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/bcf35c2bdbf132d786256945007d8004?OpenDocument
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/c050233a993f14f88625698e007eb082?OpenDocument

  • Black screen after successful login into Remote Session

    Hi,
    I am having windows 8.1 pro(64bit) and windows 7 pro(64bit) machines using which i am trying to connect to a remote VM with windows 7 enterprise through vpn client 5(64bit). After successful login, BLACK SCREEN with Connection bar is displayed. Ctrl+Alt+End
    did not work.
    In fact, a strange behaviour experienced. After failing once, i tried again with IP address instead of host name. Bingo, it works well. Then disconnect and try to reconnect, problem repeats. What i mean is, the problem is neither Consistent not persistent.
    I am frustrated trying to solve the issue. Blogs, forums, communities.... where ever what ever solutions suggested, tried without any luck. Any help please ? Thanks in advance.

    Hi,
    Thank you for posting in Windows Server Forum.
    From your description it seems that you facing Black screen issue, but when you tried with IP address you can logon to the remote session but during reconnection issue repeats. Correct me if misunderstand your case.
    From last how may days you are facing this issue?
    Can you find any suitable error\event ID for this case?
    For this firstly please check that you have proper connectivity between systems. Please check that you can Ping successfully to the remote system with IP address and hostname. 
    Might this issue caused by some stopped service “Desktop window manager session” which stop after RDP login. You can check the status as follow.
    1. After the issue appear, please use RDP connect to the computer again and check the Desktop Window Manager Session Manager service status. 
    2. Then, please restar the computer and check System Event log to check if has a Desktop Window Manager Session Manager service error.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Tab Control doesn't execute

    Dear all,
    i am working on an application with multiple front panels. so i am using tab control to shift from one panel to another.
    its working fine for all the cases except one.
    i am attaching the pic on that case where a particular page is called and it doesn't get executed.
    pls have a look at it and let me know where is the problem
    Thanks,
    Ritesh 
    Solved!
    Go to Solution.
    Attachments:
    Main with Tab_BD.png ‏44 KB

    What version of LabVIEW?
    I have seen a bug in LV 8.0 and 8.2 where:
    If you DEFER PANEL UPDATES,
    Set the TAB control to tab X
    Un-DEFER PANEL UPDATES.
    then the TAB control will show tab X in front, but what's on the page is from some other tab.
    In other words, it changed the tab doohickey itself, but didn't change the contents.
    The workaround was to change the tab via a PROPERTY NODE : VALUE function, rather than a local variable.
    I suggest you give that a try. 
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • 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

  • Can i use webserver other than that is provided by LabVIEW to view remote panels?

    How to view remote panels using webserver (not inbuilt of labVIEW)? Is it possible to communicate with other webserver? if yes which VIs to be used?

    What do you mean "use another web server"?
    The remote panel publishing is an integral part of LV. I don't think it can just be detached.
    You can write your own code which will grab the image of a front panel, send it to another VI and have that other VI capture the mouse clicks and send them back to the original VI which will then simulate them. You can also use something like VNC, PCAnywhere or XP's terminal services to remotely connect to the computer (or LabVNC to connect directly to a VI).
    Why not use the built in web server?
    Try to take over the world!

  • How to control the tab control using event structure?

    Hi,
    I am using tab control and event structure in the program.
    When i run the application event is not happening for the active page.
    When user switches from active page to the other page then event is taking place for all pages
    So, how to get the event trigger for the active page when the application is started
    For more clarification i am attaching the code "Test Control Tab using Event Structure.vi"
    Attachments:
    Test Control Tab using Event Structure.vi ‏52 KB

    You have a basic misunderstanding of dataflow. Maybe you should start with some tutorials or study some of the examples that ship with LabVIEW.
    The event structure belongs inside the while loop, and not vice versa. RIght now, the event structure only runs exactly once and never again.
    If the stop is pressed first, the VI will stop. Game over.
    If the tab control is changed (from any state to any other state!), the inner loop will spin forever as fast as the CPU allows, either executing one or the other case. It just reads the tab terminal to decide which case to execute. Changing tab never triggers any events. The VI is trapped inside the event until stop is pressed to stop the VI.
    you were closer to a reasonable program in the other thread:
    http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=287905
    Have you tried execution highlighting? Maybe things would become more clear of you do.
    LabVIEW Champion . Do more with less code and in less time .

  • Tab controls

    I have a program with 3 tabs using tab control. The first tab is a login
    screen (because this will be used for remote fron panel use), the next is a
    configuration tab and the last is the execution.
    The login tab is an event structure waiting for a value changed on the
    "login" bool button.
    The config tab is a while loop that updates different settings which are
    later being read from the execution tab and is also used for running small
    test executions from within the config tab.
    The execution tab is a while loop that reads settings from the config tab
    controls and actually manipulates I/O ports.
    So far so good. Now, when the VI is started, I switch to the login tab and
    disable the others by use of a property node and references. Works well.
    Once the user is l
    ogged in, I disable the login tab and enable the others
    and jump to the last tab. Works OK as well.
    Problem: If I start the VI when any other tab than the login tab is in
    "focus", that tab will continue running and you can never log in because the
    login tab will never get "its turn" even though it will actually disable the
    other tabs and put the login tab in focus. Also, I would like for the tabs
    to stop running when I switch to another tab and continue when I switch back
    to them, thereby only having one while loop running at a time.
    Right now, if I stop the while loop in one of the tabs the whole program
    stops.
    Can anyone help me in the right direction?
    TIA,
    - Soren

    I never thought of the tab control as an actual control, but more of a
    display device. Anyway, you can make a local variable from the tab and
    write a constant to it to switch between tabs.
    "Soren Maigaard" wrote in message
    news:ap284d$c22$[email protected]..
    > I have a program with 3 tabs using tab control. The first tab is a login
    > screen (because this will be used for remote fron panel use), the next is
    a
    > configuration tab and the last is the execution.
    > The login tab is an event structure waiting for a value changed on the
    > "login" bool button.
    > The config tab is a while loop that updates different settings which are
    > later being read from the execution tab and is also used for running small
    > test executions from within the co
    nfig tab.
    > The execution tab is a while loop that reads settings from the config tab
    > controls and actually manipulates I/O ports.
    >
    > So far so good. Now, when the VI is started, I switch to the login tab and
    > disable the others by use of a property node and references. Works well.
    > Once the user is logged in, I disable the login tab and enable the others
    > and jump to the last tab. Works OK as well.
    >
    > Problem: If I start the VI when any other tab than the login tab is in
    > "focus", that tab will continue running and you can never log in because
    the
    > login tab will never get "its turn" even though it will actually disable
    the
    > other tabs and put the login tab in focus. Also, I would like for the tabs
    > to stop running when I switch to another tab and continue when I switch
    back
    > to them, thereby only having one while loop running at a time.
    > Right now, if I stop the while loop in one of the tabs the whole program
    > stops.
    >
    > Can anyone help me in the right direction?
    >
    > TI
    A,
    >
    > - Soren
    >
    >

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

Maybe you are looking for

  • Write html to adf page?

    Which one component can display html on jsff page? I dont know how to write hml document on adf page for example on popup? Html read from database like blob. Edited by: user12985010 on 14-Apr-2010 05:02

  • Readonly database and v$ views

    I would like to know when a database is open in read only mode, is all v$ views are updated to know performance about it ? example : v$session, v$sysstat... for ratio.

  • LDAP in authentication and authorization

    Hey guys, so i'm trying to develop a security model for my company using apex and active directory and i'm running into a few barriers. what i need is to have a application that connects to active directory, authenticates that they are on the network

  • Export notes in pdf

    How do I export the notes (yellow notes sidebar ) with the document while exporting to PDF? Is it even possible?

  • FB01 invoice creation with IDOC INVOIC02 - Profitability Analyses

    Hello All I currently use INVOIC02 Idoc to create invoices (FB01). FM : IDOC_INPUT_INVOIC_FI I use the E1EDP30 segment with QUALF = 046 to fill CO-PA Object. I don't manage to fill imputation fields of this object like sales order number or customer