I have a ASCII input feeding a value in. Each time this value falls between two numbers I want to increase the count by 1. How can I do this?

I have been trying to work this out an I am sure is is not too difficult to do, but I cant seem to get anywhere with it. If anyone could help that would be great.
Thanks
RossH

I am not currently at a PC with LabVIEW on, so Ic ant send you an example of how to do this. Instead you'll have to understand my description....
I'll assume that you want to constantly monitor the input value...
Use a while loop with a shift register to store the count value. You can initialise the count value to zero (or whatever you like) by wiring a numeric constant to it - to the left of the shift register - outside the loop. Place a case structure inside the loop and wire the shift register left to right through the false case. In the true case place the increment function and connect it between the input and output nodes you now have on the case structure. On each iteration of the loop the count value will either remain the same or be incremented b
y one depending on whats wired to the boolean input on the case structure. Now you need to detect whether your ascii value is in range. You can use the 'In range and coerce' function for this (found in the comparison function pallette). Wire the range values and the input value to it and take the boolean output to the input of the case structure. The ascii value must be acquired within the loop, so that you are checking the updated value on each iteration (or if it comes via an array you could wire the array directly to the outside of the loop and enable indexing - in this case it would be best to use a for loop). You can place an indicator on the 'count' wire to monitor its value if you wish. Remember to also place some conditional statement to stop the loop when required and also a wait function should exist inside the loop. When the loop stops, the count value will be available at the output of the shift register.
Hope this helps and is clear enough for you to implement?!

Similar Messages

  • I have finalized my iMovie photo slideshow and wanted to burn the imovie onto dvd. how can i do this so i can watch it on my television?

    i have finalized my iMovie photo slideshow and wanted to burn the imovie onto dvd. how can i do this so i can watch it on my television?

    Hi
    If there is no iDVD on Your Mac (and it's not on newer Macs as Apple discarded it) then You need a program that can do this.
    Your Mac can burn CDs and DVDs - BUT DVD as Data-DVDs not as Video-DVDs - they need a program to be encoded and STRUCTURED as such.
    • iDVD is part of the boxed version of iLife'11 and can only be bought outside Apple as on Amazon and e-bay
    • DVD Studio pro - Part of FinalCut Studio Pro bundle - this to has expired and can only be bought second handed. (High price and tough learning Curve - but best ever done.)
    • Roxio Toast™ - Not as elegant as iDVD - but has many other positive additions (I like it as 10-Pro incl BD-component) (now version 11)
    • Burn - only free alternative I know of on internet. Very simple - Just for doing a plain Video-DVD
    Burn http://www.digital-digest.com/software/Burn.html
    only You can buy from Apple is
    • FinalCut Pro-X which also can burn to DVD but without any nice themes.
    AppleMan1958
    You can also buy Compressor from Apple for $50 US. It will also create DVD and BluRay but without the nice themes.
    Yours Bengt W

  • I have updated to version 6 twice, I am using Windows XP, yet every time it states I am not updated, my browser looks like the old one? How can I get this fixed to look like the new browser version?

    I still have all the menu options at top... (ex:File, Edit, View...ect) Looks like old version, Under Help it says version 6, yet when I open it, it states I am not updated..
    I would like to get the new version, please help! Thanks, Kristal

    are you doing the update with admin privileges?
    has caused quiet update failures for me in the past...

  • I have 2 iphones that share the same apple id but do not want them to share contacts and apps, how can I change this

    I have 2 iphones that share the same apple ID I do not want them to share contacts and apps how can I change this?

    You can use separate AppleIDs for iCloud, iMessage and iTunes - you just need to create unique AppleIDs for the iCloud accounts if syncing contacts that way (you will need an email address that is not already registered as an AppleID though to get another AppleID).
    Apps are a different matter in that purchases are tied to the AppleID used to log in to the store to make the purchase.  So you can create another AppleID for iTunes as well and use different ones on the different phones, but any apps you have already purchased with your existing AppleID are permanently tied to that AppleID.
    Really, unless you are sharing apps, content and such, there is no reason to use the same AppleID on each anyway.  So the simplest solution is to create new AppleID(s) for the second device.  If you need an email address to do that, just get a gmail account (or hotmail, yahoo or any other free email account).

  • In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for name highlighted)?

    Hello, all.
    In iTunes 11.0.2.26, an Albums search by track names returns albums as if they only have one track on them, but I still want to access the entire album. How can I have the search results show the entire album (with just the searched for name highlighted)? For instance, I'm wanting to play an album with a particular track on it or I'm searching for albums that include that track. iTunes incorrectly assumes that all I'm after is that one track and then incorrectly displays the album as if there is only one ttrack on it. This is a bonkers default setting. Can I change this?

    Click the search magnifying glass and uncheck "Search entire library".
    Type in the name of the track.
    Click the album of interest to show tracks.
    Select the track.
    Press the X in the search box to clear the search.
    Double click the track you want to start playing first.
    tt2

  • I don't own an Apple device, but I have purchased an audio album from the iTunes store. How can I play this on my android phone, as I am unable to burn the album to mp3 format? Can I obtain a refund if this is not possible? Thanks

    I don't own an Apple device, but I have purchased an audio album from the iTunes store. How can I play this on my android phone, as I am unable to burn the album to mp3 format? Can I obtain a refund if this is not possible? Thanks
    p.s. I am not knowledgeable of Apple/iTunes etc, I was under the impression that if I purchased an album then I can use my purchase on a non-Apple device

    mickyja wrote:
    I don't own an Apple device, but I have purchased an audio album from the iTunes store. How can I play this on my android phone, as I am unable to burn the album to mp3 format? Can I obtain a refund if this is not possible? Thanks
    p.s. I am not knowledgeable of Apple/iTunes etc, I was under the impression that if I purchased an album then I can use my purchase on a non-Apple device
    Micky,
    The iTunes Store sells songs in AAC format.  Most Android phones can play AACs.  Just sync them to your phone per the instructions with the phone.
    If by any chance your phone does require MP3 format, you can use iTunes to convert the files, per this guide: 
    iTunes: How to convert a song to a different file format - Apple Support
    (This conversion does not require burning.)
    For future reference, note that the iTunes Store is really optimized for people using Apple devices.  You might find it more convenient to buy music in Mp3 format from Amazon Digital Music or Google Play Music.

  • HT1689 I have a credit in my itunes account but when making a purcahse it is asking for my credit card info.  I don't want it charged to my credit card, I want to use my account credit.  How can I do this?

    I have a credit in my itunes account but when making a purcahse it is asking for my credit card info.  I don't want it charged to my credit card, I want to use my account credit.  How can I do this?

    Hello, Lynne. 
    Thank you for visiting Apple Support Communities. 
    Here is a helpful article that explains how iTunes purchases are billed. 
    iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    When using iTunes to purchase content for the first time on a new device, it may require you to verify your payment information as a way to authenticate your device.  If this not a new device attempting to access iTunes store and prompting you provide payment information, there could be an outstanding balance.  This article will show you how to verify you purchase history and invoices. 
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/HT2727
    Also, you can change the payment method as none as long as there isn't an outstanding balance on the account.
    iTunes Store: Changing account information
    http://support.apple.com/kb/ht1918
    Hope this helps,
    Jason H. 

  • I just bought a new IMac. I have photoshop elements installed on my old IMac and would like to move it to the new one. How can i do this?

    I just bought a new IMac. I have photoshop elements installed on my old IMac and would like to move it to the new one. How can i do this?

    Unfortunately, adobe doesn't have photoshop elements 6 available for download, as far as i know, so your best bet is to either get an usb dvd drive or use an computer with a dvd drive and copy the contents of the pse 6 dvd to somethiing like
    a flash drive and then copy the contents from that drive to your new computer.
    Do you still have your older mac and it has a dvd drive?
    You can share files between the two using airdrop or an ethernet cable.
    http://support.apple.com/en-is/HT203106
    http://support.apple.com/kb/PH18722
    http://support.apple.com/kb/PH14409

  • I have my ipod nano 5th generation and when i plugged it to my computer it is recognized but i cant do anything. On the ipod all i can see is a black screen with the apple sign! How can i fix this?

    I have my ipod nano 5th generation and when i plugged to my computer it is recognized but i cant do anything. On the ipod all i can see is a blackscreen with the apple sign! How can i fix this?

    Howdy Lumagofe,
    I was thinking that you may need to reset the iPod Nano, outlined here How to reset iPod http://support.apple.com/kb/ht1320.
    Press and hold the Sleep/Wake button and Volume Down button simultaneously for at least eight seconds or until the Apple logo appears. You may need to repeat this step.
    If the above step did not work, try connecting iPod to a power adapter and plug the power adapter into an electrical outlet, or connect iPod to your computer. Make sure the computer is turned on and isn't set to go to sleep. Try resetting the iPod while it is connected to power.
    If that doesn't quite get the iPod going again, then it will need to be restored. Use this article to help with that Restoring iPod to factory settings http://support.apple.com/kb/ht1339.
    All the very best,
    Sterling

  • My iPad Air will not recognize my newest Apple ID e-mail address for cloud access. It continually reverts back to an old e-mail address that I no longer have access to and don't remember the PW for. How can I fix this?

    My iPad Air will not recognize my newest Apple ID e-mail address for cloud access. It continually reverts back to an old e-mail address that I no longer have access to and don't remember the PW for. How can I fix this?

    Didn't work but thx
    Mark Flohr
    [email protected]
    949-636-3069

  • I have an old imac G3 desk top computer that I would like to donate.  I need to clean up the hard drive.  How do I do this?

    I have an old imac G3 desk top computer that I would like to donate.  I need to clean up the hard drive.  HOw do I do this?

    If you have a Mac OS 8.x or 9.x CD (depending on the iMac model), look for a Drive Setup utility somewhere on that disc. Boot from the CD while holding down the C key. Initialise the hard disk with a 'Zero all data' option chosen.
    Jan

  • I purchased Adobe Illustrator CS2 on CD many years ago and now i have bought a new iMac computer it won't let me install from the CD's. How can i use this product on iMac ?

    I purchased Adobe Illustrator CS2 on CD many years ago and now i have bought a new iMac computer it won't let me install from the CD's. How can i use this product on iMac ?

    Because the Nano was previous synced to another comuter/iTunes library.
    See the following:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • IDVD is producing DVDs which chop the edges off my video.  I have tried changing the aspect ratio between 4:3 and 16:9 but it hasn't helped.  My TV is definitely on the correct settings.  How can I solve this?

    iDVD is producing DVDs which chop the edges off my video.  I have tried changing the aspect ratio between 4:3 and 16:9 but it hasn't helped.  My TV is definitely on the correct settings.  How can I solve this?

    One way to to put the videos into an iDVD slideshow
    and set iDVD's Slideshow preferences to always scale slides to TV Safe Area. 
    However, some users have reported that the audio quality using this method is lessened.  I've not noticed it but then I don't have a good ear when it comes to that sort of thing. If you add more than one video in the same slideshow do not select any transition.
    OT

  • Ps cs6 on mac. since installing yosemite, when working on an image if i want to change tool, via shortcut of wacom pen click, i now have to click on the image title bar, how can i fix this please?

    ps cs6 on mac. since installing yosemite, when working on an image if i want to change tool, via shortcut or wacom pen click, i now have to click on the image title bar, how can i fix this ?

    @Naiks, having suffered through unsuccessful synching attempts for Calendar and Contacts myself, l would suggest you try the following:
    UNINSTALL iCloud control panel from your PC. Seems silly, but do it.
    Go into Outlook, and look at the very top menu. Click FILE, then ACCOUNT SETTINGS, then click the popup box.
    You will see a list of all your email accounts. Make sure that ONE of them has a checkmark against it. If not, select the account your want as your default, and click "set as default.
    Exit out of Outlook and reboot your machine.
    Now reinstall iCloud, check CALENDAR and CONTACTS, and do as instructed when prompted.
    Reboot for good luck and now launch OUTLOOK. All that remains is to locate your iCloud Contacts and Calendar files, and make them your default.
    IMPORTANT: Don't panic if you can't find your contacts -- they're there. Click CONTACTS and you'll see you have several available contact files. Locate the one label "iCloud" in grey type. Right-click on it, select PROPERTIES, then click the Outlook Address Book tab. Check the box that says something like "Make this my default Outlook Address Book." Keep clicking "apply" and "okay" until you've exited out of the dialog box maze.
    You may have to do something similar with your Calendar files. I dd not, but if you need to, do it.
    Everything should now sync pretty seamlessly.
    I didn't have the exact same problem as you, but my dilemma was close enough. Good luck!
    Arthur P. Johnson

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

Maybe you are looking for

  • How to get return value from java and read by other application?

    i want to read return value from java and the other application read it. for example: public class test_return {     test_return(){     public int check(){         return 1;     public static void main(String args[]){        new test_return().check()

  • Install and time machine

    When I restarted my computer last week I lost much - two user accounts, my email, my photos and pretty well everything I had added to the orginal iMac. I took it to the apple store and they used Time machine from my back up hard drive to my computer

  • Cancel apps

    I my 4 year old Dauther purchase a 99$ apps yesterday whitout my permission. how can i cancel the order

  • Screen getting skuffed up

    I got a white Nano the day they came out and I love it. But the little screen is getting so scratched up that I'm afraid in a year or so it will be blurry. I don't have anything else in my front left pocket where I keep it, except the ear buds. I did

  • Rubber bottom of my macbook

    I use my Macbook a lot...I'm in college and it's my only computer so you can imagine how much I use it. The rubber bottom seems to be coming off. I'm wondering if it is possibly just the heat that is getting to it so it warped it? I'm not sure. Is th