threads, processes and the dual core processors

Hello

We use the CVI and we want to use multithreading. The application is running on a dual core processor, so the question is if it is possible to define the basis on which the thread is running? Does anyone know if it is possible to start a program, process, or a thread on a predefined kernel?

If this is not possible with the CVI, is it possible directly with the Windows API?

Thank you

Oliver

AWESOME, thanks I'll try.

Greetings

Oliver

Tags: NI Software

Similar Questions

  • LAVIEILLE and Vista & dual core processor

    Hello

    I have new PC with dual core processor and Vista program. When I try to install the program LELA ask X 86 processor. I have the router broadband WRT54G2. Help, please!

    CO,

    Check this forum under solved download Lela Here, there is a posted URL.

    It has the possibility of 64-bit, that you can select.  This give a try.

    Good luck!

  • Error during asynchronous script runing DIAdem of labview on dual core processor

    Need urgent help / advice here!

    A kernel works well... double heart generates error: error in (line: column 17,: 1): error opening object. The currently open object has no subobjects. Forgotten ObjClose?

    The main software built in labview for data acquisition and analysis generates a PDF report at the end of a test, using DIAdem. For this I use the tiara express vi in labview to generate a report of multi page, in which case I use for loop to go through an array of strings for each page. This loop has a registry change too. After each page I run a script to set a few parameters such as linear/log, start/end and line thickness using the DIAdem Connectivity Toolkit. See the script below:

    Call GraphObjOpen("2D-Axis1")
    Call GraphObjOpen ("2DXAxis8_1")
    D2AxisXDivMode = 'linear '.
    D2AxisXScaleType = "start/end of manual.
    D2AxisXBegin = 20
    D2AxisXEnd = 20000
    Call GraphObjClose ("2DXAxis8_1")

    Call GraphObjOpen ("2DYAxis8_1")
    D2AxisYDivMode = 'linear '.
    D2AxisYScaleType = "full automatic".
    D2AxisYBegin = 0
    D2AxisYEnd = 0
    Call GraphObjClose ("2DYAxis8_1")

    C = 1 to CurveNoMax
    If D2CurveObj (c) = "" then exit for ' c
    Call GraphObjOpen (D2CurveObj (c))
    D2CurveLineWidth = 0.75
    Call GraphObjClose (D2CurveObj (c))
    NEXT ' c

    Call GraphObjClose("2D-Axis1")

    There is also a screenshot of the vi: (script file is generated by the Dscript vi and saved on a disk. then the path is passed to the tiara script vi.)

    I think it is, after the first page of the report is complete to the second page tiara ALWAYS shows error as shown above. However, on my P4 laptop with single core (without hyperthreading) its works very WELL EVERY TIME with a given number of channels/pages of the report.

    My chain of thought is the ultra-fast dual core is something in parallel, so no waiting for page previous complete or complete his purpose of closing! However, in my loop for, I use a shift as before named register, certainly this kind of loop can be divided on multiple threads of carrots/parallel? because it must wait for the answer from the previous. ! ? ! ? Im running LV 8.6 on WinXP for this project and I don't even think treatment multicore for loops for is included in this version.

    The other thing is... This script allows to launch at the end on the dual core until I added the last part that uses a loop for to get all the lines of the chart to be the thinkness I need. What this loop for the guilty? Can I stop to run on multiple cores/threads? I read a post by saying that there is tiara 8 support multi core. This triggered my doubt

    As always, your comments are most appreciated

    AL

    Hi Al,.

    I have a theory, but only you can test.  In your screenshot of the VI, you have the Boolean value of entry for the tiara run with asynchronous Script.vi = TRUE.  My theory is that if you modify this boolean (and all others like him) asynchrous = FALSE, the error will not occur on the multicore computer.  The other thing you could try would be to consolidate all orders report that relate to a REPORT page in a single call to tiara ActiveX.  In the screenshot below, you have at least 2 distinct call of screw DIAdem, so it's at least 2 separate ActiveX calls for a REPORT sheet.

    Here's what I think is happening.  On a multi-core computer, there is the potential for different orders of LV ActiveX tiara to run on different hearts, which can lead to a problem of synchronization on the side of the tiara.  DIAdem 11.x and earlier works exclusively on 1 CPU, so incoming ActiveX controls should be properly sequenced by the tiara ActiveX task list.  Theoretically, tiara must serialize all incoming ActiveX controls (no matter which CPU processed them) in the order that they arrived at the Server ActiveX DIAdem.  The side sending, the execution of LabVIEW data flow should theoretically ensure that all ActiveX applications are sent in the correct order.  But it is theoretically possible that queue processing ActiveX of the operating system cannot send all the ActiveX controls to DIAdem in order that he receive them LabVIEW - IF YOU have SELECTED PROCESSING ASYNCHRONOUS.

    See if these clues help you,

    Brad Turpin

    Tiara Product Support Engineer
    National Instruments

  • Presario Compaq SR1705UK with Pentium Dual Core processor?

    The Compaq Presario SR1705UK desktop computer will support a Pentium E2160 Dual Core processor CPU 1.8GHz/1M/800MHz?

    Care can be found here:

    http://support.HP.com/us-en/document/c00597578

    Nothing should happen to your PC.

    Worst case, it's that the PC does not start upward.  Replace your original processor in and it should be good.

    Best case scenario is that works, and you're in luck because that would be a good cooler processor running than a Pentium D 960!

  • Premiere Pro with a dual-core processor

    Hello

    So, I was trying to first Pro CS6 to edit my AVCHD. MTS files. However my AMD Dual - Core Processor E300 couldn't handle files, resulting in "choppy" playback I was wondering if my processor would be better manage your HD files if I the converted to another type of file, ideas or suggestions? And which converter I could use to keep the 1920 x 1080 HD quality? I can't upgrade my CPU, I tried

    I appreciate all suggestions.

    This CPU is slower than molasses in winter, it marks a ugly 630 in the test CPU of the pass mark, where a decent CPU would score more 16 000.

    Forget it. No way it will work, it's far too slow and underpowered. Get a new PC. It will be same triple DV material, not to mention the AVCHD material. It's like asking your grandma to carry a load of 20 tons up a steep hill, with his 50 year old bike. Can't do.

  • Photoshop Elements 10 will work on an iMac with an Intel Dual Core processor?

    Photoshop Elements 10 will work on an iMac with an Intel Dual Core processor?

    Yes. See the data sheet for more details.

    Mac OS

    • Multicore Intel® processor
    • Mac OS X v10.5.8 to v10.7
    • 1 GB of RAM (2 GB for HD video functions)
    • 4 GB of free space (additional space required during installation)
    • display resolution 1024 x 768
    • DVD-ROM drive
    • QuickTime 7 software required for multimedia features
    • Internet connection required for Internet-based services *.
  • HP Pavilion dv7 - 3188cl: I single core or dual core processor?

    Hello

    I have a processor intel I5. Can I have a single core to a dual core? Any help is greatly appreciated. Thanks in advance.

    Hello

    It is a dual core processor - see link below.

    http://Ark.Intel.com/products/43537/Intel-Core-i5-430M-processor-3M-cache-2_26-GHz

    Kind regards

    DP - K

  • 13 Firefox works in multithreaded mode and it can use the quad-core processors?

    When you buy a new PC, we choose between dual core vs quad core processors, and some people claim that Firefox work mode multithreaded mulch and treats each tab in a separate process and may fully use the advantage of a quad-core processor. Is this true?

    Firefox does not treat each tab in a separate process. If this can be a function in the future, I don't know of any plans to introduce any time soon. Obviously, buying a quad core processor will be significantly faster than a dual core, and your browser is usually less consume a lot of resources than other programs. I would not use it as your buying decision. Firefox will work just as well on a dual-core or a quad-core, but windows and other programs will work better with 4 cores.

  • 9068 and faster code execution and use dual-core

    Hi eveyone,

    I'm working on a project where a C library is called a vi Labview on computer target. I have two platforms Crio namely 9082 and 9068 who have two operating systems and hardware. I compiled my code with Labwindows and successfully run in the Crio 9082 in 70 Ms when I check with the distributed systems management tool, are both the active processor cores taking on 50% load.

    For the second platform Crio, namely 9068, I compiled the code even with Eclipse and run it on 9068. It works and produces the same result, but in Ms. 1400 when I check the CPU usage, a single processor takes almost 100% of load and the other is about 7%. It seems that the CPU allocation is different from 9082. I tried looping timed to manually adjust the cpu but it does not work (namely it allows only 1 cpu usage). My basic problem is to run my code faster in 9068, and of course, the problem may be different by an inefficient use of dual core in 9068. I tried different code optimizations (i.e., - O2,-O3, - Os) in Eclipse gear and they make almost no difference. Any suggestion is appreciated. Thanks in advance.

    Gear

    OK, so it looks like you don't have that a single thread of execution, then, is that correct?

    There are compilation flags that can significantly improve the performance of point floating on the ARM. If you are not already doing so, I recommend the following (in http://www.ni.com/tutorial/14625/en/#toc5)

    (Objectives focusing on the ARM) Perform the following steps to improve the performance of the floating-point operations:

    1. Select settings under of generation C/C++ in the left pane of the Properties dialog box.
    2. In the tool settings tab, select various under the cross GCC compiler .
    3. In the text box of other flags , add a space after the existing text and type - mfpu = vfpv3 - mfloat-abi = softfp

     

  • Dual Core processor problem

    Hi, I have an Acer Aspire 5720Z computer ultralight laptop with dual core on windows Vista. By a stupid mistake, I stopped him while he was updating software, so now whenever I try to turn it on, the screen goes black and it does not start.

    As it is a dual core, I keep all of my personal information in the D drive (+ photos, docs, etc.), so my question is: if I restore the operating system, are my deleted information even if it is registered in the D drive (not C)?

    I hope you can help me! Thank you

    CR

    Hello

    Dual-core refers to the processor on the motherboard, not to your problem or your disks.

    C: and D: are two partitions on your hard drive Acer; D: as for data on an Acer Acer has a "hidden" recovery partition

    And Yes; If you restore / recover (new) factory settings, you will lose all your data, such as C: and D: are removed and reinstalled like new during the recovery operation.

    Try a system restore to before that the problem using the F8 method (put your Acer in time, NOT again by reinstalling the operating system) in Safe Mode:

    http://www.bleepingcomputer.com/tutorials/how-to-start-Windows-in-safe-mode/#Vista

    System Restore:

    http://www.bleepingcomputer.com/tutorials/Windows-Vista-system-restore-Guide/

    See you soon.

  • DuoCore/Dual Core Processor

    Out of the box, CF Standard Edition supports 2 CPU. This Dual-Core CPU or a DuoCore has 2 central units?
    If I buy a server with 2 CPU DuoCore (4 CPUs), CF will use only 1 CPU or will it read 2 CPUs as 2 parts physically separated?

    Thank you!
    Chris

    I have a dual quad core and it seems to work just dandy. I remember the license agreement indicating the physical processor.

  • unexpected results of the Group and the merger of processor

    Hi team,

    I use a processor of group and the merger in a process that includes "Store-num" and the "Cust-num" and mergers based on the most common value.

    I have few records store-Num = 42 and a few records store-num = 426. But for the same "Cust-num" for these two stores, store-num ' 426' we replace "42"

    My point is that these documents should not have grouped at all.

    No idea why this happen?

    Kind regards

    Ravi

    Yes, that's correct. Dates will be converted to a string representation of the date.

  • VMware vSphere 4 licenses essential question and the number of processors

    Hi all

    I have a question about the Essentials of VMware vSphere 4.1 license. We have a client interested in a VMware vSphere Essentials license. The machine runs on 2 x processor Xeon 5675 6 c. Now I read somewhere that there was a limitation of the number of processors that can be used with the edition of Essentials. If I remember correctly, the number of physical sockets is limited to 2, but I remember that there is another limit, but I could not find the document describing and wonder:

    Is there a limitation on the maximum number of 4 cores on one physical processor that can or will be used by VMware vSphere 4.1 Essentials or there is a limitation on the number of 4 vCPU that can be assigned to a guest?

    I would like to know because if this is a limitation on the number of vCPU that can be assigned to a customer that would not be a problem because we have no guests in need of vCPU, then 2 more, but if this is a limitation on the number of cores that would be used by VMware vSphere Essentials, it would be a waste of money to buy a 6-Core ;-)

    Hello.

    2 taken with 3 guests, 6 hearts and SMP 4 lanes for virtual machines.

    These limitations are available at: http://www.vmware.com/products/vsphere/buy/small_business_editions_comparison.html

    Good luck!

  • Why my windows Vista processer became the classic windows processor?

    My computer is 64-bit of Windows Vista. When using my computer, it changed randomly one day of vista taskbar and the classic model for the old. I tried to change the settings of vista, but even in doing so, it is classic. An example of what is happened is that I tried to play a computer game (Warcraft III), and I played on this computer before it changed. in any case, I'd just reinstalled today and under where it says installation it says "the game is not compatible with Windows NT. I then try to start the game and it made going to the loading screen then "not responding". Windows NT is the old processor of 1993, and I was wondering if my computer messed up and considering this isn't Vista more. If anyone has any ideas on what's exactly happened to my computer please let me know.

    Hello

    I suggest you try to perform the clean boot and check if it helps:

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

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in step 7 of the above article.

    It will be useful.

  • DUAL CORE PROCESSOR 1 ONLY ACTIVE CORE

    I HAVE A PAVILION S5257C I AM RUNNING WINDOWS 7-64 BIT. I ALWAYS HAD PROBLEMS PLAYING SOUNDS (SKIP) FINALLY YESTERDAY I ACTUALLY READ HP SUPPORT ASSISTANT REPORT, 1 ONLY ONE PROCESSOR ACTIVE GO INTO THE BIOS AND ENABLE BOTH. I WENT INTO THE BIOS AND COULDN'T FIND ANYTHING ABOUT CUP. HOW TO /.

    Thank you

    ANDY

    Hi Andy,.

    Open the run window and type: MSCONFIG

    Look under the Startup tab--> advanced options and make sure that the number of processors is DISABLED.

Maybe you are looking for