Open vi by reference is very slow

Hi !
I have this main vi which is the user interface and it calls several
subVIs sequentially (subvi 1, subvi 2, subvi 3 etc). the subVIs in turn
have subVIs which belong to a DLL, I chosen to use CALL VI BY REFERENCE
since my sequence is not fixed. when i run the main VI however, the
time taken seem to be much longer than what it should be.
One observation which I made was that when I have one of these SubVIs
opened. The main VI runs smoothly and can be completed in a matter of
seconds. What can I do to run this Main VI smoothly and efficiently
without having to open my SubVI ?
Goy

Hi
thank you guys for your reply.  I think that its a good idea to
load the subVIs first by placing them in a non executing section. allow
me to describe the program in a little more details simply for
completeness
Layer I   Main VI (also the user interface)
Layer II  Sub VIs (a series of VI which are dynamically called)
These VIs are actually test cases. I made them dynamic because I have
huge set of different tests and each time I run the main VI, I may only
call a few of them to run. Thats why I chosen it instead of using a
state machine. It works fine for me.
Layer III  Hardware Drivers (VIs which interface directly to hardware)
These VIs are called by the subVIs in layer II. I had collectively put
these VIs into DLL for easier organisation. I believe the additional
time taken was actually due to loading the VIs from the DLL in this
layer.
question : what can I do to let the Main VI in  Layer I to 
know that I be using VIs from Layer III ? is there a way to include DLL
into any VI to let it know it will be loading these VIs. As suggested,
one way of coz is simply to put a VI which reside in the DLL into a non
executing part of the main VI. I shall try next week when I get back to
work.

Similar Messages

  • Cd tray opening on boot up and very slow boot up, 5 mins plus

    Hello, very new to Macs, only had this a few days. G4 800 mzh 1.5 gb ram running os 10.4. Cd tray opens on boot up and very slow boot up. Tried resetting pram and fsck. No joy with either.
    Any help and advice much appreciated
    Thanks
    Jon

    A warm welcome to Macdom & Apple's forums!
    You may need to reinstall some things, or maybe even the whole OS.
    How much free space is on the HD of what size?
    At this point I think you should get Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, reboot holding down CMD+s, then when the prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 5 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files!

  • On opening up PSE9 it runs very slow, Why?

    When I open up my recently installed PSE9 program it runs very slow. all photos etc load up and are visable but it almost feels  like there is a program running in the background. The cursor moves very slow and in a delayed way. I mostly have photos and very few videos, projects etc but just in case I go to view and uncheck vidoes, PDF, projects etc just in case this is what is slowing everything down but it doesn"t change anything. Nothing else is running while I am in PSE. Previuosly I was working with version 8 and I did not have this problem. Can someone help me with this this annoying problem that is keeping me from using PSE 9. Thanks  Rey

    You really don't provide enough information for anyone to help
    How to ask a question http://forums.adobe.com/thread/416679
    Some specific information that is needed...
    Brand/Model Computer (or Brand/Model Motherboard if self-built)
    How much system memory you have installed, such as 2Gig or ???
    Operating System version, such as Win7 64bit Pro... or whatevevr
    -including your security settings, such as are YOU the Administrator
    -and have you tried to RIGHT click the program Icon and then select
    -the Run as Administrator option (for Windows, not sure about Mac)
    Your Firewall settings and brand of anti-virus are you running
    Brand/Model graphics card, sush as ATI "xxxx" or nVidia "xxxx"
    -or the brand/model graphics chip if on the motherboard
    -and the exact driver version for the above graphics card/chip
    -and how much video memory you have on your graphics card
    Size(s) and configuration of your hard drive(s)... example below
    -and how much FREE space is available on each drive (in Windows
    -you RIGHT click the drive letter while using Windows Explorer
    -and then select the Properties option to see used/free space)
    While in Properties, be sure you have drive indexing set OFF
    -for the drive, and for all directories, to improve performance
    My 3 hard drives are configured as... (WD = Western Digital)
    1 - 320G WD Win7 64bit Pro and all programs
    2 - 320G WD Win7 swap file and video projects
    3 - 1T WD all video files... read and write
    Some/Much of the above are available by going to the Windows
    Control Panel and then the Hardware option (Win7 option name)
    OR Control Panel--System--Hardware Tab--Device Manager for WinXP
    And, finally, the EXACT type and size of file that is causing you problems
    -for pictures, that includes the camera used and the pixel dimensions

  • Rmi remote reference lookup very slow in web start application

    I have a little problem with the RMI communication in a web start test application.
    It is a very simple program in which the client calls a remote object that returns a String.
    Everything seems to be working fine when i'm running/debugging the client app in eclipse, but when i package my client project into a jar file and run it as a web start application (i'm providing the jnlp on a local webserver) the remote reference lookup takes about 15 seconds.
    basically, what my client does is this:
    Registry registry = LocateRegistry.getRegistry(address);
    ServerTransaction st= (ServerTransaction) registry.lookup(name);
    String result = st.test();
    The server code looks like this:
    String name = "ServerTransaction";
    ServerTransaction engine = new DefaultServerTransaction();
    ServerTransaction stub = (ServerTransaction) UnicastRemoteObject.exportObject(engine, 0);
    Registry registry = LocateRegistry.createRegistry(Registry.REGISTRY_PORT);
    registry.rebind(name, stub);
    The server runs as a normal stand alone java application on my local machine as well.
    And here the content of the jnlp file for the client application:
    <resources>
         <jar href="WSTest.jar"/>
         <jar href="WSTestServer.jar"/>
         <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
         <property name="serverAddress" value="127.0.0.1" />
    </resources>
    <security>
         <all-permissions/>
    </security>
    <application-desc main-class="test.WSTest"/>
    As i said, the whole thing works when run as a normal java application as well as with web start, with the difference that the remote reference lookup takes about 15 seconds with web start.
    Can anyone tell me how i could go about this?

    Meanwhile, i tried the same thing at home on my xp machine (i use vista at work), and even though my test at home basically does the same thing (invoking a simple remote method that just returns "hello world") it worked pretty fast, contary to the 15 second hang on vista.
    So i can't really say where the problem is...
    I also found these two rmi properties
    sun.rmi.transport.connectionTimeout (1.1.6 and later)
    The value of this property represents the period (in milliseconds) for which socket connections may reside in an "unused" state, before the Java RMI runtime will allow those connections to be freed (closed). The default value is 15000 milliseconds (15 seconds).
    and
    sun.rmi.transport.proxy.connectTimeout (1.1 and later)
    The value of this property represents the maximum length of time (in milliseconds) that the Java RMI runtime will wait for a connection attempt (createSocket) to complete, before attempting to contact the server using HTTP. This property is only used when the http.proxyHost property is set and the value of java.rmi.server.disableHttp is false. The default value is 15000 milliseconds (15 seconds).
    Hoping it would help (totally clueless) i tried to set these as system properties via System.setProperty(...) to a lower value (if that even works this was - please correct me if i am totally wrong here) but it didn't help.

  • I have 16.6 gb on my mac pro open yet my mac runs very slow and often times out what can i do?

    i have 16.6 gb open on my mac pro yet my system runs so slow that it often times out
    how do i correct this?

    help us help you
    what are the readings in Activity Monitor?
    why not try iStat and provide feedback output
    what if any is showing for pageouts?
    that would be a star
    how much physicalRAM and what of repair the drive? safe boot? tried clone system, or try a clean install and start from there, it can be the best way to resolve or at lea,asr test, and for performing system repairs & maintenance
    safari has its own unique fixes & issues, andcits own forum, as well as your OS X Community

  • Can't open safari and computer runs very slow on macbook pro

    I cant open my safari on my macbook pro and it runs very slow

    http://support.apple.com/kb/TS3408

  • When I open my laptop, it is VERY slow to connect and takes forever to process a request to open a website! Ugh! Help!

    After while it begins to process a bit quicker. But really, the first 15 minutes, its excrutiatingly slow. Help!

    I was able to get my iTunes functional again after disabling a lot of my windows services -- use this thread for your reference:
    http://support.apple.com/kb/HT2292?viewlocale=en_US
    I haven't pinpointed exactly which service(s) were causing the iTunes slowdown, as I haven't had time to test re-enabling all of them yet.  But so far I've just disabled the services that I know I don't need anymore and iTunes has been running like a champ =)

  • Have a tab group with 18 tabs. When all tabs open scrolling through them is very slow. Any thoughts.

    I use the scroll wheel on my mouse. When I scroll with the wheel there is a major lag time and most of the time it scrolls past several tabs.

    You can try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    You need to close and restart Firefox after toggling this setting.
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration

  • Open Directory: users enter accounts very slow

    We have Mac OS X Server Snow Leopard 10.6.8 with OpenDirectory and some iMacs with Mac OS X Snow Leopard 10.6.8. After adding Network Account Server in iMacs (System Preferences->Accounts->Login Options->Network Account Server Edit) all works great and users login and anter thir accounts for 5-10 seconds. But some days or weeks later the time for logging and entering their accounts takes for about 5 minutes. If I re-add Network Account Server, then all works greatly again. What's the matter? How to avoid this re-adding?

    What do you get when you try to logon?
    Does the screen just shake at you?
    Can you logon as the diradmin?

  • Outlook 2010 - Opening attachments are very slow

    Recently we have migrated windows XP, Office 2007 to Windows 7 Enterprise edition with Office 2010.
    After migration found opening outlook 2010 attachements are very slow.
    First time when we click the attachments the orange bar is running for a while in outlook then only the appropriate program getting opened.
    Approx. it takes 25sec to open any attachments (word, excel, pdf ...even txt files)
    Second time if we open same attachment then able to open immediately, if we leave the outlook for a while then we try to open the same attachement then again it takes 25sec to open.
    At the moment when we click the attachment the file getting saved immediately to the outlook temp directory.
    It look like only opening appropriate program getting delay for some reason.
    I tried to disable all the Add-ins, but still same problem.
    Can some one please help?
    Parani Dhasarathan.

    Hi,
    I am  Chetan Savade from Symantec Technical Support Team.
    Are you using SEP 12.1 RU3 (12.1.3001.165) Prior version? If yes, it's a known issue please upgrade to the latest version of SEP. SEP release details are available here:
    http://bit.ly/m0vOJp
    Here are more details about known issu:
    Attachments in Outlook 2010 take longer to open with Symantec Endpoint Protection installed
    Fix ID: 3086057
    Symptom: Attachments in Outlook 2010 are slower to open with Symantec Endpoint Protection 12.1 installed and the Outlook Auto-Protect feature enabled. Attachments in Outlook 2007 are not affected.
    Solution: Optimized the Outlook Auto-Protect plug-in to avoid processing successive callbacks
    Reference: New fixes and features in Symantec Endpoint Protection 12.1.3
    http://www.symantec.com/docs/TECH206828
    Best Regards,
    Chetan

  • MacBook Pro gets very slow when Safari is opened

    When I open Safari, my computer gets very slow.
    If I quit Safari, everything works fine.
    How can I re-install Safari?
    Could it be my HD? I have already repaired my HD.
    Software:  Mac OS X Lion 10.7.5 (11G63)

    reboot your computer to the recovery partition by restarting and holding the keys:
    <COMMAND> + r
    Follow the directions here:
    http://mac.tutsplus.com/tutorials/os-x/verifying-and-repairing-permissions-in-os -x/
    in the section "Working in recovery mode".
    After you repair permissions also perform a disk repair then reboot:

  • Opening of form is very slow

    Hello,
    I've installed SAP 2005A on a Vista computer.
    My problem is the opening of the forms is very slow.
    Does anyone knows the reason of that.
    Thanks.

    Hi,
    try on the icon of SAP on desktop go to properties and on the compatibility check disable desktop composition.
    hope it helps
    Petr

  • Adobe flash crashes constantly, certain pages will open, but very slow, or not open at all........never had a problem until I upgraded to new firefox 4

    when I go to open a page, it is very slow opening, or may not open at all........circle just goes around.....this is true for any site......mail, sites I have visited many times.......never had a problem until I upgraded to firefox4.......do I need to change firewall settings? If I do, how?
    Just updated adobe, it crashes more than not......

    First I already have my view set to show everything so that is not the problem.
    But I just tried opening "Computer" from the start button then type in profiles.ini in the address bar and hit enter. The profile manager opened with my profile listed. I selected it and hit start firefox and it opened as it should.
    I closed it again and tried to open it from the shortcut in my task bar and I got the Sorry window.
    But then I tried to open it from the short cut you get when you press the start button and program list and it work!
    I went back to my desk top and tried the short cut on the desk top and it worked.
    So I deleted the short cut on the task bar and created a new one and it worked.
    I rebooted the computer and tried again and the task bar shortcut works and has the right profile.
    So it seems that the problem is that the short cut was corrupted and was causing the error that caused the program to fail to open.
    I had no idea a shortcut could do that. In the past I have had short cut stop working but never do what this one did.
    I still have no idea where the profiles.ini is.

  • Mountain Lion and Lion very slow on Macbook 13' 2010 Middle

    The problem is the Mountain Lion and Lion very very slow, but Snow Leopard was fast.
    The Lion bit faster, the Mountain Lion is much slower.
    Animations are choppy and slow, but sometimes fast, but mostly random stuttering. If i have multiple windows opened, the Misson Control is very slow and useless. I think the system UI framerate is low (about 10-15 FPS)
    Overall, the system response is very slow, and lagging.
    I tried to clean dinstall several times, but this didn't help me.
    I know that the new system is slower on older machines, but it would not be so necessary. This Machine is good machine, and i think this is enought for Mountain Lion. Will Apple fix this slow issue soon (maybe 10.8.3), or stay in this state?
    At current state of the system is unusable due to the slowness.
    Or is it a non official solution to fix this?
    Thanks for your answers.

    How much RAM do you have installed? 4 GB RAM is generally recommended as a reasonable minimum since kernel_task (part of system) consumes up to 1 GB; my browser consumes another 500 MB or so. So, if you like to multi-task and have several things open, then you will need to increase your RAM. This problem will not be fixed; I sent in a bug report and the reply was that this is how it is intended - 64 bit addressing consumes far more resources than 32 bit (Snow Leopard).
    You'll need to look at your processes in Activity Monitor, quit some apps while working on others that are CPU intensive, and increase the RAM if possible.

  • Very Slow internet connection with WRT150-N Wireless Router

    I have a WRT150-N wireless router hooked up downstairs to the modem and I am upstairs right now with internet that is very slow, it shows it is 18 megabytes/second and the connection says poor (i have a wireless G card in this computer).  I have another computer that is about 10 feet away from the router with a wireless N card and it says that the connection is 160 megabytes/second, but again it is running very very slow.  The third computer is back upstairs by this one and it has a Wireless N USB adapter and is running about 170 megabytes per second.  They are all about the same speed in opening websites but again are very slow to do so.  Any ideas on what is going on or how I can get it faster?

    First of all, the speeds you are quoting all sound like Mbps (megabits per second) connection speeds, not data throughput speeds.  You really need to measure your actual download speed to tell what is actually going on with your system.
    Use speedtest.net and test your system.  Turn off all other computers except the test computer.  Test under the following conditions:
    1)  connect one computer, by wire, directly to your modem
    2)  connect the same computer, by wire, directly to your router
    3)  connect the same computer wireless to your router
    4)  connect your other computers, wirelessly to the router, one at a time
    Also, state the speed that you are paying your ISP for.
    Report your download and upload speeds for all of the above tests.
    Note that the speed that you are paying for should be about the same as your results from test 1 and 2 above.
    After you have done these tests, it will be much easier to tell where the problem is. 

Maybe you are looking for

  • Premiere Pro CC 2014 Crashing on Start Up

    After installing Premiere Pro CC 2014 on my mac i opened the app but with in seconds of opening its crashed with this message '[/cloudroom/releases/2014.09/shared/adobe/MediaCore/Utilities/QTParser/Src/QTTrack.cpp-5 08]' It does this every time i ope

  • Deleting photos from iPhoto trash crashes iPhoto

    I've been a bit remiss in deleting photos from iPhoto trash and now when I attempt to delete the 6379 photos in there it crashes iPhoto.  I have tried the right click on the trash in the left menu bar and also the "iPhoto" > Empty Trash.  How can I g

  • BB Pearl Flip 8230 problem with recieving phone calls

    I don't know if anyone has experienced this problem with their BB Pearl Flip 8230. My problem is, when ever someone calls my 8230 and I answer the call the person making the call gets a very loud squeel as soon as I answer. It happens when I use flip

  • Passing multiple values as parameters in BI Publisher 10g

    Hi All, We have a template in which we pass a USERID (Ex: 10000) as paramaeter. Then the report will generated. Now, we have a requirement that we will pass number of USERIDs i.e. for example we will pass two parameters +"From USERID"+ (Ex: 1000) and

  • My Rear Camera shows a crack when taking photos

    I have an iPhone 5 running iOS 8.2. When I take photos with the rear camera, there is is crack or line in the upper right corner of every zoomed out photo I take. Can anyone help me out on what could be the problem? I took apart the iPhone 5 and clea