"Stop IMAQ" takes 10 sec to run and consumes 100% of CPU

Hi, I'm calling IMAQ stop to put an end to an acquisition, but it consumes 100% of my CPU and takes 10 sec to complete (all your 100% CPU).  In our application, we have start and stop the device regularly, and that's exactly when the user wants the program is interactive, if this delay of 10 seconds is great irritation to them.

My setup is - camera scan online Dalsa Piranha, RT 9 running on a desktop PC (it is compatible according to the test), PCI-1429 cameralink map.

Any help or comments welcome.

Thank you.

Ah, I managed to solve it, but first, here are the answers to your questions:

With the help of Stop and then close or simply close makes no difference.  The judgment takes so long that I just used a probe before and after on the cluster of error and with function of probe of 2009 timestamp I could easily see how long it took.  For a more detailed analysis of the time I use the United States available with RT timer

Anyway, the way I solved the problem was ensuring that I stop acquisition BEFORE the clock of the camera line is stopped.  So stop IMAQ probably wait for the end of the current frame before returning - and if the clock of the line stops at Midway through a framework (as was the case), a timeout of 10 seconds causes probably Stop back later.

The clock of the line is powered by an acquisition of data (via RTSI) card and I simply closed the session to this counter after calling IMAQ stop.  Data acquisition interface is not displayed in the example above, as it is coded in an another vi.

Thanks for all the help.

Tags: NI Software

Similar Questions

  • Stop questions, error task host is running and giving orders to the programs.

    Original title: interference of the task host?

    When I close my computer that he told me that the task host is running and controls giving programs or something like that. It's really interfere with the performance of my laptop. Can you help me?

    Hello

     
    1. have you made changes on the computer before this problem?
    2. What is the exact error message that you receive?
     
     
    Refer to this article
    There is a delay when you stop, restart or log off a computer that is running Windows 7 or Windows Server 2008 R2
    http://support.Microsoft.com/kb/975777/en-us
     
     
     
    The TASKHOST is a generic process, which acts as a host for the processes that are running DLL instead of exe files.
     
    To the performance problem, use performance monitor to view performance data in real-time or a log file.
     
    New resource monitor allows you to view detailed information in real time on material resources (CPU, disk, network and memory) and resources of the system (including the handles and modules) in use by the operating system, running applications and services. In addition, you can use resource monitor to stop the process, start and stop services, analyze blockages in the process, discovered the waiting thread chains and identify the process of file block.
     
     
     
     
  • Windows Media Player slows, becomes unstable and uses 100% of CPU.

    Occurs when you try to play movies at home on high reso; IPPC and AVCHD.  Has worked fine for months, then started recently.  The same movies play fine on other computers with a lot less performance (CPU, RAM, video card).

    Hello

    ·          What is the version of the operating system running on your computer?

    ·          When the issue started?

    If you use Windows 7, try the following steps:

    Step 1: Launch the Media Player troubleshooting utility.

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    See also: http://windows.microsoft.com/en-US/windows7/Play-an-audio-or-video-file-frequently-asked-questions

  • Upgrade to Win 8.1 the fan runs all the time and Raw (Silkypix) converter consume 100% CPU resources

    Hi, after upgrading to win 8 to 8.1 win my converter (Silkypix) raw program running extremely slow and consuming 100% of CPU. VAIO all updates completed, all Win 8.1 updates made. ATM Radeon HD 7500 M / 7600M (Maj) with 2 GB RAM dedicated.

    In addition, the fan works almost all the time that was not the case with Win 8.

    Vaio SVE1712Z1EB with 8 GB of RAM, i7 processor execution.

    SeanQ, after some time looking for a solution I finally found it on one of the vaio sites forum: it is the Radeon driver that must be installed from the Vaio support site. NOT the driver the latest AMD site. It does not solve the problem.

    I did as follows: device, graphics card, Uninstall Manager. Did not help. Went to AMD in Program files. Setup.exe has begun, but instead of installation, clicked on uninstall. In this way, I uninstalled the driver former AMD and bad news from the site of AMD. I had to manually uninstall the driver in Device Manager, several times. Finally, I went to the site of Vaio and tried updating the driver. He failed. Reset. Manually start the update of the Vaio AMD driver. Finally it worked.

    The fan is now more or less normal speed.

    Overall, I spent 15 hours looking for this solution. How much is my time worth? Just joking, I'm happy that I found the solution.

  • Oracle documaker 12.4 and 2.7 - high CPU usage IDS

    Hello

    I have the below two questions when we installed the documaker 12,4 and IDS2.7 in AIX server.

    -1st edition: We have updated the forums such as 2 under article DocumentServer of the docserv.xml. Ideally only two instances of documentserver must run max since we did not have the load balancing. But we are able to see 5 instances that are running on the server. Here's the docserv.xml entries.

    < section name = "DocumentServer" version = "2.3" >

    < input name = "StartCommand" > java < / entry >

    < nom d'entrée = « StartArguments » > - Xmx1024m - agentpath:/appshared/dynatrace/agent/agent/lib/libdtagent.so=name=AIG-APPS_IDS_DocucorpServer_auchasepcg202_CIP-QA,server=auchasepcg201.r1-core.r1.aig.net:9998-Ddsimessage.debug=Y-Dmarshaller.output=n-Djava.endorsed.dirs=lib/endorsed -cp lib/DocucorpStartup.jar-Dids.configuration=docserv.xml-Dlogging.configuration=logconf.xml com.docucorp.startup.Startup com.docucorp.ids.DocumentServer < / Entrée >

    < name of entry = "StartDirectory" >. < / Entry >

    < input name = "Instance" > 2 < / entry >

    < input name = "FileWatchTimeMillis" > 10000 < / entry >

    < input name = "FilePurgeTimeSeconds" > 3600 < / entry >

    < input name = "MaxUpTimeSeconds" > 1800 < / entry >

    < input name = "FilePurgeList" > filecache.properties < / entry >

    < section name = "SNMP" >

    < input name = "Enabled" > not < / entry >

    < input name = "MasterAddress" > localhost < / entry >

    < input name = "MasterPort" > 705 < / entry >

    < / section >

    < / section >

    < section name = 'Watchdog' >

    < section name = "Configurations" >

    ["< section name = 'Router' requires="//section[@name='BusinessLogicProcessor']/section[@name='messaging']/section[@name='http "]" > "

    < input name = "StartCommand" > java < / entry >

    < input name = "StartArguments" >-Djava.endorsed.dirs=lib/endorsed lib/DocucorpStartup.jar - Drouter - Xmx1024m - cp - Dids.configuration = docserv.xml - Dlogging.configuration = logconf.xml com.docucorp.startup.Startup com.docucorp.ids.router.IDSRouter < / entry >

    < name of entry = "StartDirectory" >. < / Entry >

    < input name = "ReplyWaitSeconds" > 30 < / entry >

    < input name = "MaxMsgLength" > 4194304 < / entry >

    < input name = "MaxConnectionAttempts" > 2 < / entry >

    < input name = "Address" 127.0.0.1 > < / entry >

    < name of entry = "database" >

    < input name = "enabled" > false < / entry >

    < input name = "class" / >

    < input name = "URL" / >

    < input name = "userid" / >

    < input name = "password" / >

    < name="debug.sql.driver"/ entry >

    < / section >

    < / section >

    < / section >

    < / section >

    -2nd edition: Some instances of document server keep running, and no closure. Here are the problematic process id.

    Process ID: 14155952

    The process id continues to run almost 10 hours and we need to kill this process manually id.

    Process ID: 5636292

    The process id continues to function of the and we need to kill this process manually id.

    According to our docserv.xml, we gave the < input name = "MaxUpTimeSeconds" > 1800 < / input >. So it must recycle every half hour automatically and the process must be killed automatically. Where these processes keep on running and consuming more CPU usage and by creating the javaheap dump files. We found that many threads created by the process ID's

    Help if faced you this scenario before.

    In order to limit maximum number of instances of defined this value in configuration docserv.xml:

    2

            2

    Of course, you must use the number you want, not necessarily 2.

    Others that own, there is not enough information in what you have described. But too many cases started by IDS could potentially cause higher than normal CPU usage. The formula for default instances of max was changed at some point be proportional the number of CPUS in the system and on some occasions, it causes too many to be started. This setting will limit the total number of occurrences.

  • How to stop a vi running and always keep its vi reference valid

    Hi all

    I open a vi reference and need to dynamically execute and stop this vi. Problem is after I use the 'Abort Vi' method to stop it, his reference is no longer valid and I need to reopen the next time I want to run it.

    Is there a way to stop the vi running and always keep its vi reference valid?  While the next time I may use the method "RunVI" to run it and do not need to reopen it.

    Thank you.

    Anne

    Ben wrote:

    Citing the LabVIEW Champion Ed Dickens signature "using the button abandon to stop your VI is similar to the use of a tree to stop your car." It works, but there may be consequences. »

    Ben, I think he's talking about the VI Abort METHOD, not the button abandon.  I wrote a small example using run a VI, waiting, VI an abortion, then run a VI again, and it worked.  The reference did not become invalid.  You must make sure to wire a constant false entry Auto has the method to execute a VI.

  • Dear Sir I have toshiba l300 notebook now, I had some problems at the start that a time window is error and posted massage window stopped work go on line chek problem and restart when I restart then run ok that's my question ok

    Dear Sir I have toshiba l300 notebook now, I had some problems at the start that a time window is error and posted massage window stopped work go on line chek problem and restart when I restart then run ok that's my question ok

    Hello

    display the appropriate error message.

    the error codes?

    Try the clean boot procedure to find the application or program causing the problem.

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

    all the best!

    Addison

  • stops current runs and deletes all system restore points

    System Restore stops during the run and removes all previous points. tried to open and close and tried to manually set points. "He fixed but delete again on the next race event viewer alert gives says ' 0xC0000243 ' treatment ' mpengine.dll. hrddisk volume 2'. error unexpected '%2' of file '%3' volume ' %4%. I checked a lot of hard disk space. John

    I am answering my own question in case someone can help and can also help others with the same problem. It did not work (see above), so I removed the superspyware and restoring worked for a week then reloaded superspyware. Then work 4 days / nine/years/day when restoring the system began he arrested and removed all the previous restore points. File problem same reason given under the terms of the mistake of sr service, then stopped. It's a different file every time!  I have now removed superspyware again and will run for a month. Maybe I should give up on superspyware but it deletes items of adware that is not microsoft. I would like to just patch up restoration, but all I can do is to reload xp new total which is a terrible bore place dating any comment please help! John s.

  • Dw20.exe is running and take 50% of the time CPU

    Dw20.exe is running and takes 50% of the time CPU when no other program (user) is running on my computer vista laptop.  Is this normal?  I wonder if it's one of the reasons why my computer was slow.

    Hi ykxx,

    Welcome to the Microsoft Answers site!

    First of all, you can try to access the link, the link below and try to disable the Application Error Reporting tool

    Description of the Windows error reporting tool (Dw20.exe)

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

    Method 2: you can try to create a new user account and check if you can solve the problem.

    To create a new user profile, follow the steps:

    1. open user accounts by clicking the Start button, click Control Panel, click user accounts and family safety (or by clicking on user accounts, if you are connected to a network domain), and then clicking user accounts.

    2. click on Manage another account.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. click on create a new account.

    4 type the name that you want to assign to the user account, click an account type, and then click create an account.

    If you are able to resolve the problem and then copy files to the new user account

    For more information, you can consult the following link to resolve the damaged user account:

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Method 3: you can also check the following link and run a security scan online on your computer to remove the infections of viruses on the system.

    http://OneCare.live.com/site/en-us/default.htm

    Hope this information is useful.

    Jeremy K

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • My spysweeper.exe shows running and using 50% CPU non-stop

    My spysweeper.exe (spysweeper for MSN) is running and using about 50% of the non-stop CPU.

    Hello

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Let flow the Microsoft Safety Scanner and check if it helps.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Method 2:

    Try uninstalling and reinstalling spysweeper and check if it helps.

    Uninstall a program:

    http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program

    Install a program: http://windows.microsoft.com/en-US/windows-vista/Install-a-program

    Hope the helps of information. Please post back and we do know.

  • "First Pro CC 2014.2 has stopped working" after a few moments of running and usually after you import a video clip.

    "First Pro CC 2014.2 has stopped working" after a few moments of running and usually after you import a video clip.

    I use a Lenovo T440p with Intel Core i5 @2 laptopp. 60 GHz, 8 GB of RAM. Windows 7 64-bit with Service Pack 1. Intel HD 4600 graphics card. All the drivers are up to date.

    All other non - CC Adobe video editing programs work.

    Help, please. Thank you.

    Dennis,

    Changing the video rendering engine should have solved the problem. Is it still pending?

    Thank you

    Regalo

  • CS6 on Win10 installation problem - says another installer running and should be stopped

    I downloaded files for CS6 Design and Web Premium (it was well before the purchase of cloud) replacement on computer where Windows 10.  I clicked on the Setup icon, and he told me another installer is running and must be closed.  Can't find it.  Rebooted computer and click on Setup.  He has passed the point of wondering what elements of the Suite I want to install and start the installation, but leaves with the error DW069: an other MSI Installation is underway. and the message above on another installation program runs and must be closed.

    What should I do?

    Thanks for any help.

    Press Ctrl-Alt-Del and select Task Manager to see what is actually being run

    Also...

    Cloud & Win10 https://helpx.adobe.com/creative-cloud/kb/Windows_10_compatibility_FAQ.html

    -In addition, only CURRENT products will be tested and updated for compatibility with Windows 10

    - so if you have an older program, update you to Windows 10 at YOUR risk of problems

    -You can get CS6 and previous programs to install and run, or you can not (some do, some don't)

    An idea that MAY work to install or run some programs in Windows 10 old... works for some, not for others

    -http://www.tenforums.com/tutorials/15523-compatibility-mode-settings-apps-change-windows-1 0 - a.html

    - or run as Administrator http://forums.adobe.com/thread/969395 to assign FULL permissions can help... said yet, but sometimes it is necessary for all Adobe programs (this is same as using an administrator account)

  • stopping VI, takes long

    Hi, im using the myDAQ examples of audio device, I built a vi, with sampling rate of 22.05 K and 220.5 K samples, so the sampling time is 10 sec, when sampling is done he writes the wav file and shows the signal on the waveform table, i ' v added a while loop with a stop button. a few questions:

    1 stop procees is too long, moment I pushed the stop button until the stop really takes a few seconds, why is it?

    2. how to add a play button, in order to read the sample file?

    3. I want to add a matlab script to process and draw the processed data, how do I connect between the sampled data and the matlab script?

    I also downloaded my VI.

    Thank you in advance.


  • My PC stops watching streaming video in full screen and also video chat in Skype

    Hello...

    My PC works with Windows XP Home edition, but everything in trying to watch some YouTube videos (fullscreen), my PC stops and restarts. Also, if I did video chat with Skype, after 5 or 10 minutes, my PC restarts. However, I don't find any problem in the video game CDs and DVDs, even in mode full-screen for a long time... But if I try to display in full-screen streaming videos, my PC stop (even with the Skype video chat). Config. My PC is Intel D945GCNL Motherboard, 1.5 DDR2 RAM, Dual Core processor * address email is removed from the privacy * GHz and Windows XP Home Edition with Service Pack 3.

    INDUC

    Take look at your audio/video situation more closely and see what you have right now:

    Click Start, run and enter in the box:

    Msinfo32

    Click on OK and when the system info summary appears, click on Edition, select all, copy, and then paste the information here.

    For information about video drivers, expand components, click view, click on edit, select all, copy and then paste the information here.

    For information about the audio drivers, expand components, click Sound Device, click on edit, select all, copy and then paste the information here.

    There will be some personal information (such as the user name and the name of the system), and anything that turns information private for you, simply delete the pasted information.

  • Windows that open, kind of slow, stop, real slow (2-1/2 minutes) and using a lot of memory-taskmanager

    NOTE: I'm sorry! I got this message under win 7 instead of Vista!-complaint of the hand, off 2-1/2 minutes?

    Thanks for all the answers! They were still in force.

    original title: scanning for dell studio 1737 and recommended bios update

    Hello, generally, I read until I have my answer, but I can't so I think I give it a try. Somehow I screwed things up with my computer. My main complaint is that I have something running that takes a lot of memory according to the Task Manager. My fan runs often, 1-1/2 minute stop time, pop up messages telling me to stop then reload IE9 sp2. I found some stuff on my event viewer, but I can't seem to cross the first error which is something on my bios. I go to the dell website to try to update with a flash of the bios but note comes up saying that my computer does not accept the flash. I have other issues in both event viewer, but can't remember them that I can't get beyond the the bios issue. The computer is a Dell Studio 1737 plenty of core duo memory 4 MB with plenty of space on hard drive and it seems to do well but all the * running in the background makes it run hot so the fan. All I want to do is get a scan for my installed bios system and install an updated version. I am not able to do at Dell. Maybe they want me to pay to support or something. I did all the FixIt of ms, I ran three different registry cleaners, I ran three viruses different scans, nothing. I've loaded my vista dell disk and tried to recover or repair and cannot do it either. I notice weird things with ie. I've done several downloads for versions 32 and 64 bit, to do the right thing. Maybe he has an it is to say the conflict or something. Whatever it is, I'm sure it's related to the fact that my computer takes 1-1/2 minutes to stop, even if it starts normally. I played with it for about a month now and I'm traps at all reading. If I can Flash my bios and get this update, maybe, I'll be able to get then some of the other things go. Here are some tips from the event viewer if anyone has any time for her. $ 1 million for any help thanks! If anyone knows where I can find a site that can digitize to my existing configuration and then recommend the installed updates. Oh, just in case anyone is wondering why I do not pay just for a few servieces for help me, or take it to a computer store, I don't have a job and can not afford it. Believe me. I have many errors saying: the embedded controller (EC) has failed in the specified time-out period. This may indicate that there is an error in the EC hardware or firmware or BIOS is accessing the EC incorrectly. You should check with the manufacturer of your computer for an updated BIOS. In some cases, this error may cause the computer to function properly. And The Office Source Engine service entered the stopped state. Service WinHTTP Web Proxy Auto - Discovery Service entered the running state. The Google Software Updater service entered the running state. The Google software update service entered the stopped state. A total of 60 errors in a single day, for weeks. Thanks again!

    Ok..

    The first task manager...

    Open it and then click the CPU tab until the processes that use most of time processor are grouped at the top of the list.

    The system idle process should be at the top and then maybe three points below that seem to take the time to processort.

    Make a note of them and then look on the Internet that each fact or the program, application or process to which they are linked.

    Forget the event viewer and any reference to it in the BIOS...

    All the * running in the background will not cause it's running more hot so the fan. BUT, you can have installed something knowingly or perhaps inadvertently causing the CPU work all the time. Reference to what I said about the Task Manager. This is where you will find the cause most likely.

    BIOS... How to download and install... taken directly from the Dell support site. No payment at ALL is required. BUT, you probably don't need to do and if you do, it should choose to do so, it should be performed using socket at a time when it will present no risk of a power failure...

    Download

    1. click on download now to download the file.
    2. when the file download window appears, click Save (Windows XP
    users will click Save) this program to disk and click OK. Save it in:
    window will appear.
    3. If you want to save in: field, click the arrow to the bottom, and then click on for
    Select desktop, and then click Save. Download the file to your desktop.
    4. If the download complete window appears, click Close. The file
    icon appears on your desktop.

    Install

    1 double click on the new icon on the desktop, titled R302080. EXE.
    2. the self-extracting window appears and prompts to extract or
    Unpack in C:\DELL\DRIVERS\R302080. Write down this path so the executable (I.e.
    You can later find Setup.exe file).
    3. the self-extractor file window appears.
    4. click on OK.
    5. After completing the file extraction, if the Self-Extractor
    window is still open, close it.
    6. click on the Start button, then run.
    7. type C:\DELL\DRIVERS\R302080 in the box text open, and then click OK.
    8. follow the on-screen installation instructions.

    Fact MS Fix - its for what exactly?

    Use of registry cleaners will create more problems than they ever solve. You may well have created one of the issues by running a registry cleaner. Uninstall them as best as POSSIBLE...

    Three viruses different scans? Without doubt completely uninstalled before the installation and execution of another? In addition, what av scanners?

    Many downloads of 32 and 64 bits, what?

    Your computer may take a long time to stop if an open e-mail program is defined on control too frequently, or if a backup utility is configured to check the differences between system and backup is too frequent. In addition, some gadgets can slow down to stop, and USB keys will cause Windows to ensure that there is no process to read/write that run to them before she stops them.

    Flashing the BIOS is not and has never been the panacea for all the ills of the computer and won't solve ANYTHING in your case.

    If you have upgraded from Vista...

    Go to the Dell support site and downlaod driver and install any Windows 7 drivers for your machine other than BIOS. If you enter your number of service on this site...

    http://support.Dell.com/support/downloads/index.aspx?c=CA&CS=cadhs1&l=en&s=DHS

    you will be presented only with the specific drivers for your machine.

    This should eliminate the errors of the EC.

Maybe you are looking for

  • Genius Bar to get a PIN code extraction

    I have a pincode move request how much is that it's going to get

  • Satellite L30-105: Question on working time of battery

    I think of buying one of them, but the 1.5 hours battery life put me off a bit.Can someone give a review? It's all good, and not really the battery only last an hour and a half? Thank you. : o).

  • Satellite R830 random freeze with no way to take back control - full fan speed

    HelloI've been Googling autour for a bit now, looking for a solution to what could be a hardware problem. Randomly my Satellite R830 suddenly freezes and the speed of the fan running at full speed. It's actually a useful way to be immediately aware t

  • Apple's music will not stop downloading music

    I don't want Apple's music to download all my music on my iPad 2. I disabled the automatic music download in settings/iTunes Store and App Store on my iPad.  I also disabled iCloud music library in settings/music.  I restarted the device.  Yet when I

  • No disk operating system.

    One of my oldest friends has a laptop that came without an operating drive. The laptop came from BCS Elite group. I found them to Singapore. They do not respond. Can I get the disc from microsoft. I have the code key on the laptop itself. I need to r