How does LabView choose which core to use in a multi-core system

I have to share my multi-core processor with another application.  When this other application runs, it consumes 100% of one of the cores on the system for several seconds.  I am worried about this other application blocking part of my control code, resulting in delayed control signals and possible loss of control. 
1.  When one core is completely occupied, will LabVIEW put all operations into the other core? (I am guessing this is yes)
2.  If an operation is occurring on a core that is subsequently 100% subscribed, will LabVIEW move the operation to another core?  Does LabVIEW (or XP) prevent the other application from stalling operations already in progress? 
The operations I am most concerned with are for the Multifunction DAQ and serial port calls.   
I am working on a good sized (>100 vi) control system application in LabVIEW 8.2.1.  It is running on Windows XP.   

1. Yes, Windows will allocate LabVIEW to an open thread on the unused core.
2. Again, yes, Windows will check for available threads and move LabVIEW to any that are open, it doesn't matter what core that is.
You can also force LabVIEW code, or parts of it, to run on a specific processor using the timed loop structure. You can find help for setting that up here.
Chris Van Horn
Applications Engineer

Similar Messages

  • How does ISE choose which IP to put in URL redirect response?

    Hello,
    does anyone know how does ISE choose which IP to put in URL redirect response if it has more than one interface with an IP address and all interfaces are enabled in the portal configuration?
    I have a single ISE 1.3 PSN with all four interfaces configured, enabled, each on unique VLAN, and each with unique IP address.
    In the CWA portal configuration, all four interfaces are enabled.
    Wired clients connect to NAD, NAD sends RADIUS request to ISE, ISE responds with a RADIUS response including the URL-Redirect parameter which specifies the web redirect URL. ISE configuration uses "ip:port" in the URL. 
    My question is how does ISE choose which of its four interfaces to put in this URL? Is it always the same interface that RADIUS packets were received on? Or does it always choose the first portal enabled interface? Or is there another logic? Configurable or unconfigurable?
    Thanks!

    ISE uses the first interface enabled for that portal, so if want to use a specific interface, then only enable that interface.  If interface is GE0, then default behavior is to redirect with ip value set to node's FQDN.  If interface other than GE0, then default behavior is to return the IP address of the associated interface. 
    Aliases can be configured for each interface using the CLI 'ip host' command to associate a hostname/FQDN to the IP address of a given interface.  When configured, ISE will return that value rather than IP address in redirect.  This is critical if want to avoid certificate trust warning on connecting clients.
    Be sure that certificate assigned to interface includes the correct FQDN or optionally wilcard value in the CN or SAN fields to avoid cert warnings.

  • How does Toplink know which Pool to use ?

    We have two pools defined in sessions.xml as below
    default has is-read-connection-pool false and one with true. We are not specifying to use read pool or default pool in our app anywhere, which we can while acquireClientSession("pool name"), but we are not. Does TL automatically decide to use which pool to use ?
              <connection-pool>
                   <is-read-connection-pool>false</is-read-connection-pool>
                   <name>default</name>
                   <max-connections>10</max-connections>
                   <min-connections>10</min-connections>
              </connection-pool>
              <connection-pool>
                   <is-read-connection-pool>true</is-read-connection-pool>
                   <name>Read Pool</name>
                   <max-connections>15</max-connections>
                   <min-connections>15</min-connections>
              </connection-pool>

    When using TopLink's internal connection pooling:
    READING: session.acquireClientSession() will acquire a read connection for the client session from the default read connection pool. Having multiple read connection pools and providing the pool name in the acquire is very uncommon.
    WRITING: When a UnitOfWork requires a connection for writing it will acquire a connection from the write connection pool.
    Doug

  • How do I choose which soundcard ALSA uses?

    Hello I am having a problem that ALSA uses the wrong soundcard, does alsa-utils or any others package provide a tool which I can make ALSA use the right soundcard?

    I spent weeks trying to find the best solution to this problem, and it's very simple. 
    Just put this in your .asoundrc:
    defaults.pcm.card 0
    defaults.ctl.card 0
    Change the number to whatever you want, and you can find them out with "aplay -l".  And only use numbers.
    Using this method, you can change the default sound card on a per-user basis, after boot time, without having to edit anything as root.
    I wrote a script that can do it for you, and handles volume control too:
    #!/bin/sh
    config=~/.asoundrc
    choose () {
    echo Choose a card:
    aplay -l
    read card
    echo Choose a control:
    amixer -c $card scontrols
    read control
    echo "#" $control > $config
    echo defaults.pcm.card $card >> $config
    echo defaults.ctl.card $card >> $config
    control=(`cat .asoundrc`)
    control=${control[1]}
    case $1 in
    up) amixer -q set $control 5%+ ;;
    down) amixer -q set $control 5%- ;;
    mute) amixer -q set $control toggle ;;
    *) choose ;;
    esac
    Last edited by Odysseus (2009-04-28 20:58:47)

  • How does labVIEW use ActiveX controls?

    How does labVIEW use activeX controls?
    I recently wrote an activeX control in VB and noticed that it would not work if the control was set so that its properties could not be set in ambient mode. This may suggest that labVIEW uses some activeX controls only in ambient mode.
    Is this the case or are there more complexities?

    Dan,
    Which version of LabVIEW do you have?
    As per the KnowledgeBase bellow, in versions of LabVIEW prior to 5.1 you would get errors accessing the ambient properties.
    ActiveX Controls in LabVIEW 5.0.1 Containers Cannot Access Ambient Property
    Do your controls use the Ambient.UserMode to determine when the control is being used in a development environment? When embedding ActiveX controls into a container on the front panel, by default, the ActiveX control generates and responds to events, i.e. it is running, even when LabVIEW is in edit mode.
    Right-click an ActiveX container and select Advanced»Design Mode from the shortcut menu to display the container
    in design mode while you edit the VI. In design mode, events are not generated and event procedures do not run. The default mode is run mode, where you interact with the object as a user would.
    Information can be found in the LabVIEW help files
    Zvezdana S.

  • How do I troubleshoot installation/distribution of a LabVIEW .exe which processes data using Matlab when it works on some computers but not others?

    I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
    have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.

    Jay del Rosario wrote:
    >
    > How do I troubleshoot installation/distribution of a LabVIEW .exe
    > which processes data using Matlab when it works on some computers but
    > not others?
    Poke around zone.ni.com and
    http://digital.natinst.com/public.nsf/$$Search/ .
    Good luck, Mark

  • How does Mail decide which outgoing SMTP server to use?

    I have Mail setup with two accounts - one for home use and one for work.  Each has its own outgoing SMTP server.  My question: how does mail decide which outgoing server to use?  I don't want to mix work and home stuff.
    Specifically, what happens in these three scenarios?
    1) I compose a new mail.  Does it always use the first account's outgoing SMTP server or does Mail look at the recipient's domain and base its decision on that?
    2) I reply to a work email.  Is Mail smart enough to look at my domain or the sender's to know to use the work outgoing SMTP server?
    3) I reply to home email.  Is Mail smart enough to look at my domain or the sender's to know to use the home outgoing SMTP server?
    Any information is much appreciated.
    Tom

    Hi Juergen,
    Thanks for the suggestion - I had to "Customize" the viewable header to include the "From:" ("Von:") line to see who I was sending as.  As far as the "use this SMTP only" checkbox is concerned - they're checked on both my accounts - so I'm not sure how much of an impact that has.  To be honest, I thought this checkbox was meant to limit your outgoing mail (for that account) to this mail server only.  I thought that if it was not checked, Mail will try to send the mail via another SMTP server if the one for this account is not reachable.....after all, why else would Apple allow you to check both servers' "use this SMTP only" checkbox?
    But this is good enough for me - now I can see who i'ms ending as.
    Thanks,
    tom

  • How to choose which one to use when using handoff if one has more than one phone with different network

    I am using 2 iPhone with 2 different network. How to choose which phone to use when making a call.

    Are you confirming your POP account is selected as the sending email account before the message is sent?
    And regardless if the email is a new email or is replying to or forwarding an email received by the POP account and cofirming the POP acconut is selected as the sending email account, the message is sent by the Gmail account?
    All message sent by the POP account are sent by the Gmail account?
    If so, delete the Gmail account from your iPad and test if a message sent with your POP account which will be the only email account available with the iPad's Mail app is recieved from your POP account/address.
    If not, something else is wrong or on play that has nothing to do with the iPad.

  • How does oracle know which AO Framework page or process to execute.

    Hi,
    How does oracle know which AO Framework page or process to execute. I use to think this was defined in the Function definition. But looking through some Function definition in HRMS setup I noticed some of them simply calling the same first page, such as the one below used in many managers menus. This initial page is the page that allows managers to choose the employee they want to work on.
    OA.jsp?akRegionCode=HR_PERSON_TREE_TOP_SS&akRegionApplicationId=800.
    My question is, after executing this initial page, how does Oracle then varies the OA page by the diffferent functions?

    Hi;
    Thanks for sharing
    Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding*
    Regard
    Helios

  • How to find out which keywords were used to create a smart album?

    Hi,
    I actually have 2 questions;
    a) Short of scrolling down my very long list of password on the HUD - is there an elegant way to do it - How to find out which passwords were used to create an existing smart album? It's a recurring challenge for me.\ 'cause I like using smart albums, but once in a while need to check or chane the passwords.
    b) With annoying regularity when I try to get to this forum and choose Aperture, I get the following message - in pink, no less: It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    Any clues?
    Thanks guys,
    Raphael
    <Edited by Host>

    b) With annoying regularity when I try to get to this forum and choose Aperture, I get the following message - in pink, no less: It appears you're not allowed to view what you requested. You might contact your administrator if you think this is a mistake.
    Any clues?
    Raphael,
    that message may occur for four reasons at least:
    Most frequently, when you are using an outdated link to a post that no longer exists, for example from an email notofication. Sometimes our community host will remove posts, that are in violation of the terms of use: see:
    Apple Support Communities Terms of Use
    Or you are using the edit button or a bookmark to an "Edit" window, after the fifteen minutes allowed for editing are up.
    Or you want to view a page in a restricted section of the ASC - soem perta are only open for members of level 6 or higher.
    Or it is one  of the unexplained problems with the forum software right now.
    a) Short of scrolling down my very long list of password on the HUD - is there an elegant way to do it - How to find out which passwords were used to create an existing smart album? It's a recurring challenge for me.\ 'cause I like using smart albums, but once in a while need to check or chane the passwords.
    I really like Kirby's suggestion with the IPTC rule Keyword is. This is very useful for smart albums global to the library.
    Frequently a different approach helps for my smart albums. Many of my smart albums are local to projects or folders.  In this case the smart HUD will only show those keywords that have been used for the images in the selection. So if I only have tagged the images with the keywords "birds" and "slideshow", the smart settings HUD will only show these two keywords and the list is very short.
    My Keywords HUD, is organized hierarchically; this way I can collapse large sections at once, and it is easier to focus on the keywords needed for a specific task.
    I use the search field in HUD a lot, to filter the set of keywords shown.

  • After reopening Firefox does not remember which desktop was used for each window. Can you help, please.

    I'm using two displays and several desktops on my Mac (OS X 10.9.4).
    When I need to restart Firefox, it remembers to open windows from last session in correct display, but does not remember which desktop was used for each window. So when the application starts, it opens all windows on a desktop which is currently active instead of reopening them on desktops used during the last session. How to fix the issue?

    Hi Nerva,
    Thank you for your question, there is a add on I have been recommended to custom set up of opening windows in new monitors. It's called [https://addons.mozilla.org/en-US/firefox/addon/monitor-master/ Monitor Master].
    However, in regards to the session remembering which monitor the window was open in, in the profile folder there is a file that stores window positions and dimensions. It is called localstore.rdf.
    Please stay tuned for more investigation, as there are definitely bugs on file for similar issues. Pinpointing it is the hard part.

  • How does one transfer CS5 actions for use with CS6?

    CS6 installation, which was uneventful, has transferred none of my actions from my copy of CS5. The CS5 actions are located in the actions folder of the APPLICATION/PHOTOSHOP CS5/PRESETS/ACTIONS.  The "actions" folder in application support/adobe in my library is empty, and has always been so.
    Only the CS6 default actions are located in the same folder for CS6.
    I use imac i7, lion.
    Note that i also have CS3 and CS4 on my machine. This due to recent upgrade to CS5 and recent upgrade to LION, and my general paranoia.
    Must i load each action into CS6, one at a time?
    thanks to any and all.
    vince

    Re: how does one transfer CS5 actions for use with CS6?
    On a Mac - There are multiple ways to do this.  I have done them both ways. In order to do this you need to know where you have your actions stored, and you can move them all at once if you have them stored in the same location.
    1. You can load an action ONE AT TIME into your actions palette by:
         A. Open up the action palette and click on the little arrow with 4 little horizontal lines next to it on the upper right corner of the actions palette.
         B. Select "Load Actions" and a Finder window will open up and you can search your computer through this window for your actions.
         C. Click on the action from the Finder window then click 'Open' at the bottom right of the finder window.
         D. To save these so that they appear every time you open up your actions palette, go back to the little arrow at the top right of the actions palette and when the drop down window opens- click on 'Save Actions'. It will select the location where the          actions are currently stored as the place to save them. If you want to change that path, you can do it at this time in the little path window.  I just leave it, since I keep all my actions stored in the same file.
    2. TO MOVE MULTIPLE ACTION SETS AT ONCE
         A. Open up CS6 (or CS5) and move the Photoshop workspace it to the right side of your computer screen so you can see your desktop on the left side.
         B. Open up your Finder search window from your dock (the square blue head icon thingy for those who are new to photoshop). Move this to the left side of your screen so you can see the Photoshop work space on the right and the Finder window          on the left. In the Finder window, navigate to the file where all your actions are stored, select all the actions in the file (command+A will select everything in the file if you are actively inside the open file) or you can select multiple files           individually by continuously holding down the command key and clicking on the different actions you want to move.
         C. With the Photoshop workspace visible on the right, and the actions palette open so you can see that the actions actually transferred - In the Finder window, click the selected actions you want to load and drag them over to the Photoshop           workspace.  I did this without an image open, I just dragged them onto the empty workspace.  The actions should all appear immediately in the actions palette that is open.
         D. To save these so that they appear every time you open up your actions palette, go back to the little arrow at the top right of the actions palette and when the drop down window opens click on 'Save Actions'. It will select the location where the           actions are stored as the place to save them. If you want to change that path, you can do it at this time in the little path window.  I just leave it, since I keep all my actions stored in the same file.
    I hope this helps. 
    and I hope there are no typos. 

  • How does Labview support redundancy?

    I have a control system and Labview will act as the means of control/monitoring. However, I want to have a primary and secondary computer with duplicate system setups. How does Labview support this type of redundancy such that if the primary goes down, the secondary will take control seamlessly.

    Hi,
    LabVIEW has many capabilities that can be combined to create a very robust redundant system. Some of these features include the following:
    Archiving databases periodically
    Monitoring a process on a remote machine
    Executing an application on the backup when the primary has failed
    The most straight forward method of implementing the monitoing is to use discrete memory tags to create a heartbeat. When the heartbeat on the Primary machine has stopped, the backup should take over and begin execution.
    If you have specific questions about how to implement this, feel free to call support by going to www.ni.com/ask.
    Regards,
    Mike

  • When sending from a mobile app, how can I choose which of my computers to open the document on?

    I have a laptop and a desktop computer connected to creative cloud. How can I choose which machine to open up a document from my iOS app? I don't want it to open on both overtime I send something from my iOS device.

    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • How does Illustrator choose where paste objects appear?

    Just curious. When I copy and paste background images, (or any image for that matter) and paste them, they appear randomly out of alignment, nowhere near where the original object was. How does AI choose where these objects are pasted? I see the paste in place option, but is there a key command, like holding down "shift" to have objects paste where your cursor rests?
    Just a thought/wonder since I can't seem to find this answer anywhere.

    Cmd+F and Cmd+B are really much more useful than Cmd+V.
    They allow you to rearrange the stacking order hands-on instead of moving meatballs in the Layers panel.
    A whole new world opened up for me when I discovered this many decades ago (when Auntie Illie was still young and pretty).

Maybe you are looking for

  • ITunes freezes when adding music file from smb share

    As title states, if I try to add more than 15/20 files to iTunes, it freezes and there's no turning back. All my music is stored on my home-server (running Gentoo/Linux) and I have always used it with success until iTunes 10 came out. The only thing

  • Field sales related tables and Transaction code

    Dear SAPGurus, I have been working with field sales activities in mySAP CRM.. Can I have the list of the tables and transaction code related to Field sales sales activies.. I am grateful for ur help.... I would like to appreciate u by rewarding the p

  • Adobe creative suite 3 design standard for windows

    Hi I unistall The Adobe creative suite 3 design standrd from my Pc to renastall it on another PC, But I forgot to unActivate it from the Old PC Now I install it on a new PC windows System when I try to input the Serial No. which I found it on the Cov

  • A box on my screen interfering with operation

    There appears intermittently on my screen a blue box that looks like part of some HP tool.  It says "audio adjust,"  followed by 2 lines that are alternately highlighted: "volume" and "mute."  I can't remove or minimuze or move this box.  When it is

  • Windows can't find air disk

    I have been searching for a long time now and can't find any answer how get my windows xp to connect to air disk..! Can anyone help would be greatly appreciate. ( I use air disk to share data in office, not to syn or anything ) Thx