Why is my through put better with two applications than one application?

I have two functions, acquire data and write date to database.  If I divide these two functions into two applications run under one project, my through put is 100 Hz; but if put both function into one application my through put 10 Hz.

Code woudl help. Without it we would be shooting in the dark as to what your issue is.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • Why do I get downloads installed with two types, Ex. photoshop CC as well as photoshop CC (2014)

    why do I get downloads installed with two types, Ex. photoshop CC as well as photoshop CC (2014)

    http://blogs.adobe.com/jkost/2014/06/installing-the-2014-release-of-creative-cloud.html
    This messages says (at least some) CC 2014 programs use NEW plugins https://forums.adobe.com/thread/1499663
    -so do not uninstall the older CC programs if you use plugins in your programs until you are sure you have plugins that work in CC2014
    If you are sure you don't need the old CC programs
    -http://helpx.adobe.com/creative-cloud/help/install-apps.html to install or uninstall
    -read reply #3 about the ORDER of uninstalling & installing https://forums.adobe.com/thread/1242671

  • Firefox start with two pages. One says welcome to Firefox etc. And the other is my homepage (google). I want to stop the first page. How can I do this??

    Firofx (5.0) starts with two pages. One is the welcome to Firofox and also that there are Add-ons available. The other one is my homepage (google). I want to stop the first page. How can I do this?

    See these articles for some suggestions:
    * https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    * https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved

  • HT201386 many of the functions of iPhoto are lost in Photos. Why delete it? its better to remove Photos than iPhotos.

    many of the functions of iPhoto are lost in Photos. Why delete it? its better to remove Photos than iPhotos.

    Please use the feedback form to let the Apple developers know:
    Apple - iPhoto - Feedback
    Brushes, tags, captions, info panels are all essential for a photo library.

  • Problem with Assigning more than one value to GROUP dynamically

    Hi,
    I have a problem with assigning more than one value to GROUP varible dynamically.
    I am able to assign only one value dynamically through Initialization block
    I have even tried with the ROW-WISE initialization blocks..
    using this query..
    SELECT 'GROUP', G.GROUP_NAME
    FROM GROUP_MAP G
    WHERE G.USER_NAME = ':USER'
    if GROUP_1, GROUP_2 are two groups to be associated,
    through this, i'm getting " GROUP_1;GROUP_2 " into GROUP variable ( seen from Narative view )
    And the properties and securities of this Groups are not inherited.
    Please let me know if there is any other way to Populate the GROUP variable dynamically with more than one value.
    Thank you.,

    Hi,
    i finally got in this way..
    i had created a function which takes USER_NAME as input and returns a string that contains the GROUP names with semicolon delimeted..
    Though it is same as that of ROW-WISE initialization,
    the properties of those groups are also being inherited..
    Now, i can assign more than one groups and its properties to a user dynamically.

  • Put a song into more than one genre

    I am trying to organize my music and would like to put a song into more than one genre.  So if I put a song into the categories "acoustic"  and "blues" I would like for that song to come up with I search acoustic songs as well as when I search Blues songs.  How can I do this?

    Genre= "Acoustic Blues"
    Search for "Genre contains" as opposed to "Genre IS".

  • Problem with printing more than one page (ghostscript broken?)

    Hello,
    since one of the last package updates I have problems with printing more than one page. The print problems occurs as well with pdf files as well with printing websites. I use an actual KDE system with commercial turboprint printer driver. The first page always prints fine, but all consecutive pages are corrupted.  As from a similar problem some months ago, I assume a broken ghostscript package. I tried to downgrade ghostscript to check that, but I get depency problems:
    root@arch32 dieter]# ls -l /var/cache/pacman/pkg/ghostscript-*
    -rw-r--r-- 1 root root  9906288 21. Mär 2010  /var/cache/pacman/pkg/ghostscript-8.71-3-i686.pkg.tar.xz
    -rw-r--r-- 1 root root 11402624  8. Okt 22:44 /var/cache/pacman/pkg/ghostscript-9.00-1-i686.pkg.tar.xz
    [root@arch32 dieter]# pacman -U /var/cache/pacman/pkg/ghostscript-8.71-3-i686.pkg.tar.xz
    Löse Abhängigkeiten auf...
    Suche nach Zwischen-Konflikten...
    Fehler: Konnte den Vorgang (Kann Abhängigkeiten nicht erfüllen) nicht vorbereiten
    :: libspectre: benötigt ghostscript>=9.00
    [root@arch32 dieter]#
    Anyone else having printing problems or a solution for my problem?
    Thanks, Dieter

    This may not be related but I had a problem printing a pdf today whereby the second page got corrupted. The same pdf had printed fine several months ago. I realised that (long story) for some reason I had switched drivers (HP printer) from hpijs to hpcups. I installed the printer again as a "new" printer using the hpijs driver and it printed properly this time.
    So it may be that the bug causes issues with some drivers. You could try an alternative driver for the printer as temporary workaround?

  • Problem with starting more than one SwingWorker

    Hello
    I wonder if anyone could tell me if there are known problems with starting more than one SwingWorker thread at once?
    In response to an action the user performs, I need to obtain several lists of things from the server. This includes a couple of server-calls, and I want to do the server calls in a thread outside the awt-event thread. So I start a couple of SwingWorker-threads. This works fine sometimes, but not always. Sometimes code in some of the SwingWorkers finished method does not update the ui. I can see that the correct calls are made, but the ui is still not updated correctly. The problem seems to be related to the sequence of when the different thread are finished. For instance, if the sequence is like this:
    SwingWorker1.construct
    SwingWorker2.construct
    SwingWorker1.finished
    SwingWorker2.finished
    Things go fine, but if the sequence is:
    SwingWorker1.construct
    SwingWorker1.finished
    SwingWorker2.construct
    SwingWorker2.finished
    the ui-updates in SwingWorker1.finished is not done correctly.
    Can anyone help me with this?

    This is the point:
    In one SwingWorker thread you have 1 construct method, and 1 finish method - which are both invoked once.
    Therefore you only have one opportunity to update the gui in that thread. This forces you to use many threads if you want regular updates, which I try to avoid.
    Therefore, the solution!
    Have a loop in the construct method that executes the algorithm accordingly, updating the gui accordingly at regular times, maintaining just the 1 thread - becomes easier and nicer for the programmer and the JVM.
    The finish method in this case is to update the gui when all iterations are finished.
    There is nothing wrong with this. Just because you have a finish method that is called in the event-dispatching thread doesn't mean that all your update code must be in there.
    What you MUST ensure is that ALL your update code is executed in the event-dispatching thread, that is the most important thing. After all, SwingWorker is just a helper class, not the gospel template of how to update a gui.

  • Opening two windows with "_blank" rather than one...

    While setting up external links, I am finding that every time
    I have the link open in a new (_blank) window, two windows will
    open up with the same link rather than one. I guess two is better
    than none, but does anyone know why this is happening? And also how
    to fix the problem? I tried using _parent and it does the same
    thing. I'm new at flash but understand the principles, though is
    there something I'm missing?

    I know of no reason why that would happen other than having
    the getURL, LoadVars or whatever being called twice - e.g once with
    an onPress and then again with onRelease or something like that.
    If you want someone to look at your relevant code, feel free
    to post it here using the attach Code button (if you don't do it
    this way then the formatting of your code can get messed up).

  • Working with two computers. One of them not working

    I've been working with two computers. In one of them where I have already  installed several programs downloaded with the Adobe Application Manager, when I try to open a program is giving me a message to sign in for a 30 day trial of the program? Why is this happening?

    Try http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

  • How to handle sessions with two severs on one machine?

    All,
    I am having a problem with session cookies being overwritten when I host two apps on one machine running WebLogic 8.1 The apps are http://myserver:7300/app1 and http://myserver:7400/app2, and each runs in its own server.
    Users will often access both apps at once, in two browser windows. If the windows are different threads in the same process, the sessions collide. For Internet Explorer, this isn't usually a problem since clicking on the shortcut multiple times launches different processes by default. Some browsers (Firefox, etc.) won't let you have two windows under different processes. Attempts to launch a second window 'detect' the existing process and appear to spawn a new thread. When this happens there appears to be no way for the users to use both apps at once.
    I know this is happening because of the way session cookies are stored in the browser process' memory. The session cookies appear to me to be 'keyed' by the host name or ip address of the server. Does anyone know of a setting in WebLogic so that this 'key' includes the port or context root? Is this even something which can be controlled on the server side?
    Thanks for any help,
    Brian

    Not quite sure what your intent is, but if you want to avoid a clash how
    about giving each application a different default session cookie name.

  • Dealing with two numbers at one contact is a problem

    I managed to backup and transfer anything I want from my iphone 4 to my PC without syncing or using internet connection. All by usb cable. But the one thing that I can not manage any more is my CONTACTS. Iws trying to compy my contacts to other Nokia phone. I use 2 or more numbers for one contact. For example
    First Name: Sean
    Mobile: 011111111111
    Mobile: 02222222222
    Other: 03333333333
    I synced with Windows Contacts and Outlook but always the data (contacts) on my PC shows one Mobile and Other so in my example it will show like this
    First Name: Sean
    Mobile: 011111111111
    Other: 03333333333
    So is there any way to backup/sync my all contacts with full info even custom labels ?
    This is my first question so excuse me if I did anything wrong by posting it

    innesco wrote:
    This is partial solution thank you Michael Black but it didn't work when I used more than one Custom Label for example
    First Name: Sean
    Mobile: 011111111111
    CustomLabel1: 02222222222
    CustomLabel2: 03333333333
    and the result in outlook is
    First Name: Sean
    Mobile: 011111111111
    Other: 03333333333
    Any ideas ?
    In my Outlook 2007, the phone number fields are specifically defined in the predefined dropdown list.  I see no option to use anything but those in that dropdown list, so I'd say you must make sure that each phone number field you set up on your iPhone contacts matchs, exactly, one of those in the Outlook allowed field names.  Being a typical MS program, you must rigidly use their assigned field names

  • Can I use NIDAQ32.dll with more than one application?

    We have some third party hardware and software which uses a PCI-6602 board and NIDAQ. I wanted to use some of the functions of the board for something else in a VB 6.0 program, but I always got errors with NIDAQ32.dll not being found if the third party software was running. It worked fine if I closed their software. I talked to NI, and they said you could not access a board with two applications at once. Fine, so I bought a PCI-6601 to put in the system to do my other functions. However, I still get the same error, saying the NIDAQ32.dll can not be found when I try to run my VB program. Anybody have a solution? I really need this to work, or this board is pretty useless to me...
    -Matt

    Matt,
    You CAN access a board with two applications at once. However, you can not access the same resource on a board with two applications at once. Analog input, analog output, and digital I/O are each their own separate resources. Each individual counter is a separate resource. Since your application works fine with the third-party software closed it sounds like your third-party software is doing something to the NIDAQ32.dll. I recommend contacting the developers of the third-party software and finding out what they are doing with the NIDAQ32.dll and if they even intended other applications to access the DLL at the same time.
    Ames
    Applications Engineering
    National Instruments

  • Is it better to have more than one Catalog

    I have close to 800 GB worth of images, and I just got LR, so not sure what would be best.
    I will be importing my images as (Reference), since I have all my images on Ext. HD. The questions that I have is should I import my images on two separate Catalogues.
    I read somewhere that it's recommended to have more than one Catalogue as a precautionary measurement, I guess if something happens to one of the catalogues, I still would have some images available. Yes, I am aware of back ups.
    I am open to any suggestions,
    Thanks

    Elli,
    Aah, now that makes a difference. It seems that we are concurring, what you described is the same thing that mentioned where you can set under "Preferences" to select which Catalog to work with. I think what threw me off, is when you said that your DB was on your Int. HD. Actually, I think all is there is the name of the file,i.e., .lrdb.
    I think this is the safest way to set up LR, regardless how many images you have. You always have to think about Plan B. I'll check the link you sent me. I'm also using LR User's Manual 135 pgs.
    I am aware of the large number of images I have, and that is why I'm editing, deleting as much as possible prior to the migration. I checked the Preferences and I changed preview at 1024 pixel (the smallest).
    JohB
    Yeah, it's kind of funny regardless. Oh I wish I could have an invisible dig camera reaching the other side hmmm, that would be something eh?
    I would like to use the same analogy you used. I am sure that B&Noble keeps a separate DB and they extract and manipulate their DB with their Corp. DB. Having said that, that is basically my intention. Why would I review my inventory relying on a single DB. Why not bring the DB for the store that I am interested.
    There are a couple of reasons that I'd go for more than one Catalog. One is the obvious it would be a huge preview file to open and work with a single DB. Second, if something should happen I don't want to be dependent on having all my images on a single DB. Granted, I'd have a back up but..... you never know.
    I am sure about performance issue, but I would suspect that for the mere fact, that if you open LR is going to take a bit longer to bring all the previews on.
    In spite of the big task I have, it has been very rewarding. I found some images that I have not seen for a while and too be honest some were huge files. I remember that I have a couple that I had it sent for Drum scanning and the file is huge. I have taken them out of my HD and made multiple DVD copies. Can you imagine having this puppy on LR and trying to boot up?
    JohnK,
    Thanks for bringing up a good point, about using a different keyword system. Now the question is how could I differentiate them in a very simple way having a big file. I was thinking that I could batch it or maybe using Automator

  • Is there a way to put an item under more than one calendar at the same time?

    I use the calendar to keep track of not only my schedule, but my entire family's. For years I had a calendar labeled 'kids.' Now as they're getting older it would be easier to have an individual calendar for each child. Easier for me to track where they are and they could have they're own calendar on their iphone or iphone touch since we all share one cloud account. However, frequently more than one is at the same activity. The calendar program will only allow me to select one calendar to place an event under; as soon as I select another, it deselects the first. Is there a way to place an event under more than one calendar?
    (Since I'm still the one driving that needs to know date, time, place, etc type details I don't want them adding it to their own schedule - maybe -  on their devides and synching through cloud)

    You can create many calendars. Here's the tip:
    Example: you have 1 son and 1 daughter.
    In iCloud ( https://www.icloud.com )
    Create 1 calendar called Son ( Choose a color to tell them apart )
    Create 1 calendar called Daughter ( Ditto )
    Create 1 calendar called Kids
    Since you are the creator, you get to see all calendars combined.
    Send invitations to each of them
    Son gets Son and Kids calendars
    Daughter gets Daughter and Kids calendars
    So if there an event for Son, just put in that calendar
    If it's for both then enter it in the Kids calendar
    Likewise for daughter.

Maybe you are looking for