Handling User Events in sub panel vis and main vis with same Event reference Number.

Hi All, Iam trying to work to handle events in both subpanel vi and main vi.
I have a main program, and 2 sub vi. I will load the sub VI in 2 sub panels in main vi. Each sub pael vi has controls on it.
I have created 2 User events for 2 sub panels vi. One user event consits of a Cluster with 2 Booleans (x & Y) and Other User Event consists of cluster of 2 unsigned 8 Numbers (a & b). These are created and registered in the main Vi and event register refnum is passed to the subpanel vi from the main panel vi.
I have Event structure in main panel and sub panel vis.
In one sub panel vi, When the value of one boolean(i.e. X) in the clusters changes, the Events structure in sub panel vi should perform some operation in sub panel vi only. When the value of other boolean (i.e. Y) changes it should perform some operation in main vi. I will try to Generate user event with the x value and Y value changed based on the control clicks in the sub panel vi.
The OTher panel vi should behave in the smae way when the a & b value changes.
The "Generate User Event" is working fine some times and sometimes there in no event triggered in the sub panel vi or main vi.
Please let me know what is the problem Ramesh.

There is a lot of talking, but not much understanding.  It'd be better if you posted some example VI's of what you are trying to do so that the words will make sense.
One thing I can tell you is that you don't want to have two event structures handle the same event reference number.  You want to have two event registrations with each one going to its own event structure.

Similar Messages

  • If user disable cookie how to set and use session with URL Rewritting

    if user disable cookie how to set and use session with URL Rewritting by append session ID in url

    If cookies are disabled, then app server will automatically try to use URL rewriting for session control. Programmer's responsibility is to encode any links or redirects using
    response.encodeURL("/yourPage.jsp")
    and
    response.encodeRedirectURL("/yourPage.jsp")
    See API for details
    http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletResponse.html#encodeURL(java.lang.String))

  • Iam using iphone 4s and Iphone 5s with same apple ID but my network is different and whenever Iam getting call in i5s and in my both handset same calls are coming. Please provide me solutions

    Iam using iphone 4s and Iphone 5s with same apple ID but my network is different and whenever Iam getting call in i5s and in my both handset same calls are coming. Please provide me solutions

    On both devices, go to Settings>Facetime and turn off cellular calls.
    ~Lyssa

  • My husband and I have the same Apple ID number so that we can both have access to an app we use.  I don't like the fact that our calendar, notes and email is also shared.  Is there a way to separate the things we want separate yet keep access to the cloud

    My husband and I share the same Apple ID number because we both need access to an app that has a subscription and would be expensive for us to do separately.  We don't like that this shared ID number means we also share our calendar, note pages, email, etc....Is there a way to separate the things we don't want to share?

    That would be my suggestion.  Just keep using the common one for purchases in the stores.  Then each get another AppleID using a free gmail, AOL, hotmail, MS Live or whatever email account.
    Delete your current iCloud account and login with the new AppleID, and logout of Messaging and then backin with the new AppleID.  Now you have a shared iTunes/App store account, but completely separate, independent iCloud and iMessage accounts.
    You can still share calendars if you wish to, even across separate accounts - http://support.apple.com/kb/ph2690

  • How do i have CC on home and work computer with same account?

    How do i have CC on home and work computer with same account?

    Hi Markofm,
    You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each.
    If you install on a third computer, it will request you to De-activate on the other two computers.  You can then reactivate one of the previous two computers, and use Creative Cloud apps on it.
    If you regularly need to use the Creative Cloud on more than two computers then it would be best to purchase an additional subscription.  This is the same licensing between which we have for our perpetual product.  An advantage though for Creative Cloud over the perpetual product is that you can install on Mac and Windows with the same subscription!
    Thanks & Regards,
    Sanjeeta

  • Are Creative Cloud apps like InDesignCC and PhotoshopCC compatible with same in CS6?

    Are Creative Cloud apps like InDesignCC and PhotoshopCC compatible with same in CS6?

    If you mean the resulting files - no, InDesign CC files will not open in CS6. You need to explicitly save them back to the CS6 format from ID CC with all the sideeffects like potentialyl screwed up formatting. PS is a different matter. As long as PSD files are saved with maximum compatibility they will open up in pretty much any version of PS.
    Mylenium

  • How To handle User Command in Sub Screen .

    How can we handle Sy-ucomm in sub screen .

    You do that in the PAI of the screen (Process After Input)
    MODUE PAI.
    CASE SY-UCOMM.
    WHEN 'XXXX.
    WHEN 'YYY'.
    ENDCASE.
    Regards,
    Ravi

  • Is there difference between NI VISA and HP VISA?

    Now I am using Labview 5.1 to compile a program for an oscilloscope (HP 54110D), and the cable connecting the instrument with PC is GPIB/USB interface. I tried to run the driver downloaded from NI, but it didn�t work. The driver used GPIB as Instrument I/O in the driver. I decide to use Labview VISA to complete it. I know the oscilloscope supports HP VISA, not GPIB. The Agilent Company suggests using VISA. I am sure that the instrument support HP VISA. I don�t know whether HP instrument support NI VISA? Is there difference between two VISAs
    Thanks!
    Linghui

    Linghui:
    As Gerd responded, you have a choice of APIs to communicate over GPIB when using LabVIEW - the built-in GPIB (NI-488.2) functions or the VISA functions. VISA is the recommended API for all instrument drivers. But if you have an existing instrument driver for your instrument, just use it, regardless of which API it uses internally.
    Which VISA you want really depends on which GPIB controller you have. If the USB-GPIB controller is from NI, then you should have NI-488 and NI-VISA installed. If it is from Agilent, then you should install Agilent I/O Libraries (both SICL and VISA).
    LabVIEW will communicate with either version of VISA because they both implement a standard API. That's the whole point. And it doesn't matter from a software per
    spective whether the controller and instrument are from the same company.
    Also, the fact that the GPIB controller is connected via USB rather than PCI, for example, is actually moot. LabVIEW doesn't know and doesn't care because the program isn't making USB calls, it's making GPIB or VISA calls. It's the lower-level GPIB driver that handles the necessary translations.
    I hope this explains things sufficiently.
    Dan Mondrik
    National Instruments

  • How to batch change all iPhoto imported movies and keep them in same event?

    I have several years of AVI movies that won't be read in iMovie 08 but can be viewed and played using QT from iPhoto 08.
    Anybody know how i can batch convert the entire library of movies in my iPhoto library to mac happy format and keep their creation date, save them back into the same location, and modify iPHoto database to re-path to new clips then remove old? I must maintain organization as these videos are labeled, and dated and sorted according to my daughters entire life! I don't want a new folder with 1000 vidoes, I like to keep them in the 'event' folder they live in and have iPhoto point to them instead of the .avi files that iphoto has no problem with but iMovie does.
    Sounds insane, but it's the only solution i can think of to use iLife products with one of the most popular compact digital camera's in the world which saves in a format that works perfectly everywhere else within my mac other then iLife.
    I'm sorry if i sound a little peeved.. i've been desperately trying to make a solid pipeline for personal media out of my mac since i've switched over, and found that unless your media is born and dies in quicktime, the mac isn't really that friendly.

    vfman
    Not quite an answer, but perhaps the way towards an answer:
    You want to round trip these avi files out of iPhoto, convert them to a different file type and the bring them back into iphoto whole preserving all of the arrangements you have for them in iPhoto. Correct?
    You cannot do that for a very simple reason, and that is converting the file type will create a new file with a new file name.
    SO we have to be clever... and this might be a way to do that:
    1. Title the files in iPhoto to use their Creation date in the title (so we get Jan 01 2005 - Her First Steps.avi, or somesuch.) I suggest this, but there may be a way to change the file date on the new movies that I don't know about.
    2. Export the files in batches - month by month say - to the desktop and there, process them into the new format. (You'll need to research the Software for that job yourself, I'm no help there)
    Now we have a file called Jan 01 2005 - Her First Steps.mov (or whatever the suffix is going to be.
    3. Create a new library in iPhoto (hold down the option (or alt) key and launch iPhoto, choose 'Create Library' Give it a distinctive name: The great library fix, or somesuch)
    4. When you have the new library organised to mirror - as much as possible, delete the avi's from your main library, and use iPhoto Library Manager to move the reformatted files back...
    That's an approach to the issue. Have a think about it, maybe it'll spark you - or someone else to come up with some improvements - or a whole better model.
    Or, we could try and get v7 to read the movies like v6 did... what are the symptoms?
    Regards
    TD
    Message was edited by: Terence Devlin

  • "Accounting-Start" and "Accounting-Stop" with same "user name" and "session Id" recorded in different RADIUS servers.

    Hi,
    I have questions about "Accounting-Start" and "Accounting-Stop".
    1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
    2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
    To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it  an issue for RADIUS application ?
    Cheers,
    1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
    2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
    To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it  an issue for RADIUS application ?
    Cheers,

    vignesh and BalusC,
    following is the code in front controller's doFilter method. is this not thread safe?
            HttpServletRequest req = (HttpServletRequest) request;
            HttpServletResponse res = (HttpServletResponse) response;
            HttpSession session = req.getSession();
            somepackage.User user;
            if(session.getAttribute("user") == null){
                user = new somepackage.User();
                session.setAttribute("user", user);
            }else{           
                user = (somepackage.User) session.getAttribute("user");
            }user object maintains all information about a user. if it is in session scope, everything should work fine.
    another observation is after some time of usage, both people in different systems are getting same session.getId()
    in my logout page i am using
    session.invalidate();
    thanks,
    moses

  • Why don't DIAdem VIs and DAQmx VIs install when upgrading?

    Hi all,
    I'm on my third upgrade of the Developer Suite with DIAdem.  Every time I install a new version, I have to manually reinstall both the DIAdem connectivity VIs and the DAQmx VI library.  Am I missing a step in the install?  This is tripling the amount of time it takes to upgrade and introduces more opportunities for me to mess something up...overall not fun.
    Thanks.
    CLAD

    What do you mean by manually reinstall?  So for me here is how it works.
    New developer suite DVD packs come in for 2014.  Put in DVD 1, pick my products to be installed which include LabVIEW, DIAdem, TestStand etc.
    The install goes and installs all the products I picked, then at the end it asks for device drivers to install.  DAQmx is picked by default so I tell it to install and it finishes.
    At the end of this I have the newest LabVIEW, with the newest drivers.  The only interaction I have is at the start saying what products to install, and at the end saying what drivers to install.  Sure this could be more stream lined to ask about drivers up front but overall the process works.  It knows it needs to install LabVIEW before the other tools so it does.  And it knows it needs to install drivers after LabVIEW so it does.  If you are installing things one at a time, and in your own order I could see where problems could happen.
    EDIT:  Oh and I forgot the other interaction for swapping DVDs mid install.  But what I do is merge all DVDs into a single folder on the network so it doesn't prompt for DVD swapping.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Can I use both newly cloned MBPR retina and old-MBP with same Time Machine

    When my new-MBPR retina cloned from the old-MBP back up in Time Machine via migration assistance, will this newly-cloned MBPR continue thereon backing up with the same old-MBP back up in Time Machine? I.e. continuing same timeline?
    And what happen to my old-MBP back up, if I continuing to use my old-MBP with the same Time Machine on? Will TM recognised 2 different MBP and thus creating 2 back ups? I seem to have problem to keep 2 MBP running with same TM. Programs not responding even force quitting them!
    And what should I do to use both? Appreciate your help. Thank you.

    OK, but in general I can use this one device as both file storage and Time Machine.
    I thought that (for some reason) once I set up the Time Capsule to act just as Time Machine storage I would be unable to access it as a plain file storage.
    I have just tested it now, and it seems it can work as both - file storage and Time Machine. I can see the Time Machine backup file on it and folders where I can dump regular files.
    The only thing I would need to occasionally do is delete some old backups to keep Time Machine segment below 1 TB just so I have plenty of space for regular files.
    This thing is awesome. :)

  • OS 10.8 just installed. "Hot Corner" to put new iMac 2.7 GHz Intel Core i5  to sleep mode doesn't work. Have tried cordless and corded mouse with same result. Momentary sleep, immediate wake. Any idea how to fix?

    Set "hot corner" to put iMac to sleep.  Doesn't work.  Selecting the corner will momentarily put to sleep, but immediately rewakes.  Have tried all four corners with same result.  Have tried with wireless mouse and with corded mouse with same result.  Any ideas as to how to fix?

    You've been so great, I want to thank you for all the help over a very frustrating day.  Last evening, I redownloaded and installed the fresh copy of Mountain Lion.  The problem remained.  After installing the new OS 10.8, any clicks on a web page (Firefox browser) didn't open the page, but instead made a copy of the page on the desktop. Felt it must be hardware  degrading, so I set up a case with Apple support for today.  Early in the diagnostics, I had swapped out for a corded mouse and the problem remained.   As a last try, I changed out my wireless mouse for a different wireless mouse. That seems to have done the trick. My Logitech mouse is incompatible with OS 10.8.
    Thank you again, so much!
    .../awards rkaufmann87 500 points!

  • I am using firefox 4 and my website looks different in the LCD and Laptop(both with same screen resolutions). The same looks ok with firefox 3.6. Why i am getting this difference?

    I am using firefox 4 and i can see difference in the laptop and the lcd. The site looks fine with firefox 3.6 for both and also for all the browsers. Only for firefox 4, things are getting screwed in laptop, as it looks fine for the LCD.
    You can see this link as an example.
    http://www.automationanywhere.com/products/automation-software-enterprise.htm.
    Even the footer doesnt shows the css in laptop, but the same is fine for LCD.
    NOTE: I have tested this on most laptops.

    Well I see that you and I share the same problem, I posted the same type of question and am anxiosly awaiting replies on this topic, as it is very important
    I own a small business, and every hour a customer cannot view my site is a customer lost to incompatibility issues.
    I hope someone can help answer these issues.
    http://www.siegfriedscall.com

  • Import and Export variables with same name

    The nco3 throws and exception when a function has Import and Export variables with the same name.
    An example is BAPI_BATCH_CREATE.
    At the moment my solution is create a ZBAPI_BATCH_CREATE that wraps the original BAPI but  has diferent names for import and export variables (IBATCH and OBATCH for BATCH variable).
    Anyone has another more clean solution?
    VB.NET CODE:
    pFunct = foRFCDest.Repository.CreateFunction(fsFunctionName)
    This is the error message:
    SAP.Middleware.Connector.RfcInvalidStateException was unhandled
      Message=Lookup of function BAPI_BATCH_CREATE metadata failed for destination SAPTST
      Source=sapnco
      StackTrace:
           en SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadataClassic(String name)
           en SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadata(String name)
           en SAP.Middleware.Connector.RfcRepository.GetFunctionMetadata(String name)
           en SAP.Middleware.Connector.RfcRepository.CreateFunction(String name)
           en SapNetConnectorWrapper.FunctionBase..ctor(RfcDestination foDest, String fsFunctionName) en C:00_Compac201101_LibreriasSapNetConnectorWrapperFunctionBase.vb:línea 11
           en SapNetConnectorWrapper.BAPIS.Bapi_Batch_Create..ctor(RfcDestination foDest) en C:00_Compac201101_LibreriasSapNetConnectorWrapperBAPISBapi_Batch_Create.vb:línea 16
           en clsEtiquetadoTNPCommon.BLLEtiquetadoTNP.CrearLote(DynamicSqlEntity& foRegCabecera, DynamicSqlEntity& foRegNotificacion) en C:00_Compac201100_EtiquetadoTNP_PTEtiquetadoTNP_PTclsEtiquetadoTNPCommonBLLEtiquetadoTNP.vb:línea 515
           en clsEtiquetadoTNPCommon.BLLEtiquetadoTNP.CrearLotesPendientes() en C:00_Compac201100_EtiquetadoTNP_PTEtiquetadoTNP_PTclsEtiquetadoTNPCommonBLLEtiquetadoTNP.vb:línea 602
           en WAEtiquetadoTNP.Form1.Timer1_Tick(Object sender, EventArgs e) en C:00_Compac201100_EtiquetadoTNP_PTEtiquetadoTNP_PTWAEtiquetadoTNPForm1.vb:línea 25
           en System.Windows.Forms.Timer.OnTick(EventArgs e)
           en System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
           en System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
           en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
           en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
           en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
           en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
           en System.Windows.Forms.Application.Run(ApplicationContext context)
           en Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
           en Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
           en Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
           en WAEtiquetadoTNP.My.MyApplication.Main(String[] Args) en 17d14f5c-a337-4978-8281-53493378c1071.vb:línea 81
           en System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
           en System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           en Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           en System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           en System.Threading.ThreadHelper.ThreadStart()
      InnerException: SAP.Middleware.Connector.RfcInvalidParameterException
           Message=Cannot add BATCH to FUNCTION BAPI_BATCH_CREATE: an element with that name already exists
    Source=sapnco
           StackTrace:
                en SAP.Middleware.Connector.RfcContainerMetadata`1.AddElement(T element)
                en SAP.Middleware.Connector.RfcFunctionMetadata.AddParameter(RfcParameterMetadata parameterMetadata)
                en SAP.Middleware.Connector.RfcRepository.LookupFunctionMetadataClassic(String name)
           InnerException:

    Hi Raul
    Even I am getting the same error for below BAPI
    Lookup of function BAPI_FAMILY_CREATE metadata failed for destination
    Inner Exception: Message     "Cannot add EMPLOYEENUMBER to FUNCTION BAPI_FAMILY_CREATE: an element with that name already exists"     string
    I am using the new NCO 3.0.2.0 x64 version.
    Is there any other solution other than creation of Z BAPI.

Maybe you are looking for

  • New Macbook hard drive can't locate Time Machine files of backup on external drive

    I just got my hard drive replaced as it was failing.  Just before I took it to the apple store I backed up my hard drive using time machine, on a separate hard drive: phew!  I checked that time machine was operating fine before I took it in to get th

  • Hot to fix Lightroom 5.3 appcrash, Win 7

    In any catalog, when I try to use the publish service, Lightroom 5.3 crashes. I have the Impact WSPP Publish service Here is the crash info: Problem signature:   Problem Event Name:    APPCRASH   Application Name:    lightroom.exe   Application Versi

  • Premium rate texts.

    My mother, a 77 year old lady who hardly understands English language, has been sent unsolicited premium rate text messages by 3 companies to her  Nokia 3410. [She uses it only to call and receive calls from her family. No personal sms messages, what

  • Configure content presenter within webcenter spaces

    Hi everybody, I want to display content in webcenter based on current local. For exemple: if the corrent local is en, the content presenter should display files which the name contains "_en". How can I do that either by customizing the content presen

  • Has someone hacked into my account?

    Hello, I recently went into my app store to update some apps. When I tapped Update, I was asked to sign in. I did so, and then I was told that a new device had logged into my Apple ID and attempted to purchase an app, and I needed to verify my accoun