problem with tab structure control and event

Hello

My program has a tab control. In each tab, I have an event structure to control some events.

I encountered some problems. These are:

1. in each tab, I set tab as an event control, to altogether from the structure of the event as tab change (for example, the image below). My first problem is that when I change the tabs, in the arch depending on whether my program is entered in the next tab environment, happening at the event: change value to main tab! And gives bad result.

2 - I've scheduled two final tabs as below in the image. I had no routine in these two tabs. Simply, I want when I change the tab, it goes to the next case of the tab control. But when I run the program, it goes to something as busy after one or two changes tab and did not work properly.

Could someone help me please?

Thanks in advance

Baran

Rebecca wrote:

I want to have 4 tabs, each tab having 3 Boolean control.

If in each tab all Boolean control wins 1, a Subvi should be run.

I wrote this code with some time within each tab loop this case hase 3 for each Boolean control. The result is true.

But I think that if I write it with a structure of the event within each tab instead of 3 cases, the cpu load will be lower.

Is it not true?

Make a unique Structure of the event.

Add events for all controls (buttons, Boolean)

When the event is triggeredcheck for active tab control and decide what void / vi to run

It will work fine you

Tags: NI Software

Similar Questions

  • Problems with .chart-field-background and event managers

    Hello. I am trying to add event handlers to my chart, so that the user can be allowed, click in the chart itself to perform certain actions such as moving, zooming, etc.. To avoid having to deal with the manipulation of mouse clicks that are not the card itself (for example on the axes), I found that:

    . Chart-field-background

    is the area which gives me all of the graphic and nothing else. However, when I move the mouse listeners in this region, the event is recorded only on half of the cells in the table. If you've seen the lack of available JavaFX graphic of background, you know that it contains lines in alternation of cells with a slightly different color. I found that only lines with lighter gray coloring record actually a mouse click on them, which makes me believe that dark grey cells do not form part of the background-field-.chart, but something else on top.

    For me, this is is a failure in the way the map regions are defined. Why can't I get a listener to work in the graphical overview and nothing else? Currently, the only solution seems to be to take the region:

    . Chart-content

    instead and calculate the difference between this region and the .chart field bottom to manually remove mouse clicks that are outside .chart-field-background.

    Someone at - it suggestions? This is true on the JavaFX Jira issue?

    Hello

    I'm not an expert on controls, but here is my suggestion based on your description: when you register an event handler on a node of "substance", it is called only when the mouse points to the context node - I assume that light gray is the transparent and gray with light gray cells background dark cells to fill. So the behavior seems OK - you can't wait for the events to be delivered at bottom when it is covered by the other nodes. I think you should really register Manager on all of the graph and filter events that you do not want to manage. However, this should not require a large part of the calculation of the difference between the regions, it should be possible to do just something like

    if (!background.contains(event.getX(), event.getY())) {
        return;
    }
    

    I hope that does not reach the bottom under the axes as well. Note that if there is the various transformations between the background and the node with the Manager on it, you may need to regenerate the coordinates of

    background.sceneToLocal(event.getSceneX(), event.getSceneY());
    

    And use the method that contains it.

  • logical AND with the structure of the event

    Hello world

    The structure of the event can manage several events at once to do the same thing: looks like an OR logical operator. But I have not found a way to sequence events to approach a logic and example: you must click on a button to draw, then enter the image would change the mouse cursor. With a structure of the event, I can handle these 2 events separately or together (i.e. change the cursor), but I can't do a sequence of events.

    Is this possible to do with a structure of the event?

    I hope that I am clear (sorry for English btw). And thanks in advance.

    Christophe

    I don't think this is possible directly. You will need to add status information to your event loop that could enforce the order of events and the rules of logic you want. Where transformation you would have to check whether the required event has occurred before this event. If that were the case, perform your treatment. If this isn't the case, ignore the event. Your first event would need set this status information. You can also include some kind of time-out for the second event were to occur within a specific period.

    This type of logic may be better treated with the help of producer/consumer architecture and a state machine in the task of the consumer.

  • Synchronization of 2 loops while one with a structure of the event.

    Hi fellow users of LabVIEW

    I try to incorporate a structure of the event in my current exisiting VI to Save certain values of control as shown in this post

    http://forums.NI.com/T5/LabVIEW/using-the-quot-make-current-values-default-quot-as-a-control-on/TD-p...

    It's the VI that I use as model with my exisiting VI.

    http://forums.NI.com/NI/attachments/NI/170/547715/1/defaults%20Demo.LLB

    In case the 'stop, change the value' I use in the main VI and a 'real' constant instead of Boolean control of wire structure. While the loops are not connected. The table that I use in my exisiting VI (another while loop) is indexed and unbundled to be used here.

    The work combined well screw and it gives me the results, my question is, in the long run it will give me issues. Do I still need to synchronize?

    Thanks for all the help.

    There's no problem because loop additional lower with the structure of the event.

    Personally, I worry about the top loop. Why so complicated? Why so much duplicate code? Why all these hidden indicators serve as local variables?

    Why don't simply place you the table in the entire cluster in a shift register and the index and ungroup by name wharever value, that you need to access. No hidden local variables or indicators.

  • major error with the structure of the event

    IM under LABVIEW 13.0 PRO

    I don't know when this strarted bug happening, but now when I add a business to a structure of the event. Freezes in LabVIEW. I have to close labview with the Task Manager.

    It doesn't matter what code I'm working with, even a new VI, with nothing else than a structure of the event.

    I tried this on my desktop PC, my laptop and my CPU DAQ.

    The error occurs on my desktop and my laptop. But it does not occur on my CPU DAQ.

    Whenever I click on add event usually case, you get a popup to configure and add cases, but with the popup error never comes to the top and labview crashes.

    Theres no code to share the problem ocured when adding events to the event structure. It happened with any structure of the event, in any code, all the time.

    I spoke to an engineer of apllication of labview and suggested to delete the labview.ini file located in the installation of labview directory. I did this and the problem was solved.

    Still not sure what caused this to happen.

  • CSS refresh after javascript DOM change (tab Ajax control) and also refresh the list of objects of Navigation

    Hi all

    When I access a Web page, that I created in the browser or Widget that uses an ASP.NET Ajax Control Toolkit Tabs the action of switching between tabs works well but the tab header does not reflect the change to display the active tab.

    In a standard browser of the tab header will be change / light tone based on the css classnames active Ajax control for settings changes dynamically in the DOM when switching between tabs and I was wondering if maybe the BB browser will not reflect/refresh css when changes on the client side affect the DOM? If that's the case (?) is there a way to force that change somehow?

    Also in the same direction and on the similar question I posted yesterday on switching between Navigation power user mode in a Widget, so javascript client-side dynamically is change the 'x-blackberry-focus' of a DOM object possible to have the change reflected in the Navigation objects? Or is the list of objects that can be traversed only generated load initial page and cannot change without a new post?

    Thank you

    Derek

    I solved the problem with the Ajax Control Toolkit TabContainer uisng having to do a "dummy" DOM change in the TabHeader after that the tab is passed between the tabs then forcing the refresh and repaint the tab headers.

  • I started having problems with the wireless mouse and the carpet of my laptop - Lenovo ThinkPad T420 mouse.

    Original title: right click on the mouse itself activating

    I borrowed a USB to a person at work and I started having problems with the wireless mouse and the carpet of my laptop - Lenovo ThinkPad T420 mouse. The left click of two devices works normally, however, sometimes she does not respond to clicks and it takes a few seconds to work. The left button was constantly starts to turn on, as if he was stuck. After that I hit Alt + Tab and modify windows it stops for a few moments and starts at a later date. I havo not found a specific condition or a combination of keys that may trigger the fault.

    I read a few posts on discussion forums, but all say that it could be a hardware problem, which I think is not, because both devices have the same problem and I'm sure it all started with the insertion of the borrowed memory stick. I scanned the readers to help Symantec's EndPoint Protection and installed Microsoft Security Essentials and performed a full scan, but found nothing. I even restored the system, but the problem remains.

    Should I get a different antivirus? How can I find the cause so I can find a better targeted solution?

    Try to install the drivers from this link and check.

    http://support.Lenovo.com/en_US/research/hints-or-tips/detail.page?&LegacyDocID=MIGR-77167

  • Hello, I have a problem with Mozilla Firefox 14 and now also Firefox 15. When I click on .html files on my desktop, firefox will open a new window twice. Where is the th

    Hello, I have a problem with Mozilla Firefox 14 and now also Firefox 15. When I click on .html files on my desktop, firefox will open a new window twice. Where is the problem? Thank you

    That may be a problem with the DDE.

    Try to undo and redo Firefox as default browser.

    Make a different browser like IE browser by default and then let Firefox do it again.

    See:

  • Are there problems with Firefox 5.0 and 1Password 3.6.1?

    I started to update to Firefox 5.0 and noticed a message that the 1Password version I had at the time would not work with Firefox 5.0.
    Are there problems with Firefox 5.0 and 1Password 3.6.1?

    They say you need 1Password 3.6.0 or later to work with Firefox 5.0

    http://Forum.agile.WS/index.php?/topic/5319-Firefox-5-requires-1Password-360-or-later/

    http://help.agilebits.com/1Password3/firefox.html
    
  • Someone at - he had problems with 9.2.1 and pairing Bluetooth devices?  My iPhone will not be connected or pair of devices.  Devices to recognize the iPhone 6, but the will of the iPhone 6 does not recognize the device.  Is there a problem with 9.2.1?

    Someone at - he had problems with 9.2.1 and pairing Bluetooth devices?  My iPhone will not be connected or pair of devices.  Devices to recognize the iPhone 6, but the will of the iPhone 6 does not recognize the device.  Is there a problem with 9.2.1?

    Kev2012 wrote:

    Someone at - he had problems with 9.2.1 and pairing Bluetooth devices?  My iPhone will not be connected or pair of devices.  Devices to recognize the iPhone 6, but the will of the iPhone 6 does not recognize the device.  Is there a problem with 9.2.1?

    It would depend on what you're trying to link to?

    Here are the supported Bluetooth profiles an Apple device can connect to iOS: Bluetooth profiles supported - Apple Support

  • Equium L10: Problem with the main battery and battery RTC

    Hello

    I have the Toshiba Equium L10 and it is about 14 months old and I have problems with the battery and how much time it takes after a full charge. I also have problems with the RTC battery and an ERROR 0271: check date and time settings message when I turn on the laptop.

    Regarding the battery, I can fully charge it upward in about 3 hours, but when I start to use it, apparently in the last few hours around one and a half or so and then it needs to be recharged. I can have down for about 40 minutes and then turn it off and come back later or in a day or two. How long should I expect from a fully charged battery?

    About the batttery RTC, it really becomes a pain and I only started to get the message of the ERROR 0271 start-up, in recent weeks. I can charge the battery pack and then leave for a few days, but when I turn it on, I get the message ERROR 0271 on the date and time incorrect. Surely after a full charge, the RTC battery should last longer than a few days?

    The manual says that if the RTC battery is exhausted or becomes weak, you must charge the battery of the CCF for 24 hours, in a different part of this manual indicates between 24 and 48 hours, but how can load you for long when the sections concerning the charging battery pack status after charging the battery you unplug the power adapter because leaving connected will shorten the life expectancy of the Battery Pack. So, how we can charge the battery of the CCF for 24 to 48 hours if we shouldn't leave the AC adapter plugged in once the battery is charged - which is nearly three hours. Suggestions about these problems would be appreciated.

    Besides we all know that it is easy to change the CMOS/RTC battery in your desktop base unit, but is it easy to change in a Toshiba Equium L10?

    Concerning

    Brave0

    Hi Brave0,

    The normal recommendation for the CMOS (RTC) battery is to leave the laptop connected to the power supply at least 12 hours when the main battery is fully charged. The charging circuit is going to hijack the current to the load automatically RTC battery and no current will be forwarded to your main battery.

    Recommendation do not leave the power adapter is plugged in the main battery is fully charged is really only applicable to older laptops that used no batteries Li - ion and therefore they had to be completely discharged before recharging to avoid any effect 'memory' of the battery.

    With modern Li-ion batteries, it is quite safe to leave the battery when fully charged and still power the laptop from the AC adapter. The charging circuit will pass all the battery charge if it is fully charged.

    Kind regards

  • There is a problem with my payment information and I can't configure any application I want to remove my information from my icloud account payment

    There is a problem with my payment information and I can't configure any application I want to remove my information from my icloud account payment

    There are no withdrawal, must be replaced and released.

  • problem with the Finder - files and folders displaying incorrectly

    After acquiring a new iMac, I noticed a problem with the Finder - files and folders are displayed wrong (see table).

    This is what happens always after the files have been transferred from one folder to another. I was reminded of my days of using Mac OS in the 1980s when automatic setting of files was not so "automatic." I use Mac OS for decades and I don't remember the last time I had to think about GUI problems like that.

    Other problems in the graphical display of files and folders were introduced, such as when you have hundreds of files in a single folder, you end up deleting about 30 to 40 of them say in a particular section, and you end up with gaps of the ChartSpace where files used to be, that is the remaining files automatically rearrange themselves (fill in these gaps) - never. A week later, you open the folder, and the gap of GUI is still there.

    I decided to do a clean install of the operating system but nothing works.

    Is there some setting in Prefs I'm missing?

    Hi there highland99,

    Looks like your folder icons are not accommodating themselves automatically you plan to do. To me, this indicates that you have organize by the None value in the view menu. You can change the way files and folders are prepared automatically by clicking on view > reorganize by and selecting how you would like that fixed.

    Thank you for using communities of Apple Support.

  • I'm having a problem with Windows7 Home Premium and WWII CFS joystick operation. I get a message saying that the controller has been changed. Microsoft offers a patch?

    I have problems with Windows7 Home Premium and WWII CFS joystick operation.  I get a message from gibberish, saying that the controller has been changed.  I tried to replace the file with a version of Windows XP .cfg and also tried to re-write the .cfg file.  Apparently, this version of Windows will not allow a file to be saved with an extension ".cfg", so it does not work either.  Any suggestion would be appreciated.

    Thank you

    Hi Bob,

    You can consult the following links of wire and check if it helps.

    Joystick does not work with the Europe of WWII Combat Flight Simulator series. Help?

    With the help of WW2 Europe Combat Flight Simulator series with Windows 7 Home Premium

    Note: The above links contain third party links. Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • Problem with Quicken 2012 House and the company after installation, runtime error

    I have a problem with my Quicken home and business 2012. I upgraded from 2009 to 2012 and was able to use the new version for about 1 hour, but he hung a little.  Now when I tent to access my Quicken program, I get a runtime error "program: C:\Program Files\Quicken\qw.exe ' abnormal program termination. Quicken is then stopped immediately.  I am currently running Windows XP service pack 3.  Any suggestions?

    Hi RENEE HETTERLY,.

    I suggest that you uninstall and reinstall Quicken program on the computer, check to see if it helps.

    How to change or remove a program in Windows XP

    http://support.Microsoft.com/kb/307895

    If the previous step fails, then you will need to contact Quicken support for assistance.

    http://Quicken.Intuit.com/support/Windows.jsp

Maybe you are looking for

  • scroll bars do not hold position

    Drop-down menus are not open. just flash and close.Scroll bars don't hold position, always go to the right or down.It is only inside the firefox window "toolbar window works fine.All tasks of work normally in windows windows and internet explore?

  • I get a Bluescreen whenever I'm trying to pair with devices

    This is the message that I received after you restart the computer: Signature of the problem:Problem event name: BlueScreenThe system version: 6.0.6001.2.1.0.768.3Locale ID: 4105 More information about the problem:BCCode: 1000007eBCP1: C0000005BCP2:

  • Mailbox unavailable. The response from the server is: 5.7.1 error: content rejected

    I have an application that sends emails when running. Off late a user when he tries to send a mail it receives the following error message... "System.Net.Mail.SmtpException: unavailable mailbox." "The response from the server is: 5.7.1 error: content

  • How to add yahoo MSN users?

    Two weeks ago, I added two friends at my MNS, uses a hotmail account and the other is used yahoo mail.I could discuss with my friend hotmail well.But a friend of yahoo isn't on my msn list. I'm not in his MSN list or. When I tried to add his yahoo ac

  • How can I fix my cursor frozen on my HP g60

    My cursor is frozen on my HP g60 how can I solve this problem! It works only with safe mode