DSA maxing out CPU data acquisition

I'm developing an application on a PXI-8196 (Windows XP) controller that uses a card PXI - 4472 DSA to read a single microphone and a FFT signal analysis. I need solve the two frequencies of 36kHz (and), so I've planned for sampling 96 kech. / s. I wrote a simple loop of data acquisition, configuring NI44xx DAQ/read screws using read the string unique at this rate, but when I run it, it immediately pegs my CPU 100% usage. So far, I did have problems with missing samples or the system crashes, but I am a little concerned that only data acquisition uses all my CPU time. Y at - it tricks that I can implement to reduce the CPU load?

I tried to vary the parameter samples per channel - with sizes ranging from 1000 to 48000 samples - buffer but I do not seem likely to reduce the CPU usage. Changing the sampling frequency affects the CPU usage (up to about 40% to 48 ksps / s; ~ 75% 72 ksps / s), though. According to this KB: http://digital.ni.com/public.nsf/allkb/D9DDF9FA02D1C18A86256EBC0016C93D

"A controller Embedded PXI-8176 can compute all the time of the spectra of FFT power on 8 channels for PXI-4472 clocked at 102.4 ksps / s »

so I think with my 8196 I should have no problem at all to read only one channel 96 kech. / s.

Anyone have any suggestions to reduce my CPU Overload? Thank you!

Here is a link to some good information on how to OR-DAQmx 7.4 and later behaves with respect to the use of the processor: Default CPU use with NOR-DAQmx Version 7.4

Tags: NI Products

Similar Questions

  • MacBook Pro (15 inch, end 2013) with MacOS Sierra 10.12: kernel_task maxing out CPU with external display

    I have a maxed out end 2013 the MacBook Pro Core i7 to 2.6 GHz, 16 GB of DDR3 RAM, 1 TB SSD, NVIDIA GeForce GT 750 M 2048 MB, Intel Iris Pro 1536 MB.

    Also, I have a DELL P2415Q Display 24 inches (3840 x 2160) using Thunderbolt, are involved through the headphone jack and use a USB for lightning to recharge my iPhone.

    I upgraded to macOS Sierra the day he is released and had no problems until this morning. I unplugged my external screen and speakers and used my laptop for about 15 minutes, the battery, and then returned to my office and plugged my Thunderbolt, rear speakers display in and my CPU shot at 100% and never came back down. My Mac is essentially useless because kernel_task is eating all my CPU and to prevent another asks to enter the CPU.

    I have since audited equipment - everything was fine, reset the NVRAM and I tried to erase IOPlatformPluginFamily.kext .plist files but I couldn't on my Mac (trying to follow this guide, started in Safe Mode and everything then went to try and find the file and my Mac just does not have it). When my external screen is plugged if I'm doing anything CPU intensive (videophone, opening of Chrome, etc.) then my kernel_task gets mad again, and the only way to move is to unplug my screen. Connect my iPhone to charge the tips also my kernel_task as well. I followed my internal temperatures, and nothing was out of the ordinary, to cold currently at about 140 °.

    At this point, it seems that any time that puts something on the charging system and increase the temperature internal internal components of my Mac kernel_task maxes my CPU, which brings my Mac to its knees.

    Any ideas how to fix? Is this just a major bug in 10.12?

    Hi, Trent L.

    Try this - problems with macOS Sierra? This fix can help you.

    He got rid of all my macOS strangeness of the Sierra.

    Hope this helps,

    -BrainSel

  • Maxing out CPU with Google Image search, some other sites

    When I try to use Google Image search or load items of SBNation, the Firefox maxes CPU usage site and it stops responding during 10 seconds before it has loaded everything. It is a new problem that has arisen in recent weeks.

    I tried to disable all addons and plugins, deleting the cookies, clear cache, downgraded version beta at 23 and none seem to make no difference.

    Hello

    Try disabling graphics hardware acceleration. As this feature has been added to Firefox, it has gradually improved, but there are still some problems.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    • Click on the orange top left Firefox button, then select the 'Options' button, or, if there is no Firefox button at the top, go to tools > Options.
    • In the Firefox options window, click the Advanced tab, and then select 'General '.
    • You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    • Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    This solve your problems? Please report to us!

    Thank you.

  • Update service Windows Virtual PC Win7 maxing out CPU

    I have a laptop with the following specs:

    OS: Windows 7 Professional x 64

    Service Pack level: SP1

    RAM: 16 GB

    Proc: i7 2.5 GHz

    HARD DRIVE: 500 GB

    I try to use Windows Virtual PC as a sort of training lab; install multiple operating systems of servers desktop systems.  I do this to prepare for the MCTS certification exam which includes a lot of different installation, upgrade and troubleshooting methods.

    Unfortunately, I recently ran into a problem that Microsoft support 'Pro' claim that they have never seen, and Microsoft chat online says is not their responsibility. They also try and send me to VMWare technical support for troubleshooting Windows Virtual PC.  I have also done my own research on the issue and found a nightmare wait.

    I installed Windows 7 Pro x 86 on a fresh virtual machine.  Once completed the Out Of Box Experience and I logged on to Windows, the CPU almost immediately turned to 100% and detained; eight hours later has not changed.  After some research in the system, I found that the root of this was wuauserv, Windows Update Service.  Once I closed Windows Update Service, use of Proc immediately fell to 4% and remained stable. I turn back on and it still shoots right up to 100%.  I tried to remove and reinstall the OS and virtual machine entirely, I ran all sorts of analyses of files and even held a rally where we sacrifice a goat to the gods of the windows; nothing has worked.

    Given that Microsoft is no help on this, can someone give me a help?  I found an article for this problem in Windows XP SP2 and one for XP SP3, but nothing for Windows 7.

    Thank you all.

    Hello

    Thank you for visiting Microsoft Answers and we provide a detailed description of the issue.

    The question you have posted here is more complex that responded in this forum.

    To get more information about it, we have a dedicated forum where these issues are dealt with and would be better suited to the TechNet community.

    I suggest you to send your request in the given link.

    Please visit the link below to find a community that will provide the best support.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

  • Manager of OSD maxing out CPU

    OSD manager using processor max have to complete the process to eliminate the problem someone help

    @ tonyjones

    Here is the latest version of the OSD Manager

    My version of the Rev 1.12.4 application display.

  • Data acquisition inherited Configuration MAX window

    I have LabVIEW 7.1, and Max under the software it shows v8.8 NOR-DAQmx and v7.4.4 NOR-traditional DAQ. When I am developing devices and Interfaces, only from the devices listed OR-DAQmx ppears with the DAQ card (PCI-6221: "Dev1"). The VI I need to ru uses the traditioal DAQ. When I run the VI I get an error message that the jury must be configured. How can I get traditional DAQ to apear in the devices and Interfaces fall down, so I can set the jury? The VI is not easily updated to DAQmx.

    Thanks for any advice.

    Paul

    Hi Paul,.

    The PCI-6221 is a M-series card.  M-series cards have no traditional DAQ driver support.

    Major differences between series E and M series data acquisition devices

  • CPU maxed out in Windows 7 - always above 90%

    I'm trying to understand why my CPU maxed out as always - I downloaded process Explorer after a lot of research and found that the three principals 'system', "taskhost.exe" and "svchost.exe". I don't think I have a virus I did serveral tests. I booted in safe mode and found that the processor is running normally, however, I can not manually start the rest of the applications normally used by my computer...

    Thanks for the reply - I've traced the problem down to Firefox if you can believe it--after many years he became corrupt right - I did a complete uninstall and reinstall and the systemhost.exe fell to 3-4%.

  • My core duo CPU is always maxed out! Why? I ran scans and they come back clean...

    Hello!  My core duo CPU seems to work continuously maxed out.  This is a recent development and I thought can I have incurred a virus or malware but I ran Viper, Microsoft Essentials, and they come to own.  It always seems to me that something is causing my cpu run continually maxing out and it has severely slowed down my computer performance.  When I check nothing irregular seems to be the Task Manager.  Any suggestion? Thank you!

    If you go to the Task Manager, have you checked under process? You can click on the CPU column header to sort from the top down. This should help you to begin to identify which takes up your box.

    I hope this helps.

  • Computer Compaq laptop presario V5000. CPU keep maxing out and gel

    The CPU keeps fortification and maxing out, so the computer hangs until the CPU falls down. It's all visible from the Task Manager windows @ the performance tuning.  The CPU that keeps repeating up and down cycle zero to the maximum.

    2040637 wrote:

    It says process 44.  What I do next to fix the problem.

    Hello

    It must have a name, just look at the neck of the CPU, which uses "Image Name" CPU?

    Kind regards

  • LeCroy Waverunner 640Zi - Data Acquisition

    Hello... I'm trying to set up my oscilloscope waverunner with LabVIEW SignalExpress for data acquisition.

    I took the steps so far:

    1 pulse generator hooked to scope of signal generation

    2 USB scope to the installed computer with LabView

    3 downloaded lecroyscope driver 3.2.9 - x 64

    I turn on the scope and plug in the USB to the computer and SignalExpress begins.

    a. start by using data acquisition

    b. Add step/aquire signal / IVI aquire / IVI brought aquire

    c. create new IVI session... resources descriptor (I choose my USB device ' USB0::0x05FF:0 x 1023: 2812N61507:INSTR '), I select the right driver (lcscope), and I do not click enable simulation data, press ok
    d. I still receive configuration errors

    e. did the research... some forum said goto MAX, find drivers and uncheck the Cache and the exchange of check

    f. attempt to initialize... always get config errors.

    g. return to MAX... change to simulate with specific driver.

    h. initialization works... NO errors, BUT no data are acquired.

    Help, please!

    Hello

    Sorry to jump in if I was out of the country for a while and am still catching things in my office.

    I think you are looking for someone to say yes, "you can connect to the scope with NOR-MAX and VISA, and here's how interactive tool do"

    A few things:

    LabVIEW for XStream extended driver is the right one.  It works with all the TeledyneLeCroy Windows based scopes.

    As I see has already been noted. (I'll give Kudos soon), the scope of application must be configured to use interface USBTMC.  To do this, go to the drop down Utitlites on the scope menu and select "utilities configuration... '. "in the tabs that appear at the bottom of the screen, select the 'Remote' tab and make sure that the interface type is set to USBTMC.  This will also show you the VISA resource (I see it in the title of the image of VISA interactive tool indicated in a previous post).

    Once this field is selected, the PC should detect the USB connection and install the device. (you can see in your device manager as a Test of USB and the measurement device):

    Once this is done, you can then enter the NOT-MAX and it will detect and display resources.  You can now communicate with the device:

    If you have problems, do not hesitate to give me a call and I'm happy to walk through it over the phone.

    Kind regards

    Leonard Brown
    Technical sales engineer
    Teledyne LeCroy
    1-800-553-2769

  • You can trigger through communication Modbus TCP/IP PLC data acquisition without using a loop for?

    Hello

    I am trying to contact a facility through a Modbus TCP/IP communication PLC. I'm new to this method, but the idea is that the installation will send the logical (Boolean) values 1 bit by ethernet to my workstation which read and then will begin data acquisition. Basically, I need a triger to come to my pc. I placed my vi inside a structure case T/F which will run according to the signal, it receives data acquisition. However, for it constantly waiting, I put this in a loop for. The works of vi, but playback signals sometimes lagging behind due to the loop for. If I take the loop out and just run labview permanently, it works perfectly, but I know that the option is only for debugging and should not be used. So my question is, is there a better way to wait for an incoming signal?

    Hello!

    Please note that the order of execution of the write operations on the shared variable 000002 is not determined.

    For example, nothing prevents this order of execution:

    (1) value false 000002

    (2) set to true 000002

    (3) execution of the loop

    In what concerns the delay, you might consider placing a waiting vi in the case of 'false', or the loop uses 100% of CPU if I'm not mistaken...

    Kind regards

    Marco

  • Firefox maxing out connection to 173.194.28.48 on its own

    I tried to understand what uses a lot of data over the last two months. He had a little used while we were out today. Summer look at resource monitor a little and I saw just Firefox start maxing out the connection to the Google IP 173.194.28.48 steadily just sitting there with a tab open. Did anyone know what Addon or the function would be to communicate with that IP?

    He seems not to have been NoScript, use caps for removing.

  • Data acquisition reading incorrect when you use a loop

    Hello

    I wrote a simple VI (00, 01, 10, and 11) output to a circuit connected with 4 resistors. Based on what value the ciruit receives, it passes current through a particular resistance. It is again entered in Labview and traced.

    The problem is when I send a particular value (i.e the 00, 01 and 10 and 11) and get that back, it's okay. But when I send and receive the consectively connected via the loop counter, they are incorrect (not synchronized with the number of the loop).

    I made sure that circuit works very well. It has something to do with the loop synnchronization, reset, value compensation, etc. can be.

    Please Guide...

    Change your DAQ assistant that reads to be 1 sample on request.

    Right now it is set for continuous samples.  And 10 samples at 10 Hz.  Then it runs and starts.  The next iteration, you send a new digital out, but the wait for 4 seconds.  When you read again, you get the next 10 samples that are put into the buffer of data acquisition, but now 40 samples have actually entered the DAQ buffer.  In time your DAQ buffer will be finally complete and raise an error.  In the meantime, you will continually read data continues to become more tainted by the iteration.

  • motion control for vertical actuator and data acquisition

    Hello

    I am a researcher (a branch of civil engineering) geotechnical engineering and I have very little knowledge about the acquisition of control and data motion, so would need a lot of help from the experts OR. I have only knowledge base on these 2 aspects based on my reading of some materials on the Web site of NOR and youtube videos, so I hope that you bare with me . Here are my questions:

    I am trying to build an actuator which will be used to push a probe (a penetrometer with a load cell to measure the resistance of a soil sample), resembling the concept, photography in the attached file. I need to have these criteria for my system:

    (1) actuator, which can push the probe at speeds between 0.01 mm/s - 300 mm/s with precision and move the probe cyclically (upwards and downwards) in the vertical direction
    (2) load expected on the probe into the ground range: 0.02kN - 6 kN.
    (3) necessary to get the load cell load data and the speed of the probe.

    4) able to control the actuator to a PC (speed and posotion) and monitor data from transducers and data log time even the transducers.

    Guess my beginners is that I will need:

    For orders:
    (1) software - LabVIEW and NOR-motion assistant

    (2) controller - NI PCI-7342

    (3) driver/amplifier - analogue servo AKD Drive

    (4) motor - motor brushless servo AKM

    For the acquisition:
    (1) software - based LabVIEW development systems

    (2) amplifiers or other device - no idea what type on the conditioning of signals

    (3) data acquisition device - no idea what type

    Since I'm a beginner, is - that someone might recommend components (hardware and software) for the control and data acquisition. I'm on a tight budget, so I thankful if someone could help me to recommend components good enough to build my system.

    Thanks for your help.

    At these rates, you will need to run the sensor for the cDAQ.  You can configure the analog output on the Tritex nationally on the position.  There is an adjustable filter that you can set in order to get a clean enough to 300 Hz signal.  When you learn about the Tritex, make sure that let you them know what comms and e/s that you want to use.  If I remember, not all options have worked together.  The analog output may need to be my, but you can put a resistance through the acquisition of input data to get the voltage instead.  I don't remember all the details.  You should really not too much on the Tritex/LabVIEW side.  You will send your movement parameters (beginning of end of race, speed, position, accel, cut), and if you cycle (I believe you) or simply running in a loop.  You could also just be able to use the functions of jog.  When you get close to knowing exaclty what you need, PM me and I'm sure we can work something out with the drivers.  You need only the basics.  In fact, you could probably do this all your movements via digital and analog i/o.

  • data acquisition won't taste at the specified rate

    Material: C - DAQ 9178, AI 9239, inside a servo and an encoder potentiometer module

    Setup: I use the 9239 to measure the angular position of my servo and encoder of trees by streaming came pressure pot of the servo and my encoder. I put the sampling frequency on the DAQmx - Schedule VI to 100 Hz.

    Problem: I don't think that my DAQ is sampling data at 100 Hz because my VI registers more than 10 000 data points for a 10 second test. In addition, every time I have save my data in a text file, the vector of time my test data resets after a number of iterations.

    To debug, I tried the following configuration:

    I've defined the sampling frequency of 100 Hz (or is that s/s?), the samples per channel (size of buffer for continuous mode) at 2000 samples, number of samples per channel up to 10 and loop milliseconds timer on my VI at 10 m accordingly, data acquisition would send 100 samples per second (or 1 sample every 10 ms) on my PC buffer (which could store 20 X that amount). Then LabVIEW would read up to 10 samples per loop iteration (which is itself ~ 100 Hz) and work with these 10 samples inside the loop. However, since the loop is operating close to the sampling frequency of data acquisition, then LV should only work with 1 sample each iteration of the loop (100 Hz / 100 Hz)-not the 10-sample-max that I specified.

    However, I stumbled on "error-200279: the application is not able to cope with the acquisition of material" when I ran the program. Why?

    My code and materials should be easily able to cope with data acquisition - at least the way I put it in place

    This whole situation wondered my fundamental understanding of data acquisition timing, so I would really appreciate an explanation of exactly how to deliver DAQmx uses data synchronization, why my DAQ sample at 100 Hz, and how can I fix the calendar specified by the user.

    Thank you!

    aeroAggie wrote:

    The C - DAQ 9178 there some minimum sampling rate I will not meet?

    It's actually the 9239 that limit your sampling rate.  Read the data sheeton page 5 there's available data rates.  In short, your data rate allowed is 50kS/s / n, where is goes from 1 to 31.  50 k/31 gives you 1.6kS / s.  So, it's the minimum sampling frequency that can be used.

Maybe you are looking for

  • MacBook pro restarts because of the problem.

    My MBP restarts every few minutes. Can anyone help based on my report of panic? Thank you!

  • means of terminal configuration

    Hi, everybody, I want to measure a voltage on my device NOR-6356. When I choose the configuration of the Terminal, the only one available for this device is incremental,so I get on the website how to set up the differential measuring system, two imag

  • Vistalizator is legal?

    Hello! I would like to know if "vistalizator" is legal? (http://www.froggie.sk) Vistalizator overrides the limit of one MUI language on non-Ultimate editions. It uses the official Microsoft MUI packages.

  • Code 43 unrecognized usb printer port

    hp 4580 usb cable printer not recognized by my pc laptop windows7 premium code j 43 unknow device Thanks for your replies

  • What to do with it?

    The paid version does not help. Screen always blue or turquoise. Thanks for the reply.