CHD Command is SLOW...How can I speed up processing

I have the following loop in a Diadem Script...Any thoughts on how to make it run FASTER...A channel with "only" 13792 elements is taking over 20 seconds to process...and I have to repeat this three times..
For Counter = 1 to ArrayLength
   if CHD(Counter, "/EP_HP") > BlowerLow then
      CHD(Counter, "/EP_HP (Low)") = BlowerOff
   else
      CHD(Counter, "/EP_HP (Low)") = CHD(Counter, "/EP_HP")
   end if
Next
Any insight would be appreciated.

Hello Jeff!
The approach with a loop is obvious but slow. You can speed it up with the faster CHDX command and disolve the channel names to channel numbers with CNO in front of the loop.
The realy fast solution is done with the FormulaCalc command. Please set the DIAdem Variable R1 to the BlowerLow value and R2 to the BlowerOff value and than run this line:
Call FormulaCalc("Ch('EP_HP (Low)') := (Ch('EP_HP') > R1) * Ch('EP_HP') + (Ch('EP_HP') <= R1) * R2")
The clue is that a true condition is evaluated to 1 a false to 0. With the multiplication and the to opposit conditions you get the two different values. DIAdem process this verry fast!
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  

Similar Messages

  • My macbook Pro 15-Inch  2.4/2.2GHz Geheugen  2 GB 667 MHz DDR2 SDRAM is very slow how can i speed it up???

    My macbook Pro 15-Inch  2.4/2.2GHz Geheugen  2 GB 667 MHz DDR2 SDRAM is very slow how can i speed it up???
    Should i put new ram in????
    and if yes what should i buy????
    can anybody help me please 
    thx.

    You're welcome, j. If not enough free space availabe is the issue, now is a good time to upgrade to a much larger HD, as prices have never been better. Clear, illustrated directions are available at ifixit.com, macsales.com, powerbookmedic.com, youtube and others. Macsales, amazon and newegg have a nice selection of HDs, while the latter two also have lots of user reviews.
    Given that your MBP is 4-5 years old, and the average life-span of a HD is 3-5 years . . . .
    Given that you have a 17" MBP, you can install any capacity HD currently available, just make sure it's 2.5", SATA, and 12.5mm high or less (there's at least one Seagate monster out there that's 14-15mm high). All other things being equal, a 5400RPM HD is going to use less battery power, run cooler, quieter, and with less vibration, and, of course, run a bit slower than a 7200. An SSD is also a possibility (a very expensive one), but you're not going to see anywhere near the speed bump as newer machines due to the SATA 1 (1.5Gbps) SATA/HD bus bottelneck.

  • Imac is way too slow-how can i speed it up

    I have been using my imac for over four years. Recently. it has really started to slow down.
    How can i run a diagnostic test to know what the problem is?

    Download, install and periodically run AppleJack[url]. This calls several unix routines including those which repair your directory and disk permissions, and cleans out extraneous cache and corrupted preference files.
    Consider reapplying the current combo updater for your OS. For Mac OS X 10.4.11, the intel package is available [url=http://support.apple.com/downloads/MacOS_X_10_4_11_Combo_Update__Intel]here. You must use this larger Combo updater and not the smaller Delta one to impact this issue.
    Consider reinstalling Safari 4.04 which is likely responsible for much of your perception that the machine is 'running slowly.'

  • My iMac is running much slower how can I speed it up?

    I have an early 2009 iMac 24 inch.  I just ordered a pair of 4 gb ram upgrading to 8 gb from 4. What else can I do to get this thing to go faster? In its old age it's slowed down a bit. Please help.

    Model Name:          iMac
      Model Identifier:          iMac9,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          3.06 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache:          6 MB
      Memory:          4 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          IM91.008D.B08
      SMC Version (system):          1.45f0
      Serial Number (system):        
      Hardware UUID:        

  • Filtering a dataset Verry Slow how can I speed it up

    When doing a load from datasource to a UDMatrix on a UDF it is VERY slow
    line by line updating each cell etc etc with the result from an SQL Query.
    but a loadfromdatasource is Very quick is there a way to do a load from datasource with a filter? (i.e no query)
    and hence speed up the whole operation.
    Or am I using an incorrect method to load a Matrix..
    thanks
       George

    Hi
    try if this home version of like is useful for you
    if you want like "XX*"
    Set oCondition = oConditions.Add
        oCondition.BracketOpenNum = 2
        oCondition.Alias = "YourField"
        oCondition.Operation = co_graterEQUAL
        oCondition.CondVal = "XX"
        oCondition.BracketCloseNum = 1
        oCondition.Relationship = cr_AND
        Set oCondition = oConditions.Add
        oCondition.BracketOpenNum = 1
        oCondition.Alias = "YourField"
        oCondition.Operation = co_less_than
        oCondition.CondVal = "XZ"
        oCondition.BracketCloseNum = 2
    in theory with this you'll get all the values that begins with XX
    Hope it helps you
    Kind regards
    Salvador Biot

  • System extremely slow. how can i speed it up?

    I MAC speed is 2.8 GHz Intel Core 2 Duo, Memory is 4 GB 800 MHz DDR2 SDRAM. OS X 10.9.4 since downloading 10.9.4 extremely slow. Any remedies? also have  parallels for windows.

    EtreCheck version: 1.9.15 (52)
    Report generated September 18, 2014 at 9:08:38 AM CDT
    Hardware Information: ?
      iMac (24-inch, Early 2008) (Verified)
      iMac - model: iMac8,1
      1 2.8 GHz Intel Core 2 Duo CPU: 2 cores
      4 GB RAM
    Video Information: ?
      ATI Radeon HD 2600 Pro - VRAM: 256 MB
      iMac 1920 x 1200
      Cinema HD 1920 x 1200
    System Software: ?
      OS X 10.9.4 (13E28) - Uptime: 0 days 0:53:58
    Disk Information: ?
      Hitachi HDP725032GLA380 disk0 : (320.07 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 319.21 GB (190.84 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information: ?
      EPSON USB2.0 MFP(Hi-Speed)
      Apple Computer, Inc. Apple Cinema HD Display
      Apple, Inc. Keyboard Hub
      Apple, Inc Apple Keyboard
      Apple Inc. Built-in iSight
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Generic USB Ear-Microphone
      Apple Computer, Inc. IR Receiver
    Gatekeeper: ?
      Anywhere
    Kernel Extensions: ?
      [not loaded] com.devguru.driver.SamsungACMControl (1.4.16 - SDK 10.6) Support
      [not loaded] com.devguru.driver.SamsungACMData (1.4.16 - SDK 10.6) Support
      [not loaded] com.devguru.driver.SamsungComposite (1.4.16 - SDK 10.6) Support
      [not loaded] com.devguru.driver.SamsungMTP (1.4.16 - SDK 10.5) Support
      [not loaded] com.devguru.driver.SamsungSerial (1.4.16 - SDK 10.6) Support
      [not loaded] net.pocketmac.driver.BlackberryUSB (3.0.12) Support
      [not loaded] net.pocketmac.driver.BlackberryUSBDev (3.0.12) Support
    Startup Items: ?
      ParallelsDesktopTransporter: Path: /Library/StartupItems/ParallelsDesktopTransporter
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.ciscosystems.ciscoconnect.daemon.plist Support
      [running] com.parallels.mobile.dispatcher.launchdaemon.plist Support
      [loaded] com.parallels.mobile.kextloader.launchdaemon.plist Support
    Launch Agents: ?
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.parallels.mobile.prl_deskctl_agent.launchagent.plist Support
    User Launch Agents: ?
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.adobe.ARM.[...].plist Support
      [loaded] com.divx.agent.postinstall.plist Support
      [running] com.genieo.completer.download.plist Support
      [loaded] com.genieo.completer.update.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [running] com.parallels.mobile.startgui.launchagent.plist Support
      [running] com.zeobit.MacKeeper.Helper.plist Support
    User Login Items: ?
      Garmin Express Service
      iTunesHelper
      KiesAgent
      EpsonRegReminder
      TuneupMyMac
      fuspredownloader
      EEventManager
    Internet Plug-ins: ?
      Google Earth Web Plug-in: Version: 6.1 Support
      Default Browser: Version: 537 - SDK 10.9
      Flip4Mac WMV Plugin: Version: 2.4.4.2 Support
      OfficeLiveBrowserPlugin: Version: 12.3.6 Support
      OVSHelper: Version: 1.1 Support
      AdobePDFViewerNPAPI: Version: 10.1.10 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      DivXBrowserPlugin: Version: 2.1 Support
      Silverlight: Version: 5.1.20913.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      iPhotoPhotocast: Version: 7.0
      QuickTime Plugin: Version: 7.7.3
      AdobePDFViewer: Version: 10.1.10 Support
      GarminGpsControl: Version: 4.0.1.0 Release - SDK 10.4 Support
    Safari Extensions: ?
      Omnibar
      DivXHTML5
      OpenIE
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins ?
      Move-Media-Player: Version: npmnqmp 071500000273 Support
      Picasa: Version: 1.0 Support
    3rd Party Preference Panes: ?
      DivX  Support
      Flash Player  Support
      Flip4Mac WMV  Support
      MacFUSE  Support
    Time Machine: ?
      Time Machine not configured!
    Top Processes by CPU: ?
          7% mds
          2% WindowServer
          1% fontd
          0% EPSON Scanner
          0% aosnotifyd
    Top Processes by Memory: ?
      213 MB com.apple.WebKit.WebContent
      139 MB com.apple.IconServicesAgent
      123 MB mds_stores
      111 MB MacKeeper
      82 MB Safari
    Virtual Memory Information: ?
      1.62 GB Free RAM
      1.71 GB Active RAM
      146 MB Inactive RAM
      531 MB Wired RAM
      506 MB Page-ins
      0 B Page-outs

  • My laptop is slow, how can i speed it up?

    My laptop has continuosly crashed and is extremely slow. I'm constantly getting the rainbow circle for about 10 minutes every 5 minutes I'm online and i have to resend my data, a lot. My computer asks me if i want to submit files to report my slow computer but whether I hit yes or no nothing happens

    When you next have the problem, note the exact time: hour, minute, second.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above. Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough. It is never necessary or helpful to post more than about 100 lines. "The more, the better" is not the rule here.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • My imac is running slow how can i speed it up to where it was

    my intel based imac is getting increasingly slower and that spinning color wheel shows up all the time when using the computer for just about anything.
    additionally, i use mac's email program and its acting flaky, asking ror the password multiple times a week.

    1. How much RAM does it have and how full is your Hard Drive?
    2. Test your Hard Drive. > Intel-based Macs: Using Apple Hardware Test

  • My Software  Mac OS X Lion 10.7 is slow ,how can i speed it up...help

     

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation.  TechTool Pro 4.5.1 or higher are Intel Mac compatible;  Drive Genius is similar to TechTool Pro in terms of the various repair services provided.  Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.  Other utilities are also available such as Onyx, Lion Cache Cleaner, CockTail, for example.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.

  • How can I implement parallel processing feature in Oracle 9i?

    I need to load (and transform) millions of data from Table1 to Table2. How can I speed the process using parallel processing. The server has 4 processors (running on Win2k Advanced server).
    Can anyone guide me what are the exact steps required to enable parallel loading. I've already partitioned Table1 into 4 parts.

    insert /*+ PARALLEL(8) */ into table A select * from table B ;
    or alter table A parallel 8 ;
    or alter session enable parallel dml ;
    Look for PARALLEL on http://tahiti.oracle.com for more infos.
    Fred

  • Since the update to Yosemite the MacBook has slowed down appreciably. Safari for example takes upwards of 30 seconds to load. How can I speed things up?

    Since the update to Yosemite the MacBook has slowed down appreciably. Safari for example takes upwards of 30 seconds to load. How can I speed things up?

    Hi ..
    Not enough free storage space can slow your Mac down.
    Click your Apple menu icon top left in your screen. From the drop down menu click About This Mac > More Info > Storage. Make sure there's at least 15% free disk space.
    Freeing space on your Mac OS X startup disk
    OS X Tips Where did my Disk Space go?
    Check to see if the startup disk needs repairing.
    Launch Disk Utility located in HD > Applications > Utillities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk (not Verify Disk Permissions)
    If Disk Utility reports errors, restart your Mac while holding down the Command + R keys. From there you should be able to access the built in utilities in OS X Recovery to repair the startup disk.
    Make sure to back up all important data first before using OS X Recovery.
    Anti virus software, as well as third party Mac cleaning utilities such as MacKeeper  and CleanMyMac can also slow your Mac down.
    For Safari.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Relaunch Safari to test. if that doesn't help, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • I was getting support for my Office 2008 for Mac, and the support tech said my OS was very slow. I have latest update for Snow10.6.7. Question how can I speed up my Macbook?

    I was getting support for my Office 2008 for Mac, and the support tech said my OS was very slow. I have latest update for Snow10.6.7. Question; How can I speed up my Macbook?

    Hi
    In the first instance, I'd use Onyx and run through its sequence of maintenance and tune up tools:
    Verify, Maintenance, Cleaning.
    I'd also reset the SMC and PRAM (Google them)
    If that doesn't help then I'd look at System Preferences.. > Accounts > Login Items tab (not Login Options).  Check what processes get started at login and decide which ones you don't want.
    After that I'd use Applications/Utilities/Activity Monitor to see if any processes are using a lot of computer power or if anything else nasty might be happening.
    If none of this helped then my final step would be to reinstall OS X.
    Bob

  • My iPad is slowing down, how can I speed it up?

    MY iPad is slowing down, how can I speed it up?

    MY iPad is slowing down, how can I speed it up?

  • HT5953 How can I speed up the "start speaking" feature in iBooks? (System Preferences Dictation and speech does not do anything to the speech speed.) The rate is a bit to slow.

    How can I speed up the "start speaking" feature in iBooks? (System Preferences Dictation and speech does not do anything to the speech speed.) The rate is a bit to slow.

    Hi, I had the same problem you described, and I noticed that there are two ways of activating text to speech on iBook for Mac, with different speed results (at least on my MacBook Pro Retina display)
    On your iBook you can select the text and and then click on > More> Start speaking,  and you will get a certain speed, which tends to be too slow.
    But you will get the speed you had selected with "Go to System Preferences>Dictation and Speech>Text to speech. In there is a slider to adjust the speaking rate." if you use the TOP MENU (next to the black apple)  under Edit>Speech>Start Speaking. I also learned that under System Preferences>Dictation and Speech>Text to speech, there is an option for a shortcut which is very helpful. And you can change Key. Hope this was helpful.

  • How can I speed up slow Maverick on MacBook Pro?

    question or problem: How can I speed up slow Maverick on MacBook Pro?
    answer or solution:  Per Apple Genius in Palo Alto,  CA
    Maverick consumes almost my entire 4 GB of ram memory shown in Activity Monitor.
    Found under Applications-->Utilities-->Activity Monitor
    Will purchase two 4 GB banks and install myself using inexpensive tools.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

Maybe you are looking for