If less than...then Delete

I'm sure this is going to be a no brainer question, but unfortuately I don't have much time to teach myself VBS. 
I have a group with several channels that when the value in one channel is less than a certain value, I want that row and all the same rows in the other channels deleted.  I'm trying to use DataBlDel in conjunction with a For Each...Next Statement, but I honestly know very little about how to program in VBS and I've been beating myself with something that is probably very easy.
Thanks.
--claudia

Hi Claudia,
Good to hear from you.  I would recommend using the Calculator programmatically to set the values from the control channel in those unwanted rows to NoValues.  Then you can use the ChnNoVHandle() function to remove all the rows from all the channels in that Group where the control channel has a NoValue.  You may actually find you'd rather set the rest of those rows to NoValues instead of deleting them, if what you really want to do is plot curves of event data
Group = 1
ControlCh = "[" & Group & "]/Revs"
L1 = CNo(ControlCh)
R1 = 5500 ' RPMs
Call FormulaCalc("Ch(L1):= Ch(L1) + NoValue*(Ch(L1)<R1)")
ChnStr = ""
FOR j = 1 TO GroupChnCount(Group)
  L2 = CNoXGet(Group, j)
  IF L2 <> L1 THEN ChnStr = ChnStrAdd(ChnStr, L2)
NEXT ' i
'Call ChnNoVHandle(ControlCh, ChnStr, "Delete", "X", 1, 0)
Ask if you have further questions,
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • HT202159 Pixlemator had less than a minute to finish downloading, then stopped.  I go to the purchase page and it says install.  When I click on install it says there was an error and tells me to go to purchase page.

    Pixlemator had less than a minute to finish downloading, then stopped.  I go to the purchase page and it says install.  When I click on install it says there was an error and tells me to go to purchase page.

    Try deleting the cache associated with the App Store.
    Quit the App Store if it's open.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Caches/com.apple.appstore/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Relaunch the App Store and try re downloading the app.
    If that didn't help, open Sysem Preferences > Security & Privacy then select the General tab.
    Select:  Mac App Store and identified developers
    If that area is greyed out, click the padlock icon to make changes. You may be prompted for your admin password.
    Then try downloading the app.

  • Pix deleted with less than 24hrs notice

    I've really always repped verizon and the motorola driods, i love my X2 as old as it is.. always tell my friends get verizon if you want a good service.
    however this will no longer be the case, personally i highly discourage anyone from getting Verizon service until Verizon addresses thier customer service policies and does something different about thier pix storage.
    I was given less than 24hrs notice before i recieved a cascade of msgs telling me to log into pixplace, my content was deleted.
    Obviously this is an issue, "hindsight" is ALWAYS 20/20.. but fact is, the only pics i had of my son are gone, unrecoverable.
    I'm not the only person this has happened to, there are many stories of the same. There are enough of them that something like this should have been resolved instead of dismissed.
    Verizons customer service has really gone down the tubes, maybe thats legal's fault. Coming here to state my story and feelings has lead me to see threads that have changed my perception of verizon entirely, this saddens me as i always loved my VZ service and internet.
    However, when I read stories like these soldiers being stationed elsewhere or even if people simply move, It shouldnt be such a big deal to end a contract that is in good standing. Verizon used to very much take care of its subscribers, thus, it developed a loyal customer base. However, these types of "weaselry" are going to destroy that same customer base.
    It's not possible to establish trust, faith and pride in a service by claiming to be dependable and friendly, If the company chooses to hide behind ToS, and EULA's while smiling and speaking in a cheerful tone. We deserve the reputation and service that was commercially advertised without the legal fineprint.

    becuse this was supposed to be safer than keeping them on my phone incase something happened to my phone, as i said before brian.. hindsight is always 20/20.. what I am addressing is the fact that they know this system is flawed but continue to use it as an inhouse default solution but can offer no inhouse support... what happened to me was cuz thier automated server vomited out its sms incorrectly, it happens... so i assume when they deleted my pix the msgs all delivered at once. resulting in my loss of data.
    when a tele-comunications service offers you a service, they should be very good at tele-communications. if they store data they should have some form of archiving said data, alternate solution would have been to simply email my pics to me. the vast majority of us that have verizon service also have a default verizon email that came with the service, they could have placed the archive in it.
    point being, theres a better way, and enough of thier customers have had problems with this that they should have already resolved this.. rather than dismissing it... which is what you are doing now.
    make no mistakes, I'm not saying that i shouldnt have had 20 more back-ups, a dna sample, 2 hardcopies in seperate locations etc etc etc. if you read my post instead of trolling it though, you would notice it was about bad service, not just my own experience.... myself and many others have come to this crossroads with verizon, verizon doesnt fix thier end of things though. its not an isolated incident.
    IF disatisfied with a service becuse of substandard service or false or misleading advertisement then a person should be able to terminate said contract just as easily as verizon would refuse you service for not paying.
    can you hear me now? rofl

  • When i open an mp3 file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    when I open a music file from a source other than apple, does itunes create it's own file and can I then delete the original mp3?

    If you use iTunes' default settings then when you add a file to iTunes it places a copy of the file in the iTunes media folder and it leaves the original in place.  The exception is when you drag it to the Automatically Add To iTunes folder.
    It does not convert the file.  You can delete the original if you wish.

  • HT1040 trying to make an ibook and have 800 photos, want format of 8 photos/page, but default is not that- "create" the initial book from iphoto "album" it loads less than 800 pics and then when i change layout i have blanks.

    trying to make an ibook and have 800 photos, want format of 8 photos/page, but default is not that- "create" the initial book from iphoto "album" it loads less than 800 pics and then when i change layout i have blanks.
    if i clear the book so that it is all blanks and then try to load in the pictures i have it loses the chronology of the pictures that i had established in the album.
    is there a way to import photos into an ibook template and keep the original order of the photos without having to do them one at a time?
    also, is there a way to insert a photo rather than just dragging it? i have tried the cut and paste funciton but it doesn't seem to work, the target site doesn't seem to register with iphoto.
    many thanks for your help.

    Photos are added to book in chronological order.  So if you want to add them to a book in the order you have placed them manually in an album do the following:
    1 - select all the photos in the album.
    2 - use the Photos ➙ Batch Change ➙ Date menu option as shown here. Select any date and add 1 minute between photos.
    3 - select just one photo from the album and create a book from it.
    4 - in the book click on the Options button ➙ Book Settings button and make sure the checkbox for Auto-layout pages is unchecked.
    5 - drag the album with your book photos onto the book icon and they will be imported into the Photos tray of the book in your pre-determined order but not into the pages themselves.
    OT

  • TS1365 MacBook Pro (15-inch, Late 2011) It turns on for less than 60 sec thens shutsoff by itself, it won't load to recovery hd partition, won't load to mac OS already replaced MLB, problem still persist.. please help thanks in advance

    MacBook Pro (15-inch, Late 2011) It turns on for less than 60 sec thens shutsoff by itself, it won't load to recovery hd partition, won't load to mac OS and already replaced with new MLB, but the problem still persist.. able to run ASD EFI but ASD OS wont work.please help thanks in advance

    Holy crap, I got it to work.
    Essentially, I just waited until DiskWarrior reached Step 9 and told it to skip the step before it had a chance to freeze. It skipped successfully, moved on, rebuilt and replaced the faulty directory files.
    So far the computer is booting like normal, I can log in, and I'm currently copying all of the data to an external as I type this.
    I still have no idea why the computer wouldn't mount or boot to any drive, but I guess I'll deal with that later.

  • Issue: I synced my iphone with itunes, I then deleted many songs from the iphone, when I sync to itunes again is there any way to have itunes duplicate what it sees on the iphone rather than the other way around?

    Issue: I synced my iphone with itunes, I then deleted many songs from the iphone, when I sync to itunes again is there any way to have itunes duplicate what it sees on the iphone rather than the other way around?

    so, if I delete all music on itunes then connect my iphone all my music on the iphone will then be deleted?

  • After prompted to update 10.9.1, my MacBook Pro updates and went thru restart but failed...I tried to start my book and gray screen, Apple logo both on, chime sounded, then went to progress bar, less than half macbook shuts down...did few times, same!!

    After prompted to update 10.9.1, my MacBook Pro updates and went thru restart but failed...I tried to start my book and gray screen, Apple logo both on, chime sounded, then went to progress bar, less than half macbook shuts down...did few times, same!!
    Go to system repair, there is a prompt that cannot repair live etc....I don understand!!! Help, I need the book for work tomorrow!!

    Thanks clintonfrombirmingham...
    After clicking "repair disk" it says DISK UTILITY STOPPED REPAIRING MACINTOSH HD, DISK UTILITY CAN't REPAIR THIS DISK. BACK UO AS MANY OF YOUR FILES AS POSSIBLE, REFORMAT THE DISK, AND RESTORE YOUR BACKED -UP FILES....
    written in red: ERROR: DISK UTILITY CAN'T REPAIR THIS DISK,,,DISK, AND RESTORE YOUR BACKED-UP FILES.
    how can I back up when I cannot even start my macbook? I am stuck here and have lots of important files in the hd... Please help me? Thanks you!

  • Warning screen pops up for less than a second then disappears

    After I upgraded to Mountain Lion, occasionally a warning screen with the yellow '!' pops up for less than a second then goes away. What does trhis mean, does anyone else have this problem?

    Never seen it - never heard of it. Does it popup while you're using any particular application? Is it like a dialog box? It could be some third-party application trying to warn you... about something.
    Clinton

  • I have reached my 5 computer max and reset less than 12 months ago - I am getting an error to say I cannot delete the accounts until 9 September - is there anyway around this?

    i have reached my 5 computer max and reset less than 12 months ago - I am getting an error to say I cannot delete the accounts until 9 September - is there anyway around this?

    Have you had a Look Here...
    Aurthorise / Deaurthorise About
    http://support.apple.com/kb/HT1420

  • HT1338 My macro is less than a year old. I have no problem viewing video until lately the problem arise everytime I watch video it keeps on pausing about 40 to 50 seconds then play again. Then it repeats again. I am wondering what is the problem?

    My macbook pro 13" is less than a year old and I have no problem with speed and video until lately. Everytime I watch video it keeps on pausing for 40 to 50 secs. then play then repeats again. I tried to play the same video on my ipad and I have no problem. Can somebody have an answer to my problem?

    If it is less than a year old it is still under warranty, get it serviced.
    https://selfsolve.apple.com/GetWarranty.do

  • Measure time of an measurement and if measurement time is less than 90 second wait until 90 second and then proceed to next steps or stop.

    Hi
    I am trying to make a program
          During execute a measurement count the time.
          If  measurement time is more than 90 second proceed to the next steps (or stop the measurement)
          If measurement time is less than 90 second, wait until 90 second and then proceed to next steps or stop
    I appreciate deeply if some help me.

    What sort of measurement are you talking about? What affects the time of your measurement? The very basic description you have is of a state machine and there are numerous examples of that
    1. Actually I would like measure the time of "Alignment" function done by wafer test equipment name Prober ( the model is "UF3000" made by TOKYO SEIMITSU CO., LTD.
    2.. Right now  the "Alignment" function is started when a  GPIB command is written as "N" and wait for resposne 70 in polling.
    Please refer to the attachment for Alignement function if it help you.
    In the attahement
    For Alignment error delay we are using =600
    Alignment counter =30000
    align loop cnt = 30000
    This is a program wriiten by another person and he is not availabe any more. What I am trying to do is
    1.  During execute a "Alignment " function count the time.
    2. If  "Alignment " function time is more than 90 second proceed to the next steps
    3.  If "Alignment " function is less than 90 second, wait until 90 second and then proceed to next steps
    Attachments:
    Alignment function.xlsx ‏153 KB

  • IPad Retina storage is going down after ios8.02 was installed.  I had over 6.4 gig before installation and am now down to less than 700 mb.  I've deleted apps, there's no music or videos on my iPad, and I've deleted most pictures.

    IiPad retina storage is disappearing after update to ios8.02.  I had over 6.4 gig before the update.  I now have less than 710 mb.  There is no music or videos on the iPad.  I have deleted almost all apps and most photos.  Every time I use it, the storage is going down.  I have tried resetting by powering off and this has no effect.

    iPhone, iPad, and iPod: Understanding capacity
    http://support.apple.com/kb/ht1867
    How much space is used by your Other? You may be able to reduce.
    How Do I Get Rid Of The “Other” Data Stored On My iPad Or iPhone?
    http://tinyurl.com/85w6xwn
    How to Remove “Other” Data from iPhone, iPad and iPod Touch
    http://www.igeeksblog.com/how-to-remove-other-data-from-iphone/
    With an iOS device, the “Other” space in iTunes is used to store things like documents, settings, caches, and a few other important items. If you sync lots of documents to apps like GoodReader, DropCopy, or anything else that reads external files, your storage use can skyrocket. With iOS 5/6/7, you can see exactly which applications are taking up the most space. Just head to Settings > General > Usage, and tap the button labeled Show All Apps. The storage section will show you the app and how much storage space it is taking up. Tap on the app name to get a description of the additional storage space being used by the app’s documents and data. You can remove the storage-hogging application and all of its data directly from this screen, or manually remove the data by opening the app. Some applications, especially those designed by Apple, will allow you to remove stored data by swiping from left to right on the item to reveal a Delete button.
    What is “Other” and What Can I Do About It?
    https://discussions.apple.com/docs/DOC-5142
    iPhone or iPad Ran Out of Storage Space? Here’s How to Make Space Available Quickly
    http://osxdaily.com/2012/06/02/iphone-ipad-ran-out-of-available-storage-space-ho w-to-fix-quick/
    6 Tips to Free Up Tons of Storage Space on iPad, iPhone, and iPod Touch
    http://osxdaily.com/2012/04/24/6-tips-free-up-storage-space-ipad-iphone-ipod-tou ch/
    Also,
    How to Clear Message/iMessage Cache on iPhone & iPad And Reclaim Lots of Free Space
    http://www.igeeksblog.com/how-to-clear-message-imessage-cache-on-iphone-ipad/
    What is Stored in iCloud and What is Not
    https://sites.google.com/site/appleclubfhs/support/advice-and-articles/what-is-s tored-in-icloud
     Cheers, Tom

  • When I go to Preview to view a photo it shows up for less than a second then disappears and just leaves a gray box where the photo should be. iMac (Retina 5K, 27-inch, Late 2014). I need Preview for work.

    After the OS X Yosemite 10.10.3 update When I go to use Preview to view a photo it shows up for less than a second then disappears and just leaves a gray box where the photo should be. iMac (Retina 5K, 27-inch, Late 2014). I need Preview for work.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    The test works on OS X 10.7 ("Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message. See, for example, this discussion.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a general summary of what you need to do, if you choose to proceed:
    ☞ Copy a particular line of text to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    These are not specific instructions; just an overview. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait, paste again. You don't need to copy a second time.
    5. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is sometimes, but not always, slow, run the test during a slowdown.
    You may have started up in "safe" mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. Load this linked web page (on the website "Pastebin.") The title of the page is "Diagnostic Test." Below the title is a text box headed by three small icons. The one on the right represents a clipboard. Click that icon to select the text, then copy it to the Clipboard on your computer by pressing the key combination command-C.
    If the text doesn't highlight when you click the icon, select it by triple-clicking anywhere inside the box. Don't select the whole page, just the text in the box.
    8. Launch the built-in Terminal 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 and start typing the name.
    Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing command-V, then press return. The text you pasted should vanish immediately.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. If you don't know the password, or if you prefer not to enter it, just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, a series of lines will appear in the Terminal window like this:
    [Process started]
            Part 1 of 8 done at … sec
            Part 8 of 8 done at … sec
            The test results are on the Clipboard.
            Please close this window.
    [Process completed]
    The intervals between parts won't be exactly equal, but they give a rough indication of progress. The total number of parts may be different from what's shown here.
    Wait for the final message "Process completed" to appear. If you don't see it within about ten minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it and go to the next step. You'll have incomplete results, but still something.
    12. When the test is complete, or if you stopped it because it was taking too long, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but whatever else you're told to do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.
    Copyright © 2014, 2015 by Linc Davis. As the sole author of this work (including the referenced "Diagnostic Test"), I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • My 27" iMAC is less than 3 month old. Many times regardless of what application I am in the screen will start shifting  back and forth left to right. Then I can't do anything until the screen stabilizes. This takes anywhere from 5 to 25 secs. Any ideas?

    My 27" iMAC is less than 3 month old. Many times regardless of what application I am in the screen will start shifting  back and forth left to right. Then I can't do anything until the screen stabilizes. This takes anywhere from 5 to 25 secs. Any ideas?

    why don't you take advantage of the free 90 days of AppleCare and utilize the free, professional telephone support from Apple instead of asking in the forums?

Maybe you are looking for

  • XP Installation Problem on NEO2..

    Hi, I'm having a problem installing XP on the NEO2... Specs: A64 3500 OCZ EB Ram OCZ 520W PS 74G Raptor 160G SATA Seagate After pressing F6 and and installing the NVIDIA RAID CLASS DRIVER. Windows copies setup files and upon reboot I get  this: Verfy

  • No RAM banks passed memory testing?

    I was running Firefox and everything froze up, even the mouse was stuck. I tried to force quit, but it didn't work. So, I turned the computer off, and when I tried to restart I get nothing. The fans start up, but the screen remains black and I hear 3

  • How to run a Java project in NWDS...

    Hi All, First of all , i dont know if i am writing in the right forum for this question. I am new in NWDS. My question is, how can i run my java project in NWDS without  having any portal available (we had some problems running projects in EP 2004 an

  • What is the problem when the nano changes channels when your on a station or a song

    I can be on a channel and it will change to another channel or even a venue. It stays on one for about 15 seconds then goes wherever it wants???????????????

  • I cannot log in to my Kohls account "The connection was reset"

    When I go to the Kohls website and click on the 'my account' tab and when I click on 'sign in' it goes to another tab and then gives me the message "The connection was reset" and "''The connection to the server was reset while the page was loading. T