Force user to release control of vi

Hello,
I would like to create a VI that is automatically invoked at set intervals to collect data.  I would like to make it reentrant so that a remote user can utilize this VI when it's not involved in one of its scheduled data collections.  My current problem is that I need a way to kick off remote users who may be playing with a VI when it's time for that same VI to start an automatic data collection.  Is there a way to programmatically force a user to give up control of a VI so that the automatic data collection can begin?
Thank you in advance for any help you can provide.

I did a little more development today and came up with the following solution for my problem.  I'm hoping someone can tell me if it's sound.
First, I think making my VIs that control hardware reentrant is not a good idea and am currently planning to make them non-reentrant.
So, my solutions is this ....
My C++ application will talk to a "VI Menu.vi" via TCP/IP.  My app will request that the VI Menu.vi open a specific VI, pass it certain parameters and then actually run the VI.  The Menu VI listens for these types of requests and if it receives one it checks for current remote connections on the requested VI using an invoke node.  If a remote connection is detected the connection to the associated client is closed, also using an invoke node.  If a connection is not found, the VI is run as requested.
What caveats should I be considering?  I'm attaching a jpg with part of my Menu VI block diagram so you can see exactly what I'm doing.
Thanks again to anyone with advice!
Attachments:
VI.JPG ‏90 KB

Similar Messages

  • OIDH - User specific print control

    Hi Experts,
    In OIDH, we used to maintain user specific print control for the combination of Planning Plant & Planner Group.
    There following same entry was maintained in 2 different ECC instances(Testing & Quality)
    User - No entry(blank)
    Planning Plant - *
    Planner group - *
    Shop paper - No entry(blank)
    Output device - LOCL
    New Spool Request - enabled
    Print Immediately - enabled
    Delete after output - enabled
    In Testing environment, For a released work order, when i select Order-> Print -> Order, a pop up appears showing the entries of Shop papers.
    In Quality environment, For a released work order, when i select Order-> Print -> Order, a pop up appears mentioning "No user-specific shop papers are defined".
    Could you Pls let me know what could be the reason for the same User specific setting, Testing & Quality instances are behaving in a different way.
    I hope the Quality system displays the right output message for the above Config setting.
    Regards,
    Karthik Bhaskaran

    Please make changes in the following fields
    User - No entry(blank)  Instead of blank  " * "
    Shop paper - No entry(blank) Instead of blank  " * "
    Create the transport and move it to Quality and test it.
    Hope this helps.
    Thanks
    S.N

  • Internal microphone doesn't release control

    When I try to use an external microphone (Bluetooth or USB) the internal microphone don't release control to the external microphone. thus I then have two microphones receiving input from both microphones and my programs can't recognize my speech to input.
    Can anybody help?

    i got a macbook pro, 2 weeks ago, the 2.53Ghz unibody aluminium, the desing of this mac is great even tough the system specs are really low for the price actually, im happy with it(the hardware)...
    The only reason i got this is cause apple claims to support windows, i like Mac OS, but i work on windows i need it... if theres no windows capability in mac i wouldnt ever buy one, so this issue is really bothering me A LOT. my impresions about apple are changing after seing this topic filled with questions and not a single moderator answer, go and check a logitech forum and see how they take care about user problems.

  • Release Controled code and the Cloud i.e LR 5.3rc

    Lightroom 5.3rc has just been announced.  What are the options for user contol over using Release Controled code if you are using a Cloud version of the LR code?
    This something it would be nice to know, before making a commetment to use the Cloud.

    I finally installed Adobe Lightroom CC app successfully, but Photoshop CC did not load due the 'download appears corrupted'. No other help is offered except to try again in a few minutes which I have several times to to no avail. Code U43M1D204 was provided.

  • When will Mozilla force users to download the FF 4.x?

    with certain apps not working with FF v4 how long do we have before Mozilla forces users to upgrade to 4.x?

    You are never forced to download Firefox 4.0, it is an optional upgrade.
    Mozilla are currently also releasing updates for Firefox 3.5.* and 3.6.*

  • Force users to connect to the cable LAN?

    Hi everyone!
    I am a IT-administrator at a school in Norway with at least 470 computers in total. We use ZENworks 11 on about 350 of them.
    The largest problem for us is to make sure everyone using their laptop, connects to the local cable network at out school, so the computer get windows updates, policies, upgrades and other software installations and reports. About 60% of the laptops is never using the local cable network.. this is a problem since we are controlling the computers through Zenworks agent (patch, and so on)
    And if they are on the local cable network, they only use their local user, so that the policies and so on published with zenworks or active directory is never updated. This is a security issue for us!
    Is there a policy or similar to force users to connect to the local cable network, meaning: If f.ex they do not connect to this network within 30 days, the local user will be disabled (not the built-in local administrator) or anything that forces the user to contact the IT-department to enable the computer again?

    romsdal,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • RE: Force user to re-login if the application is idle for awhile!

    Hi,
    I a similar thing a little while ago for an application written in a 4gl (not Forte) running
    windows 95 clients. I ended up dropping out to "C" and using the SDK to install
    hooks which monitored certain mouse and keyboard events to the application.
    It ended up being less than 10 lines of code in the end whereas when I tried
    to do it within the 4gl it was looked like wholesale changes to lots of code.
    This option fell down when the user was reading their help file or updating
    a word document so we added a pop-up which came up at the front of all applications
    on the PC giving the user a further minute to respond so as not to annoy the genuine
    user who was still "there" but doing something else.
    I have not had the chance to try this in Forte yet but it should be possible.
    If you think this might be an option for you I will try and cobble together an
    example.
    Dalton
    ===============================================================
    Dalton Cranston 45 Castle St.,
    GO5 Ltd Reading. RG1 7SN
    E-mail: [email protected] United Kingdom
    URL: www.go5.com Phone: +44 (0)1189 589 555
    Fax: +44 (0)1189 587 467
    -----Original Message-----
    From: Lu Wang X1 [SMTP:[email protected]]
    Sent: 13 February 1998 17:45
    To: [email protected]
    Subject: Force user to re-login if the application is idle for a while!
    Hi;
    For some security reasons, it requires our Forte application to force user to
    re-log into the application if the user doesn't use this application for 10
    minutes. The problem and difficulty to us is that how to determine there is no
    activity going on for this application on the client's PC.
    Any thought and ideas will be greatly appreciated!
    Lu Wang
    Eli Lilly and Company
    [email protected]
    (317)276-5776

    Hi Rick,
    Thanks for the Reply.
    When they are doing some action with RF id system gave DUMP - ITS_TEMPLATE_NOT_FOUND.
    With this is there any efect on Table locking.
    We got the dump on the ITS screen where as at the same time in back end ECC system TABLE data is using.
    Thanks
    Naresh

  • How to force user to enter supplier/customer name in captial letters in R12

    Dear all,
    Could anyone pls advise how to force user to enter supplier/customer name in captial letters in R12? Can I do it using OA framework personalization?
    HY

    Pl post exact versions of OS and EBS.
    The ability to do this exists in forms (professional user interface) using forms personalization, but does not exist in the OAF (self-service) interface, AFAIK. See related MOS Doc 399892.1 (Is It Possible To Restrict Employee Name Entry To All Upper Case in the PUI And SSHR ?) for some details.
    Pl confirm by opening an SR with Support.
    HTH
    Srini

  • Forcing user to enter values at table level

    Hi,
    I have created a table ztest. How to force user to enter the values for certain fields in the table which are not keys, similar to not null in RDBMS. selecting the initial values filed in SE11 populates with some default value, but it doesnt force the user to enter the value.
    Regards,
    Raghu

    Hi,
    Just check out transaction code SE54 for events.
    Go in SE54.
    Give your table name.
    Go in Environment --> Events.
    Here add the Event '01' i.e. Before saving the data.
    Give the name for event eg 'BEFORE_SAVE'.
    Click on Editor to create an include program.
    In the include program write
    form before_save.
      data: f_index like sy-tabix. "Index to note the lines
      loop at total.
        if <action> = 'N' or <action> = 'U'.
          read table extract with key <vim_xtotal_key>.
          if sy-subrc eq 0.
            f_index = sy-tabix.
          else.
            clear f_index.
          endif.
          "(make desired changes to the line TOTAL)
          "End of Modification.
          modify total.
          check f_index gt 0.
          extract = total.
          modify extract index f_index.
        endif.
      endloop.
      sy-subrc = 0.
    endform.
    Note here in field symbol 'Total' your workarea will be their. You can make necessary checks here.
    Or else you can go for making a custom transaction for your requirement.
    Regards,
    Nitin
    *Mark all helpful answers

  • Release strategy: User should release only with his highest release code

    Hello,
    Because of personel absences we want to configure the release strategy so that:
    User A or user B releases in the normal case the first level of a PO (with release code 01).
    User C (Manager) releases after release code 01 with release code 02.
    User A is deputy of user C. In this case user B will release with code 01 and user A will release with code 02.
    Because user A can use depending of the case release code 01 or 02 (C deputy) it must be avoided that user B sets release code 01 and 02 for the same purchase order.
    Do you know about a solution for this issue
    Br
    Manuel

    Dear W1N,
    But the systems knows that A released with code 01 and when A tries to release  with code 02 the system knows that the same person of release code 01 is trying with release code 02.
    <b>The aim is to avoid the second release from the same person and not to automate the release strategy.</b>
    In such a case A has to cancel the release for code 01 (ME28) and wait until B is reachable to do the release of code 01.
    When C is absent A knows that his task is to release code 02.
    Is this check really not possible?
    Best regards
    Manuel

  • Force user to connect to specific Persistent Chat server

    We plan to have 2 persistent chat servers in a single pool that will span 2 sites.
    1 Persistent Chat server in Site A
    1 Persistent Chat server in Site B
    Is there a way to force users in Site A to connect to the Persistent Chat server in Site A and for users in Site B to connect to the Site B Persistent Chat server?

    That is possible.
    For example, you have on DNS server DC01 in site A, and you only have a DNS A record point to the IP address of persistent chat server in site A, then you use DC01 as the DNS server for users in site A.
    You have on DNS server DC02 in site B, and you only have a DNS A record point to the IP address of persistent chat server in site B, then you use DC02 as the DNS server for users in site B.
    But it is not recommended. If one persistent server is down, users in one site won’t have group chat feature.
    Lisa Zheng
    TechNet Community Support

  • Button that initializes values then releases control of further booleans

    I am attempting to create a button that turns on a series of other buttons but then releases control to allow individual switching. The problem is that for my project I must run the labview file continuously so when I change a control switch to true it keeps the value of the other booleans true. For example, I flick a switch to turn all the lights on at the same time but then later want to have the power to individually turn particular lights off. Then also have the ability to turn all the lights off again with a click of a button. I'm having trouble figuring this out. I don't have much so far, sorry for that. 
    Solved!
    Go to Solution.
    Attachments:
    Switches.png ‏18 KB

    Attached are the 3 files necessary for running the Matrix Control VI. It's basically a solar tracking program. 
    Attachments:
    MatrixControl.vi ‏38 KB
    Building Location.vi ‏8 KB
    angular placement compensation.vi ‏17 KB

  • Force user to enter text if checks YES check box

    I have created a form with YES and NO check boxes.  If user checks YES, they need to provide written reason.  Is there a way to "force" user to enter text into text box if they check the YES check box?
    Thanks,
    Toyro

    Hi Jodi,
    Yes, it has to be saved as a dynamic PDF.
    Additionally, there are some name mismatches in your form so the script was failing. My script defined page 1 as 'page1' while your form defined page 1 as 'Page1'. I renamed your form page 1 to 'page1' and the script worked fine.
    I would recommend enabling the debugger in Acrobat for form developement. See Edit > Preferences and enable the following:
    I added an additional button with some script on the button 'click' event.
    The purpose is to intervene in the submission process, in your case submitting by email. With a single submit button the email dialogue fires regardless of failed form validation. By introducing a second button you can do form validation before enabling submission. The attached form has a visible button called 'submitBtn' and your original 'Submit By Email' button which is declared as 'invisible'. My 'submitBtn' is labelled 'Submit By Email'. When the button is clicked is does form validation. If validation succeeds, I call form1.page1.Button1.execEvent("click"); to submit to the email address attached to 'Button1'.
    Take a look and see if it fits your requirements.
    Steve

  • Forcing users to select existing properties in New User Request form

    Hi,
    We have just started using Service Manager and Orchestrator.  So far we have successfully managed to create user accounts using orchestrator and service manager.  Now we want to start forcing users to utilise the information we already have in
    our existing Active Directory environment.
    So for example, in the new user request form we want users to select an existing "office" using the attributes already in Active Directory as opposed to allowing them to type in an office and potentially accidentally misspelling the office name.
     What we would like to see is a unique list of offices and a user to select  
    How can this be achieved?  Any help would be greatly appreciated.
    Thanks

    Well, if you don't want to create a list manually, create a sealed management pack that defines the root of the new enumerator. Then create a workflow that will pull all users from AD, build the list of the locations used in AD and update the child enumerators
    if required.
    Cheers,
    Marat
    Site: www.scutils.com 
    Twitter: LinkedIn:
    Graveyard:

  • How to users from releasing a contract that they have created

    Hi,
    can someone tell me how tp stop users from releasing a contract that they have created and or changed.  It should be released by a different user.
    I've been doing some investigation, and it looks as if function module EXIT_SAPLEBND_002 (SAP Enhancement M06E0004) might be the User-Exit that I may need. Does anyone know if this is correct?
    John

    Hi,
    You posted your query to wrong forum, should be posted to MM forum.
    Anyway probably your users have the authority of transaction code ME35K (Release) and authority object M_EINK_FRG (Release Code and Group (Purchasing)) to be able release contract that they created.
    Regards

Maybe you are looking for