Call to videoControl.getSnapshot (encoding) takes 5 seconds on the torch

Hello

I have an application that integrates the camera via the api. The initialization of the camera and preview are fast. When I click on the ball control or touchscreen I run the code:

JPEG Byte [] = _videoControl.getSnapshot (encoding);

The torch, it takes about 5 seconds for the camera to focus and take the picture which is the way to slow down. The internal application of the device does not work quickly. When I click to take a picture, it is immediately taken. Why is the api so slow. I tried to add parameters during initialization of the camera, but without effect:

Let me try this on my torch and get back to you tomorrow... I just wanted to report that it is for a few days and I have been absent due to a long weekend here.

The version you are using does not contain the patch that I mentioned, so I would like to confirm if the problem you see is the bug I mentioned and if that fixes the problem, and we can go from there.

Tags: BlackBerry Developers

Similar Questions

  • When I open programs in Windows XP, the menu bar does not appear and it takes several seconds before the program responds (after that finally shows the menu bar).

    Everytime I open a program, it takes several seconds before I can do anything because the menu bar are not displayed immediately.  After the menu bar appears the function of programs very well, but it is very annoying to have to wait.  I've done an installation of Windows repair without success.

    follow the directions to this treatment... http://www.microsoft.com/windowsxp/using/setup/expert/northrup_restoreperf.mspx

  • The configuration step of the calendar after the call to DAQm angular encoder, takes a lot of time vey even to 1000 samples per second. No idea why?

    I use an encoder in quadrature with DAQmx 6259, the call to read the outputs of the meter is slow, much slower than the sampling rate? No idea why?
    Thank you

    Hello Roxanne,

    In the title of this thread, you mention that the calendar configuration step takes a long time.  Is now called node configuration several times in your code?  You may find that your code runs faster if the channel configurations and the task doesn't occur once.

    Our example of the expedition, ' counting digital Events.vi ' may be of interest to you.

    Can be found by browsing our example search tool:

    'Help' examples

    Once opened, the example Finder you can find this example by browsing:
    "" material input and output"DAQmx" counter measures "County Digital Events.vi

    Best regards.

  • How can I disable the download button timer when you try to download files. It takes 5 seconds until the button becomes available and not dimmed and I need it to be as long.

    I know this is a parameter in order to prevent the download of malicious software, but I don't need. Please tell me how to disable.

    The content of this dialog window should appear immediately, but there is a counter to set a timeout of the second two before activating the button OK (security.dialog_enable_delay).

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

  • My site optimized (22-59K) uses a grid for layout system. It takes 10 + seconds in Firefox 7,8,9 to load, other browsers need less than 1 second. Y at - it other that to use a 2-column layout, some recommended grid with which Firefox gets along?

    Someone commented ago about 9 weeks for my site to load very slowly. I tried and had no problem.

    But a few days ago, I realized that the first call (after rebooting the system) in Firefox 7, 8 and 9 of Firefox Firefox takes 10 + seconds (white screen) while other browsers have need of about 1 second. After the initial call each page loads faster than in other browsers.

    Without content management system, I got the same results. In simply removing things from the grid of my stylesheet, pages loading less than a second. I tried other grids http://cssgrid.net/, http://www.webdesignerwall.com/demo/simpler-grid/940grid.html , but had the same number.

    A identify the extension that is causing the problem in your case?

    He is always unpredictable, how the extensions behave with a new version and in case of problems you can contact the developer of the extension to inform him about the problems.

  • DAQmxClearTask of output channel takes 20 seconds

    I have a camera of NiDAQmx on the NI PCI-6713.

    I create a task for the analog output.

    I stop the task and delete it using DAQmxClearTask.

    The call to DAQmxClearTask takes 20 seconds. On other systems I use the same call takes less than a second.

    Can someone help me understand & solve the problem?

    My driver version is: 9.7.5

    I work under windows 32 bit, visual studio 2013.

    Thank you

    Yoav Pinsky

    Hi Yoav,

    Have you tried using NI Trace of IO to help diagnose the problem? This tool can give you a sense of whether any involuntary or repeated call is made. You can find this tool in the menu start > all programs > National Instruments. Once the with tools open just to start the trace with the green arrow, run your code, and then stop the trace.

    In addition, you can find this post on the forum useful.

    http://forums.NI.com/T5/PXI/why-does-it-take-so-long-to-clear-a-task-with-DMA-transfer-using/m-p/237...

    In this case, the problem was due to driver and device conflicts. You can reinstall the DAQmx driver if you haven't tried that already.

  • T450s startup takes 35 seconds before displaying the splash screen. (wake up 11sec)

    The following are my problems:

    1. when starting the machine, it takes about 35 seconds before the first activity screen (screen of Lenovo). After that, it starts normal.
    2. when waking off mode 'sleep', it takes 11 seconds before I see directed power stop to 'breathe' and wake up the screen.

    It feels like it is a hardware/bios on the issue, as (so far I know) hdd/ssd is accessible only after the bios has loaded and completed its audits of material. When you paste into a bootable usb it starts only flicker after the bios was loaded on the screen.

    Question:
    Anyone have an idea why my laptop waiting so long to start or wake? I don't mind wait a bit, but in 35 seconds + startup time normal is really boring. Especially with the fact that the laptop shows no sign of life for 35 seconds after ignition briefly the backlight on the keyboard. Alarm delay is also very annoying since even my 7 year old laptop BSOD to wake up faster, and I use a lot "sleep" mode.

    Some origins I think about:
    -Verification of the material during the initial start-up of equipment does not yet recognize a dedicated GPU card. (POST: Power On Self Test)
    -I don't think it's a problem with my software because the problems occurs before any media playback.

    I already tried things:
    -Reset the bios.
    -Start in legacy mode.
    -Update the bios
    -rebuild MBR (although I think that's the problem.)
    (- Refreshing installation of windows, even if I do not expect that's the problem.)

    This problem was already at the beginning (with origenal material):
    From the first time I started the laptop (with HARD drive), I noticed that it took a long time to start. I remember repeatedly pressing the button ON / OFF and think I did something wrong, when all of a sudden the 'Lenovo' screen appears.

    I hope someone can help me!

    My problems were solved!

    An engineer contacted me that they received a mainboard replacement and they wanted to make an appointment. I gave them the address where I worked the next day because I'm very mobile, and an engineer came by the next day. It appeared to be a qualified IBM engineer and test my machine and came to the same conclusion as me. He then did some tests to see if the problem was caused by something else, then the motherboard but eventually replace my motherboard with good care.

    After the replacement of the startup time and wake up was normal as it should be. I'm very happy with the service that Lenovo ThinkPad gave me.

    I have to add that when I called for the support that I got someone on the line who couldn't really understand me, neighter, Dutch or English. But it was also duo a bad connection, it seemed to me... But after that call I really didn't expect that it would come to a good end. I then really suppriced isn't 5 days later a Dutch engineer Chief called me for an appointment.

  • 10 seconds on the first call to a CF-Web site

    Hey guys

    I hope that someone can finally help me here after hours of frustration trying to contact someone from Adobe who would listen to my problem...

    We intend to buy the new version of ColdFusion for our new Web server. For testing purposes, we installed the evaluation version of ColdFusion 11 and are faced with the following problem:

    First, we call all CF - web, theres a 10-second delay! After this period, you can see the Web page routinely. After an hour do not visit the page there is the same problem again.

    My first try to get more information on what could cause this problem, was looking to demand with the feature IIS "Failed Request Tracing. In these logs files, I found after the entry:

    taking_long.png

    module.png

    So what can I do to solve this problem?

    Greetings from the Switzerland

    Nico Merz

    PS: More information on how to search for detailed information to a slow query or failed, you can find on my blog IIS-problem mithilfe einer Ablaufverfolgung debug: nicomerz.ch (in German!)

    Hi Nico,

    Make sure that, after you apply the update, you have reconfigured the connector.

    And also ensure that, before the reconfiguration of the connector, you take a backup of the previous connector folder, as CF will retain any changes you have done on the file/properties of connector.

    Once reconfigured, please check once more and let us know.

    Thank you

    Milan.

    The CF team.

  • Encoding takes enough time

    Hello all, hoping that you can let me know if this is normal or not. First of all, data sheet:

    images of Windows Vista, CS4, quad core, 8 GB RAM, 2.83 is AVCHD.

    Filmed and try to export. I did several chronologies in the same project, as it was the first Cup, and the second is the second cut. I'm trying to export the second cup; It has a duration of 1h43min. I go to export, as I would any other clip. In this case, I am trying to export to MPEG2-DVD I want to work with him again to produce a DVD. In any case, I send more to encode, and here it is. The last time I did it (with the first cut), it took nearly 18 hours to complete. I am now six hours in export and the encoder has the tag (not Reponding) upstairs. While my first inclination will close and try again, I remember during the export of the first cut, he would do this before loading and encoding. So, I guess my question is this: is it normal to encode to take more than 6 hours to load a timeline and another 12 to encode (for a 2 hour movie), or something goes terribly wrong?

    Optimal rendering quality is not controlled by the quality slider in the

    Settings dialog box.

    Here is a link to my tutorial on converting HD to SD using the MRQ.  It's going to

    take you 20 minutes to watch.

    http://bellunevideo.com/tutorials/CS4_HD2SD/CS4_HD2SD.html

    -Jeff

  • iPhone iOS 5 + 10: press the button to unlock home takes 5 seconds to unlock the device

    Hello!

    Yesterday, I did the update to iOS 10 on my iPhone 5.

    Now, it takes 5 seconds to unlock my iPhone 5 after pressing the home button. It is average for a long time! Everyone even experiences?

    Thank you!

    martin_777

    It is normal for the old model of the iPhone 5. in any case, you can try to reset your device and check if it helps.

    Try resetting your device. This will not erase your data stored on that device.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

    If that doesn't work, restore your device to factory settings. Please note that this will delete the data on your device.

    Take a look this Apple Support article: use iTunes to restore the iPhone, iPad or iPod to factory settings - Apple Support.

  • TB takes 25 seconds to display the content, then 30-40 seconds to remove

    Brand new HP Pavillion running Windows 7 Pro:
    When the first installed TB, it worked fine, but of course no address book content, so I made a copy of the user profile (xx... xx.default), copied to the folder of TB and remove the existing .default file, as suggested by this forum. Parameters appeared good, address book was found, business resumed. Less than a week, TB began to run r e a l l y s l o w: download headers is normally, but clicking on a header will take 20 to 25 seconds before the display of the content, and then by clicking on the button 'Delete' will consume another 30 to 40 seconds before the program free to the next header. Clicking on anything then it happens causes the tag (not responding) for 15 to 20 seconds.
    I have disabled spam controls (MacAfee), restarted in Mode safe mode, deleted and replaced the trash folders. What's next?

    https://wiki.Mozilla.org/Thunderbird: test: Antivirus_Related_Performance_Issues #McAfee

  • It takes 40 seconds to start firefox. Would it be faster? How?

    before the opening of firefox it takes 40 seconds. What could be the problem or is the normal time to open?

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Windows 7 Enterprise - laptop Dell - SSD - starting Windows slow step - takes 80 seconds

    Hello

    Faced with this fresh problem for a few days now, reading many topics, try lots of things without success.

    Get the new Dell Latitude E5470 - Intel Core i5 6300U - 8 GB RAM - HDD: Samsung PM 871 m2 2280 256GB SSD

    Latest drivers + BIOS + FW from dell/intel Web sites

    Deploying image wim company universal Win7 enterprise.

    On this laptop "starting Windows" step means exactly 60 seconds. Until you get the screen to login after 70-80 seconds.

    Deploy the same image on desktop: Optiplex 3040 the same operation takes 30-40 seconds (8 GB RAM - SSD).

    This is the largest part of the information/tent:

    • BIOS: start legacy Mode
    • SATA from the BIOS: AHCI Mode
    • Windows performance monitor to show me that the smss.exe process takes 65seconds
      > Here is the BootCKCL.etl.zip file: https://goo.gl/PvdXeg
      > Here's my detailed Perf Windows Analyzer: 300MB zip / 3GB uncompressed: https://goo.gl/XHD4FN
    • Diagnosis-Performance event log - event 100 gives me
      BootSmssInitTime: 65552 (ms)
    • Start in safe mode is very fast (30 seconds)
    • Start in normal mode, turn off non-Microsoft services, disable the startup application always spend 60 sec on the stage of "Starting Windows".
    • SSD trim is enabled
    • fsutil: C: not defined as dirty
    • pagefile.sys static 2 GB (8 GB) auto resizing
    • hybernation (powercfg-h off) mode
    • turn off system protection / shadow copy stuff
    • remove unused hidden devices
    • removal + compensation McAfee VSE (soft + agent)
    • Run CCleaner (registry + file compensation)
    • question appear that BitLocker is enabled or not
    • no other USB devices connected (issue appear when the USB mouse is connected or not)
    • active prefetch (even if disabled)
    • sfc/scannow not found something wrong
    • CHKDSK found some difficulty entries but does not solve the delay
    • HKLM\SYSTEM\CurrentControlSet\Control\Session Manager > (MULTI_SZ) BootExecute = autocheck autochk *.
      > same issue even if deleted
    • Power strategy: Mode of Performance

    TBH

    I suspect that you would get a more complete answer on the Technet site, which is for IT's Pro.  This site is for consumers, and it is the level of skills more common here.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • When I did this it called my disabled factory or pirated disk. How can I take my PC off the product key and got my other PC for its use?

    I have Windows 7 Professional.  Used it on my PC and then I had to buy a new Dell computer, as my old PC blew the motherboard.  The new Dell came with 8.1 if I want to install 7 on my wife's computer, as it did in Win98.   When I did this it called my disabled factory or pirated disk.   How can I take my PC off the product key and got my other PC for its use?

    If Windows 7 Professional is pre-installed on your Dell computer, it cannot be transferred. If it is a license purchased at a retail store, he transfer rights.

    A computer running Windows 98 is perhaps not powerful enough to run Windows 7.

    * 1 gigahertz (GHz) or faster 32-bit (x 86) or 64-bit (x 64) processor

    * 1 gigabyte (GB) of RAM (32-bit) or 2 GB RAM (64-bit)

    * 16 GB of disk space available (32-bit) or 20 GB (64-bit)

    * Peripheral figure DirectX 9 with WDDM 1.0 or higher driver

    How to transfer a retail license.

    Click Start, type: CMD
    Right-click on CMD
    Click on run as administrator
    At the command prompt, type: slmgr.vbs - upk

    Press enter, this will uninstall the product key of the computer and to the evaluation mode, you are now free to use it on another computer. If you experience problems, try to activate by phone:
    Activate Windows 7 manually:
    1. click on start and in the search for box type: slui.exe 4

    2. press enter on your keyboard

    3. Select your country.
    4. Select the telephone activation option and brace yourself for a real person.

  • My program to take 30 seconds - 1 minute to open...

    Hello, recently I installed the update and my program beginning of opening in 30 seconds or 1 minute...
    When I play the song, it take 30 seconds to open the media player,

    I wrote some suggestions on how you can difficulty a slow, slow PC (or what is that actually run slow).

Maybe you are looking for

  • The stub installer of Firefox download

    He just telling me: one moment, Firefox will launch as soon as installation is complete...

  • El Capitan runnig very slow

    El Capitan is very slow. I run ETRECHECK, and here's the report: EtreCheck version: 2.6.6 (226) Report generated 12/01/15 20:30 Time 02:12 Download http://etrecheck.com EtreCheck Hardware information: (does that mean?) iMac (21.5 inch, mid 2011) [Cli

  • Bluetooth freezes when the screen turns off

    Having a problem with the Bluetooth on my pre. I coupled it with a Plantronics Voyager 855. Initial pairing works very well, but after the screen on the pre turns off, the connection goes bad. When I turn the screen back on, the Bluetooth application

  • WINDVD 5 can not find the file wnaspi32.dll and it cannot read DVD discs

    Original title: WINDVD 5 I have 5 WINDVD running on Vista SP2, home edition. At the start, WINDVD is wnaspi32.dll.

  • HP2310m monitor just don't look right for me

    Hello. I use a pc HP clubhouse with a HP 2310 m and Win7 6620f running. I had a disk failure hard and lost everything on my operating system disk, but the data disk is correct. I installed a new hard drive and reloaded Win7. Everything looks ok, exce