Slide bars slow EVERYTHING​, I dont understand​!!!!!

I have couple of scroll bars in my VI. It's big, and it does many things, millions of things, and well does.A big program that is.
However I when I needed to add couple of scrollbars it just SLOWS EVERYTHING miserably. And my CORE 2 Duo loaded FULL just because of couple of scroll bars!
I don't understand why slide bars in Labview are that SLOW? What's wrong with it?
This is just an example of my code, in attachment.
It is placed inside the loop. And the iteration of loop is set by a 100ms timer. But when I enable peace of this code, it BARELY does two executions in a second. When I disable it does about 10 executions just as intended, although the rest part of the code is bazillion times bigger and complex.
Any clue?? Or replacements??
Attachments:
Slide bar slow omg.PNG ‏8 KB

Look, we are trying to help here, but you need to cooperate too.
Nobody will steal you ingenious algorithms and sell them on e-bay. Nobody will laugh at your code. However, if you are lucky, some of it might get a honorary mention in the Rube Goldberg thread. That's considered an honor!
If you feel sick, you don't fax a picture of your finger-tip to the doctor for a full differential diagnosis. Right? So why attach a code image of an area covering only 1/bazillion'th of the code. Obviously, you cannot tell what's important for us, else you would also have shown a picture of the overlapping controls of the front panels.
Many here have 10+ years of programming experience and we've seen it all. We've seen the code with a bazillion property nodes and overlapping controls. Since each property node forces a switch to the UI thread and needs to execute synchronously, your style of programming (if we can call it that) alone can be 3-5 orders of magnitude more demanding on computing resources. If you keep programming like that, you'll run into the wall 1000x earlier than with equivalent efficient code. The community here is good at identifying performance issues. Just recently we were able to take a VI that took several hours to execute and tuned it so it did the same thing (actually more) in under 10 milliseconds.
If we don't see the code, our hands are tied. I cannot debug a picture.
If your stamp sized snippet is of any indication, you are one of these newbie LabVIEW programmers that have all controls and indicators nicely parked and disconnected in an empty area of the diagram, while the loop code reads and writes everything via value property nodes. I was hoping it's not, that's why i wanted to see the code. It is likely that you are (somewhat) experienced in text based code, which often causes issues when transitioning to graphical code. You tend to stick to old paradigms that are no longer suitable in the new environment. I strongly recommend to listen to our advice and change your coding habits as soon as possible. Once you get really used to bad habits, it will be more difficult to change.
As with any advice, you have two viable options. (1) take it. (2) leave it.
So, back to the problem at hand: Were you able to solve the problem? Do you still want us to help?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • The page jumps across the page removing the slide bar making me loose access to everything , can close the program but cant use it as a intenet source any help on what i cna do to fix this ? thanks

    Ihave installed firefox but cant use it as a service for internet i can open it up and after 2 seconds of it loading the slider bar dissapears and the whole web page shifts to the right making only half the page visiable

    This issue can be caused by the Babylon Toolbar 1.1.8 extension (Tools > Add-ons > Extensions)
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • After upgrade to iOS8, very slow, no volume slider bar, no volume through the iPad although the headphones work. My volume slider bar now reads"Sound Effects"?? Mute is off, need help. So frustrated!

    I need help! After upgrading to iOS8.1.2 , my volume slider bar disappeared and is now "Sound Effects" ??? I have no external sound. Do have sound through headphones. Mute is off. Have tried resetting several times with no luck. Frustration level is building as I have wasted hours now on this. Any help would be greatly appreciated!

    I do not think apple will do much to help you under warrenty,  as this was caused by a fall.  (alas!)
    I think the case is, as you suggest, jamming the rocker down, and it may have damaged the swith itself.  Can you carefully lever it out of the way?   Very very carefully.   If it is already broken, there is not much harm you can do by trying. 
    If it is just the switch being jammed, you might be able to move it out a little.  If it is the swith itself, you will need some real service after your three hour drive.  You might check your loacl area for a closer service repair source.

  • TS1398 my ipad is connected to my wi-fi but the app store and itunes store never  open, the internet nev    er works and it is always  loading. i dont understand as it is a brand new ipad.

    my ipad is connected to my wifi but the app store and itunes store never open, the internet never works and it is always loading but never working. I dont understand why as my computer works for my wifi and my brand new ipad should too.

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Iphone 6 plus slide bar not working

    My iphone 6 plus slide bar would not work.  I couldn't turn phone off, couldn't do anything except use Siri.  Used Siri to face time a friend to ask for help but for some reason once she answered my phone unlocked.  Have no idea why.  Hope this helps someone.

    Nore wrote:
    I have always used the iPhone's LED flashing alert to notify me when I get a call or text message. While I was on iOS 8 Beta 2-4 it was working fine. I did a clean install of the complete iOS 8 release and ever since then, the flash alert doesn't work.
    Sometimes it will work on incoming calls, but will not work on text messages. I've tried soft/hard rebooting, clean wipe and fresh installs, and pretty much anything in between. Now, today I got my 128GB Gold ATT iPhone 6 Plus, and it's the same thing. Updated to iOS 8.1, reset everything/deleted all contents and settings. Both fresh install, and iCloud backups and still no alerts on text messages, but now I get them on calls. I tried my girls ATT 128GB iPhone 6 and she has the same problem too. My old phone was a 64GB iPhone 5S and hers was a 32GB iPhone 5. Everything was good until the official release of iOS 8.
    I've tried searching for related issues, and haven't found anything since 2011 with a quick Google search. Most links just tell you how to turn the flash alert on but no new issues. All of my devices are on iOS 8.1.  I gave my father my 64GB 5S with a clean install and he still has the issue as well. So, that makes my iPhone 6 Plus, my girls iPhone 6 and my fathers iPhone 5S not flashing LED on messages and sometimes calls. There aren't any custom vibrations enabled on any if the devices. Has anyone else experienced this problem? Is it a known bug or am I just not doing something right here? i never had an issue before the iOS 8 release. Any help would be appreciated.
    Are you a developer?  IF so try asking in the developer forum.

  • HT1386 When i connect my iPhone to iTunes, it says i have to set up my iPhone, and wont allow me to sync any media i have already purchased on it. My phone is not new, so I dont understand? This all came about when i updated the iOS 6 software.

    When i connect my iPhone to iTunes, it says i have to set up my iPhone, and wont allow me to sync any media i have already purchased on it. My phone is not new, so I dont understand? This all came about when i updated the iOS 6 software. I have tried to re-set up my phone but it makes no difference and deletes everything off my phone.

    bubblesblom wrote:
    Okay, so my friends think it is funny to change the passcode on my iPhone.
    Maybe you should get new friends.
    I'm not sure that recovery mode works when you have to trust the computer, but did you try it?
    If you can't update or restore your iOS device - Apple Support
    If that won't work, perhaps you can use Find my iPhone from a computer in your iCloud.com account to erase the device.
    iCloud: Erase your device - Apple Support
    This has nothing to do with the Find my iPhone app being installed on the phone, but you do have to have Find my iPhone activated in the iCloud settings on the phone.

  • I dont understand creating classes they seem a waste of time and efficiency

    I dont understand why we would want to create classes with constructors and get and set statements... I know that VB and Java did not create these just to have us writing extra code so I am missing something in my thinking.
    I read about data hiding and that I understand I guess...but everytime my professors want me to create a class then create an object from that class to access it I dont really get it. I know how to do the basics of it but I can do all of it in my main or the primary class whats the benefit of creating a whole entire class such as the following?
    Everytime I get an assignment and they are like create a class and I try to rack my head for a good idea but the nearest analogy I can come up with is this... creating your own class seems like one of those old straws you drink out of with all the loops, yes you can make it go around in a big loop but why waste time? you want to get to point A to point B so create the most efficient way to get there if possible.
    I am sure the problem is I am not seeing something and there is some logic missing but I just am getting irritated as I am not seeing it and I am finding it, its like I add an extra obstacle course to my code for no other reason than to run through a bunch of extra tasks that I could perform in my main class or main.
    input is welcome to help me arrive at some type of enlightenment thanks
    Class may not be the correct wording for this as I know we have to have a class but what I mean is a non application class. The class I have below goes with another class that actually does a lot of stuff but I am forced to push data through this class that basically does nothing but run water through some different pipes if you will. To me thats a waste when I can do everything in my original class which was called menu that I am messing with and that creates an array for a user who wants to keep a list of his items and prices of those items in inventory.
    public class Item
    private String itemName;
    private double itemPrice;
              public Item()
    public Item (String item, double price)
    setName(item);
    setPrice(price);
    public String getName()
         return itemName;
    public void setName(String item)
         itemName = item;
    public double getPrice()
         return itemPrice;
    public void setPrice(double price)
         itemPrice= price;
    Edited by: Bricatw on Oct 30, 2009 10:33 PM

    What I was plugging into it and please forgive the code as its not finished... (I am still messing with it) its just for learning and I am required to have certain parts in the Item Class and Certain parts in the Menu class..... But you it pushes through the input to the java bean.... in a case like this I just dont see the need for doing it not that I can think of anyway.
    import java.util.Scanner;//my imports for scanner so can read from the screen
    import java.util.*;//imports for my array I used astrix to just import it all as the book said it does not have any negative affects.
    public class Menu //My application class Menu that contains my main
         public static void main(String[] args)//Main method
              final int NUMBER_Of_Elements = 30; //created a symbolic constant so that I only have to change the constant
              //to edit the size of the array if I should want to change it.
              Item[]inventory = new Item[NUMBER_Of_Elements];//I create a new array object with the constant as the number of elements.
              Scanner sc = new Scanner (System.in);//created object from the scanner class used to get input from the console screen.
              System.out.println("Please enter Item on first line and price on second line.");//outputted text to prompt user and give instructions.
              System.out.println("Enter STOP to exit");//instructions on how to exit the program. I would have rather used a different
              //word than stop here. If my choice I would have used "exit" as its more widely used and to promote uniformity.
              int count;//count variable used to count my loops very important as we use it to control our arrays and loops here.
              double price;//our variable that we plug in values from the user via the console.
              String item;//same as previously mentioned for the "price"
                        System.out.println("Wings Coffee Shop Menu");
              System.out.println("");
              System.out.println("Menu Item Price");
              for (count=0; count<inventory.length; ++count)//This is our for loop it uses the length method to control how many times
              //it runs. In this case inventory.length = 30 elements so would run 30 times unless it stopped early.
                   item = sc.nextLine();//reads the input from console into the item variable.
                   if(item.equalsIgnoreCase("STOP"))//if statement that states if = stop (ignores case sensitivity) then it will break out of the loop.
                   break;//the break command which is executed if the if statement is true.
                   price = Double.parseDouble(sc.nextLine());//
                   inventory[count]= new Item(item, price);
                   Item Call = new Item(item, price);
                   System.out.printf("%-13s %.2f\n", Call.getName(), Call.getPrice());
              System.out.println("Wings Coffee Shop Menu");
              System.out.println("");
              System.out.println("Menu Item Price");
    //           for(int x = 0; x < count; ++x)
    //           System.out.printf("%15s\n",inventory[x].toString());
    //                System.out.printf("%-13s %.2f\n", Call.getName(), Call.getPrice());
    //           String[] namesOfItems = {"Coffee", "Milk", "Soda", "Bagel", "Croissant", "Donut"};
    //           double[] prices = {3.99, 2.99, 2.49, 2.99, 2.49, 1.99};
    //           for(int x = 0; x < prices.length; ++x)
    //           System.out.printf("%-13s %.2f\n", namesOfItems[x], prices[x]);
    //           Item arrayPrice = new Item(); HOW COME I CANNOT CREATE THIS OBJECT?
    //           Item call = new Item ();
    //           Item Call = new Item("item", 4.9);
    Edited by: Bricatw on Oct 30, 2009 11:22 PM

  • Tool bar, and everything else is gone, how do i get it back?

    When i open illustrator the tool bar and everything else is gone, only the top menu is still there, i tried to activate tool bar under window menu, but that option is also gone.
    I tried to use tab key, but it does not work either.
    Anyone knows what to do?

    Now what I told you is so, this is what is causing this and you will either make the effort to understand or you will not solve the problem.
    You did try to make an alias and you goofed up, that is correct you made mistake, this is user error.
    That is the first thing you have to accept if you cannot so be it, but I will never try to assist you again.
    This is the problem I can easily reproduce as I know what you did.
    Here take a look, does this look familiar.
    Does the icon on the left look familiar?
    That is the application outside of the Adobe Illustrator folder.
    That's correct you moved it either on purpose or by mistake outside of the folder
    and that is why the two of you do not have menu items and tools.
    Now the way to fix this is the way I wrote before and this is user error.
    And I have met other users on the forum who could not admit they made a mistake before as well.
    I am writing this actually for users who really want help and have no problems admitting the did something in error.
    I have nothing else to say about this

  • Slider bar name changes when the phone times out

    WHen my iphone4 times out the slider bar usually say slide to unlock or open. For the past 3-4 days it has said jakeallan3. It doesn't do it everytime but quit often.

    I recently had a similar problem with my 3GS (4.2.1) when I travelled to another capital city (but same country) last weekend. I have had the phone for nearly 18 months and not experienced this problem before. Also, there was another iPhone traveling with me (3G 4.2.1) which did not experience this problem. Both phones are connected through the same telco. The only difference between the phones we were travelling with are the model and the Profile on my phone being created using the iPhone Configuration Utility.
    The symptoms were:
    a. soon after beginning using data in the new city, the phone began to feel quite hot.
    b. tried to prolong use by switching wifi, bluetooth off.
    c. phone drained quickly turning itself off. After recharging fully the phone again drained quickly. From this point ran through this cycle of events a few times
    d. noticed that data usage had risen dramatically (by some gigabytes). However later confirmed that this was not reflected on my billing data at my telco. (luckily - the additional usage would have cost around $4,000,000 on my plan - no exaggeration)
    e. turned my phone to flight mode to prevent inadvertent data usage - phone still ran from full to empty in 4.5 hours and remained warm.
    On returning to my home town battery life returned to normal and my phone remains cool.
    I would like to understand what was going on as this makes the phone unusable if travelling. Given that this has occurred with johnki's two 3GSs on several occasions and almost the same with me i am concerned that my phone will be useless to me outside of my home town.

  • Xhtml validation - i dont understand error

    Hi All
    I have created a site called www.monicawellsphotography.net
    I have been following the flash satay method for the flash
    movies, along with dreameavers active content script - i tested my
    page including the validation and everything checked out
    I also used the validation tool on dreamweaver for my pages
    and everything seems to be ok on this. HOWEVER the w3c validation
    tool is giving me an error message to which I am not sure what to
    do about -
    It says
    1. Error Line 75 column 18: document type does not allow
    element "noscript" here; missing one of "object", "applet", "map",
    "iframe", "button", "ins", "del" start-tag.
    </script><noscript><object
    type="application/x-shockwave-flash" data="gallerycom
    The mentioned element is not allowed to appear in the context
    in which you've placed it; the other mentioned elements are the
    only ones that are both allowed there and can contain the element
    mentioned. This might mean that you need a containing element, or
    possibly that you've forgotten to close a previous element.
    One possible cause for this message is that you have
    attempted to put a block-level element (such as "<p>" or
    "<table>") inside an inline element (such as "<a>",
    "<span>", or "<font>").
    Although I understand the words I dont understand how to fix
    it,
    Can anyone help with this?
    Best Regards
    Lorna17

    Me again
    Just found out what the problem was - I had a <p> tag
    at the beginning and end of it
    so please ignore this post
    Regards
    Lorna17

  • Am having major issues! this does not work i dont understand..does the ipod have to be off while pressing the buttons if so how is it possible if it is connected to the computer either way it turns on..and when i tried these steps while the ipod was on it

    i am having major issues! this does not work i dont understand..does the ipod have to be off while pressing the buttons if so how is it possible if it is connected to the computer either way it turns on..and when i tried these steps while the ipod was on it still doesnt  work it just asks me “slide to power off” please someone help me i just cant seem to put my ipod in DFU mode

    To get the iPod in recovery mode and DFU mode you first have to turn the iPod off.
    Just what is the problem you are tying to resolve?
    Sometimes you have to let the battery fully drain if you can't turn the iPod off. After charging for at least hour try again.

  • Volume Mixer Slide Bar Controls display on screen and interfere with internet and other functions.

    Without warning Volume Slide Bar Controls will display on my screen fluctuating levels like I was changing the volume/bass/treble level. This stops/blocks whatever I'm doing on the the notebook such as typing, internet, turns on my "wireless" connection, turns on the volume mixers (I keep it turned off), and stops my typing. This will go on for varying lengths of time, and then all goes back to normal. It happens on or off the internet, wireless or wired.
    Performed HP scan & all checks out o.k. Scanned for everything possible. Everything is up to date. 
    have screenshots
    product #: HP DDX16 Premium Series 
    p/n: NK135AV
    model # X16t-1200
    Windows 7 Ultimate 64bit
    This question was solved.
    View Solution.

    Hi,
    I've replied on the other thread you mention Here.
    Best regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • The slide bar says "configure"

    My i pad froze.  I got it started by holding down the buttons.  But now the slide bar is showing "configure" (also in many languages)  What does that mean?  The problem started when my grandson decided to update my i pad 2.  It did and then froze.

    It's probably wanting you to re install a version of iOS, just fallow the steps, say yes to everything then choose to restore from an ICloud backup, after you do the the ipad should be as good as new!

  • How to response the value change of slide bar only after mouse released

    Hi, all
    When I used the slide bar to control my device, I response the value change of slide bar and set the new value to my device. But it will generate response constantly when I use the mouse to drag the pointer, which is not my wanted. I just need to response only after the mouse released. How can I implement this function? 
    Hope your suggestion, thanks a lot.
    Solved!
    Go to Solution.

    No, not if you use the right event under "Mouse".
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx

  • HT1430 guys, I need help, im trying to the the new software IOS 7.0 and it requires 3.7 GB free space. im using the IPhone4 and it had 6.4 GB capacity. i've deleted so much and it still says I only have 1.4 GB, I dont understand where the 5GB are being us

    guys, I need help, im trying to the the new software IOS 7.0 and it requires 3.7 GB free space. im using the IPhone4 and it has 6.4 GB capacity. i've deleted so much and it still says I only have 1.4 GB, I dont understand where the 5GB are being used.
    has any one experienced that? I cancelled my icloud account coz i tot the 5GB where there. im so confused. please help.
    Dee

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

Maybe you are looking for