Simple Script Execution: Days and only using 15% of the CPU power

Dear community,

I have a data file (.tdm) with 17 channels of waveform point each containing 13742499 data. I want to delete all the data points that are not actual load points. I have build a canal ("LoadTrigger") that is a trigger for points of interest. With the following script, I tried to erase the im not interested datapoints:

Dim RowCount

Number of lines = 1 to GlobalChnLength

ChnVal if (RowCount, "/ LoadTrigger") = 0 THEN

Call the DataBLDel ("1-17 ', RowCount, 1" ")

End If

Next

The script is now running for more than 20 hours with no result. Can someone please tell me if I am wrong in my script, or if there is a way to make it faster?

In addition, I wonder why DIADEM uses no more than my cpu power? As you can see in the photo attached DIADEM mainly use a carrot and never more than 15% of the CPU.

Best regards and hoping answers of construcitve!

If you try to delete rows based on conditions, you can use code like this:

Option Explicit
CreateExample

"Make sure that the correct group is active.
data. Root.ChannelGroups (1). Activate
' chncalculate allows you to set values that match a NOVALUE condition
Call chncalculate ("Ch (1) = Ch (1) + CTNV (0 = Ch (1))")
'Delete the lines that contain a NOVALUE in channels '.
Call ChnNovHandle ("[1] / [1]", "" [1] / [2]'-' [1] / [3]'","Delete","XY", 1,0, 0)

Sub CreateExample()
data. Root.Clear
Dim g: g = given game. Root.ChannelGroups.Add ("group")
Dim c1: set c1 = g.Channels.Add ("c1", DataTypeFloat64)
Dim c2: set c2 = g.Channels.Add ("c2", DataTypeFloat64)
Dim c3: set c3 = g.Channels.Add ("c3", DataTypeFloat64)
I have Sun: for i = 1 to 100
C1 (i) = I mod 2
C2 (i) = I have
C3 (i) = i * 0.00001
Next
EndSub

that will remove all lines that contain a 0 in the first round.

will be converted to

Tags: NI Software

Similar Questions

  • What is superfetch? Its in my sTask window manager and he uses a lot of CPU power... .do I need it and what is?

    The program is placed in my Windows Task Manager and takes a lot of CPU power, and I wonder what use it perhaps can cause? my CPU usage was 100% and my antivirus uses only 5%.

    "Superfetch" and "The host Windows Services" take so much CPU power on i3, 3 gb Sony Vaio!

    SuperFetch is a Windows service that is designed to accelerate the launch of the app by preloading some applications based on your usage patterns. Tune-up blog has a good explanation of what it does.

    However, it should not be maxing out your CPU all the time. If it slows down your computer, you can try to disable it.

    To turn off:
    Open the Start Menu.
    Type "services" and press ENTER.
    SuperFetch. search in the list and right click > properties
    Set the startup type to disabled, and then click the Stop button to stop the service
    Click Ok

    You want to make sure that your antivirus software is up to date and your computer is clean.

  • Constantly, Firefox crashes and freezes; uses 100% of the CPU during freezing.

    Almost spontaneously, Firefox would freeze and unresponsive. Meanwhile, every Firefox window is out bleached and do not meet any entry, and the Firefox process uses up to 100 percent of the CPU. All active content running at the time of the gel, if one continues to operate as usual (videos continue to play, web applications, provide audio notifications send as usual, the visuals are now not visible as browser windows are frozen.) The sound continues uninterrupted, however.)

    Freezing can occur at any time. Even when the user does not interact with Firefox, it can still freeze. Gel persists with all addons and plugins disabled.

    The freeze would last between a few seconds to a minute, and after freezing, Firefox takes always respond as if nothing happened. While it causes no significant losses, the gel is extremely annoying and can occur as often as once every ten minutes.

    The symptom of freezing is universal for all versions of firefox between 5 and 8.0a2.

    I had this problem since I upgraded from FF5 to 6.02. I got the dev of Aurora version installed, so I can also confirm that the problem occurs in several versions. Exactly as mentioned OP: CPU load max, gel application, even without opening all Web sites - once again, he froze immediately after starting when the browser cache cleaning.

    My profile was very old. I also disabled all Addons and Plugins, and the problem persisted. After that, I uninstalled Firefox but didn't keep my profile - no chance.

    Nevertheless, reinstall a complete, plus the withdrawal of all profile data (C:\users\me\AppData\Local\Mozilla and C:\users\me\AppData\Roaming\Mozilla - export your bookmarks first of course) solved the problem. Downside is, you must reinstall all the AddOns, and your settings and cookies went. But these gels were even more annoying, so my advice would be to create a new profile.

  • I recently purchased Photoshop elements 13.  My employer just changed my computer (I am allowed and only use my personal computer) and the new computer does not have a CD-ROM drive.  Is it possible to download the software elements on my compu

    I recently purchased Photoshop elements 13.  My employer just changed my computer (I am allowed and only use my personal computer) and the new computer does not have a CD-ROM drive.  Is there a way to download the software items on my computer with the serial number and not the CD? Help!

    You can download the trial and use your serial number of the drive to enable to make full use...

    PSE 13 trial - http://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements

  • Why none of the mobile applications are compatible with my Samsung Galaxy Note 10.1 Tablet? I can only use some of the mobile applications with my Samsung Galaxy Note 4

    Each Adobe Mobile App I want to install from the game store Android Google indicates that it is not compatible with my Samsung Galaxy Note 10.1 tablet, but some are compatible with my phone Samsung Galaxy Note 4. I prefer to use mobile apps on my tablet on not on my phone. Can someone explain why I can't use mobile apps on my tablet. I thought that mobile applications are compatible with the tablets and phones?

    Please refer to why none of the mobile applications are compatible with my Samsung Galaxy Note 10.1 Tablet? I can only use some of the mobile applications with my Samsung Galaxy Note 4

    (Double Post)

  • I bought a pack of students have been 4 days and I can't find the package

    I bought a pack of students have been 4 days and I can't find the package in my account

    on the order management account recorded in me that I did not order history

    I see that your order for Creative Cloud Teacher Edition is successful.

    Please consult, download and install Adobe Creative Cloud apps to install applications on your computer.

    Kind regards

    Hervé Khare

  • WmiPrvSE.exe running using 25% of the CPU.

    Just yesterday, I noticed that my CPU was running several processes to idle: WmiPrvSE.exe, svchost.exe and mcods.exe.  Mcods is a process of Mcafee, I'm guessing that Wmiprvse is the process that is currently running and trying to solve something?  I tried to restore to a previous point, but received an error message about the restoration process is not be able to find a file of the registry and not being able to restore to an earlier point.  I ran a scan of full virus/malware with McAfee as suggested in other responses of WmiPrvSE and no problems were detected. I'd appreciate any help troubleshooting this.
    I am Windows 7 64 bit and only a novice with the computer jargon.

    Hi Tommp100,

    Welcome to the Microsoft Answers site!

    I suggest that you read the article in the link below and isolate the application which is in fact the origin of the problem.

    http://blogs.msdn.com/WMI/archive/2009/05/27/is-Wmiprvse-a-real-villain.aspx

    Let us know if the information has helped.

    Concerning
    Varun j: MICROSOFT SUPPORT
    Visit our Microsoft answers feedback Forum
    http://social.answers.Microsoft.com/forums/en-us/answersfeedback/threads/ and tell us what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • My pcg-7a2l is very slow. I want to spend the cpu and ram. What is the cpu socket and the ram need me it?

    My pcg-7a2l is very slow. I want to spend the cpu and ram. What is the cpu socket and the ram need me it?

    Hello

    PCG-7A2L is the configuration of the equipment donated by Sony code. Try to find the model # begins with "VGNFS6". Check the following link to locate the model #:

    http://eSupport.Sony.com/us/p/support-info.pl?info_id=264

    The option to upgrade the processor is not available. However, you can check if the RAM can be improved. Enter the model # below for specifications of Marketing:

    http://eSupport.Sony.com/us/p/select-System.pl?Director=docs

    Try the procedure described on the following link to resolve problems when the computer is running slowly:

    https://us.en.KB.Sony.com/app/answers/detail/A_ID/39709/c/65, kw/66/39709

    If my post answered your question, please mark it as an "accepted Solution".

  • iDVD will not open due to the required debugging atos. Help please I need to produce DVDs with direct access to scenes and have only used iDVD for the years

    I use iDVD to produce videos of my marriage. Latest updates of operating system, the program requires an administrator password to enable atos to continue debugging, and upon entry, iDVD just stops. Is there a way to get around this?

    Hey there WAPhoto,

    I understand that you experience a problem when you try to open iDVD on your computer. I would suggest a troubleshooting step for you that can solve this problem. Please, go to your library folder by using the information in this link:

    In the Finder, click the menu go to the menu bar, and then choose one of the following:

    Library: Hold down the Option key, and then choose library.

    OS X El Capitan: go directly to a specific folder

    https://support.Apple.com/kb/PH22187

    From there, navigate to your Preferences folder. In this folder, find the plist labeled "com.apple.iDVD.plist" and move it to this folder on the desktop.

    Out of this folder and go to the Caches folder. In this folder, find the folder named com.apple.iDVD and move the file named 'Cache.db' in this folder on the desktop as well.

    At this point, you can close the Finder window and relaunch iDVD. If iDVD opens without a problem, you can move the files that you moved to the desktop to the trash and continue to use iDVD as you wish.

    Thank you for coming to Apple Support communities!

  • How to run a script as administrator and copy some setting of the connected user's profile?

    I want to copy some profile setting to the connected on folder (% userprofile%\AppData\Roaming\Microsoft\Word) user profile password when they connect. Because the standard user accounts do not have the right admin to copy files to the folder, so I use schedule a task to run the .cmd as local administrator every time that a user login. But, when I use the % username % setting to try copying the file to the logged on user profile, the setting of % username % is interpreted as the name of the local administrator because the scheduled task is run as administrator. Therefore, the file is exemplary in the local Administrator profile. All solutions? Thank you

    I log on as a user account standard and do a right-click the .cmd and run as admin. The script interpreter .cmd parameter of % username % as the admin because I ran as administrator.

    -> Not altogether. There are two cases:

    • You are connected under an administrator account. When you right click on cmd.exe, then you get a 'high' console session that is still running under the name of your current account.
    • You are connected under a regular account. When you right click on cmd.exe and then you get a prompt and admin account name and its password. The new session is running under admin account.

    Is there a way to set the parameter to % username % as long as the logged on user, when you run the .cmd as an administrator.

    -> No - see above. Execution of a session high under a regular user account would defy the principle of administrator accounts.

    Either of these two options, I gave you in my previous answer might work, with a bit of scripting. A much simpler method would be to restore the default permissions to the %userprofile%\AppData\Roaming\Microsoft\Word folder. Normally full, users have access to it. This is my preferred option. With the help of a scheduled task that is running under an administrator account is a kludge.

  • Can I uninstall PS and just use it on the cloud?

    I want to uninstall PS from my laptop and just use online.  Is the part of the plan?

    Please advice.  Thank you.

    No, Photoshop is not running on the cloud. Only on your computer.

  • Payment plan for the photographer and the creative shift and cannot use photoshopPayment for the photographer and the creative shift plan and may not use photoshop

    Payment plan for the photographer and the creative cloud and can't use photoshop

    Your subscription to cloud shows correctly on your account page?

    If you have more than one email, you will be sure that you use the right Adobe ID?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    .

    If Yes

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

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

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • Export all the objects and only some data in the table

    Hello

    can we use exclude and include them both at the same time. I want to export the full scheme, but only a few required data table 5, it is possible.

    Please share expdp and impdp query.



    Regs,
    Brijesh

    845712 wrote:
    Hello

    can we use exclude and include them both at the same time. I want to export the full scheme, but only a few required data table 5, it is possible.

    Please share expdp and impdp query.

    Regs,
    Brijesh

    You can export meta_data first and then export the tables you want to get data.

    exp hr/hr rows=N file=xxxxxxxxxxx.dmp
    
    exp hr/hr file=yyyyyyyyyyy.dmp tables=(emp,dep)
    

    complete schema without data first and then import data

    imp hr/hr file=xxxxxxxxxxx.dmp
    
    imp hr/hr file=yyyyyyyyyyy.dmp IGNORE=y (so it will load data to previously created tables)
    

    concerning

    Gokhan Atil

  • BlackBerry smartphones &lt; my blackberry lost day and time when connect you the bb to computer!

    Hi, my lost bb day and time when connect bb to the computer, the change time bb and another area, it is normal?

    My phone says dealer "it's normal in this smart phone" is really true?

  • BSoD - error DRIVER_OVERRUN_STACK_BUFFER and chart use disc in the Task Manager showing constant 100% graphic

    All of sudden it began to show "BSoD - error DRIVER_OVERRUN_STACK_BUFFER" and while the system is turned on, it displays "chart use disc in the Manager of tasks showing constant 100% graphic.

    Friends, this is

    IT HAS THE FILE INFO MINIDUMP AND ZIPPED SYSTEM.

    Please go through it and help me friends :(

    SkyDrive link: https://onedrive.live.com/redir?resid=3CFADFC6344DFA0A%21263

    It worked, thanks!

    All attached files of the DMP are the verification of bug DRIVER_OVERRAN_STACK_BUFFER (F7) .

    This indicates that a driver has saturated a stack-based buffer.

    A driver invaded a buffer based on the stack (or a local variable) in a way that would have replaced the function's return address and jumped to an arbitrary address when the function returned.

    2: kd > k
    Call child-SP RetAddr site
    fffff880 '192edc58 fffff880' 03da0f6e nt! KeBugCheckEx
    fffff880 '192edc60 00000000' WinFLAdrv + 0x3f6e 000000f7
    fffff880 '192edc68 00fff880' 6d2ebda0 0xf7
    fffff880 '192edc70 0000f880' 03da3019 0x00fff880'6d2ebda0
    fffff880 '192edc78 ffff077f' fc25cfe6 0x0000f880'03da3019
    fffff880 ' 192edc80 00000000 00000000 of ' 0xffff077f ' fc25cfe6

    WinFLAdrv.sys invaded a buffer based on the stack, so called bug control. It is a pilot

    associated with the Service of NewSoftwares.net WinFLAdrv.sys Application. Uninstall ASAP!

    Kind regards

    Patrick

Maybe you are looking for