Simplify VI that is recording a rate but is currently using too many shift registers

I have a VI that was made by the director of scary movie, so beware, this VI is a nightmare!...or at least to me it is.
Background:
I have 20 pans and I have a water level sensor that outputs a voltage from 0-5 Volts. By knowing the volume of the pans, I calibrated the output to be in gallons. The real output I need is a volumetric flux, which is gallons per minute per square foot. We are currently achiving this by using a VI that a summer intern made (See attached). It works well, but it is just so messy and hard to clean up and expand. The plan is to have 100 pans total and I don't want to copy paste this code 5 more times!
Questions:
-How can I collect a rate  differently? If you notice on the calibration subvi attachement, the rate is calculated manually knowing how fast the loop is going in the main VI. I don't know if this is the best way
-Can I get rid of the shift registers some how?
-Is there a way for me to combine the  calibration subVIs so that I don't have to have one subvi for each channel?
Thanks in advanced! 
Solved!
Go to Solution.
Attachments:
calibration subvi.JPG ‏29 KB
Shift register mess.JPG ‏79 KB

Hi all,
I will attach the actual code in a few minutes. There's some propietary information that I need to remove before uploading. I'll be right back
EDIT:
Ok guys, please see VI's attached. The VI that I need help with is "AWC - Commercial Main VI - Rev0" and the messy part it's towards the bottom.
I have been cleaning up this VIs and making subVIs for a few months now (time on and off) but I can't seem to get a grasp on how to minimize the big shift register mess.
Maybe some background on myself might help? I'm a ME but I have been using LabView for easy project for the last 2 years. I took Core 1,2,3 class of LabView so I guess I know enought to be dangerous and to get myseld into trouble. I don't practice as much as I would like to and that's probably why I'm stuck with this big mess.
I will also accept any other tips that anybody has offer in any other part of the VI. I can also clarify any parts of the VI if that helps.
Thanks,
Pepi
Attachments:
NI Help.zip ‏366 KB

Similar Messages

  • I tried using the Voice Memos iPhone app and ended up with a red banner on top of the screen that flashes "recording 00.00" but I can't locate what I thought I was recording.  can you help me?

    I tried using the Voice Memos iPhone app and ended up with a red banner on top of the screen that flashes "recording 00.00" but I can't locate what I thought I was recording.  can you help me?
    jacknil

    I found an answer to this on another page (I was having the same problem) This worked for me:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    more here: https://discussions.apple.com/thread/5596831

  • I am use iphone 3gs. I have use wifi internet that time it work ok, but when i use sim internet then my phone is shut off

    I am use iphone 3gs. I have use wifi internet that time it work ok, but when i use sim internet then my phone is shut off

    reset phone, reset network setting, get new sim, and restore as new

  • Tried to download past purchased music but tried to do too many at one time now frozen help fix

    Tried to download past purchased music but tried to do too many at one time please help fix asap!

    If you had given us sensible information, I could look it up for you if your efforts fail.
    Right now, I don't even know if you are on a Mac or on a Windows box.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • HT3702 I tried to buy an app but it will not take my card information it said I used too many cards. What do I do to purchase an app.

    I tried to purchase an app. But they would not except my card. They said I had used too many cards. What do I do to purchase apps.

    Hello there, Amy@186.
    The following Knowledge Base article provides some good information on how to proceed:
    iTunes Store: Changing your payment information
    http://support.apple.com/kb/HT1918
    Particularly:
    Get help
    If you need help changing your payment information, contact iTunes Store support.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • TS3988 trying to get a icloud account but it keeps saying too many free accounts on my phone, how do i delete icloud accounts?

    hi how do i delete icloud account from my iphone 4 as i want my own account but its just telling me there is too many free accounts registered to my phone

    You can set up a maximum of 3 accounts with any device.  After that all you can do is either re-use one of the accounts already created or set up a new one using another iOS device or Mac running OS X 10.7.4 or later, if you have one.  (You can't delete iCloud accounts.)

  • I want to buy the Creative Cloud Photography plan that includes Photoshop and Lightroom but I currently have a plan $9.99 a month that includes only Photoshop CC. How do I switch plans?

    If you're already on an installment plan for $9.95 per month that includes only Photoshop CC, how do switch plans to obtain the combination Photoshop and Lightroom plans for the same price?
    Thanks,
    Dennis

    Cancel old and buy new is the only way I know, but you MAY be able to exchange
    Return, cancel, or exchange an Adobe order

  • How do I set up family sharing when one family member doesn't have an apple id but is currently using mine?

    I am trying to set up family sharing for my wife and me. I have a Macbook pro (running OS X Yosemite 10.10.1) and an iPhone 6. My wife has an iPad 2 and an iPhone 4s. All software is up to date. Currently we have one Apple ID which has both of our email addresses. Do I need to delete one of the email addresses and open up a new apple account with that email address? Will we lose anything if we do that?

    Hi jas717,
    Welcome to the Apple Support Communities!
    Because there are only two of you, the solution that I may recommend for sharing content would be to use one Apple ID (the one you already have) for iTunes and App Store purchases between both of you. This will allow the both of you have access to the same purchased content. If you would like to have different Contacts, Calendars, etc., you can create a second Apple ID for use with iCloud. This will allow you both to have separate iCloud information but still have access to all purchased content from iTunes and the App Store.
    Set up your Apple ID for iCloud and iTunes - Apple Support
    Use one Apple ID for iCloud and a different Apple ID for Store purchases
    You can use different Apple IDs for iCloud and Store purchases and still get all of the benefits of iCloud.
    iPhone, iPad, or iPod touch
    When you first set up your device with iOS 5 or later, enter the Apple ID you want to use with iCloud. If you skipped the setup assistant, sign in to Settings > iCloud and enter the Apple ID you’d like to use with iCloud.
    In Settings > iTunes and App Stores, sign in with the Apple ID you want to use for Store purchases. You might need to sign out first to change the Apple ID.
    If I have misunderstood the situation or you are still curious about Family Sharing, please refer to the attached article for information on how to set up and use Family Sharing.
    Start or join a family group using Family Sharing - Apple Support
    Have a great day,
    Joe

  • An APP that points to the tower you are currently using

    1/5/2012
    All,
    Here is a really nifty or shall I say really cool or maybe helpful APP.  See attached screen shot.
    We were in Catalina State park in Tucson, AZ in our Motorhome and another motorhomer told me about this Android APP.  It is called OpenSignalMaps. 
    This APP will bring up a map of where you are and then show your location on the map.  Then it will "take its time" finding the cell tower to which you are currently connected and draw a red colored line between your location and the tower.
    All the local streets are shown on the map.  It seems to work best if all 3 of your GPS's are ON but it also did work well when I turned OFF the Verizon GPS  leaving only the other two ON.
    With the rather weak Verizon 3G only signal at Catalina State park it took about 5-9 minutes to find everything and draw the red line. 
    OTOH, when I drove through Tucson with it's stronger Verizon 3G/4G signal it found the first tower in about 2 minutes and as we were driving I watched it change to a different tower three times.  The red lind just jumps in a new direction...cool.  You can move the map around to see both ends of the red line it you uncheck "Turn OFF auto cenetring"  because if you don't it will keep centering on your location.
    Be patient it is a bit slow but you won't use it that often; although, it might be nice to confirm which tower you use at your home, business location, or ???.
    When I arrived home I just started it, set the phone down, went to the kitchen to get a cup of coffee, and about 5 or so minutes later it had found the tower.
    It also shows the RSSI (name of the tower).
    It's free so if it's to slow for you just uninstall it. 
    JerryF

    If your location on the map is off press the MENU button (lower left corner of your phone).  Then when the next screen appears Touch "my location" and it will move the your blue colored location ICON to your current location.
    Also, you can touch the tower ICON to see the tower's SSID, SID, and Received signal strength.  WIKI has good definitions for these acronyms.  If you go to CELLS (top of screen) you can also see the RSSI and the overview shows the signal strength in %.
    JerryF

  • I do not have a backup from Mavericks, but Yosemite is causing too many problems. In LAYMAN'S terms, is there a way to get Mavericks back without losing all my files?

    I updated to Yosemite while I was overseas and didn't have strong enough internet to do a Time Machine backup (it took hours to get Yosemite as it was and now I know that was dumb). Yosemite has made my older Mac almost un-usable. In LAYMAN'S terms, Is there a way I can go back to Mavericks or even an older system without losing my current files? I know nothing about computers and have not been able to find anyone in town that could help. Even the guy at the Genius Bar at Apple couldn't figure out how to help me. This whole Yosemite debacle has been the first time I've been disappointed in Apple. It has gotten me questioning whether I should go back to a PC.

    This is the report. Thanks in advance for any help you can give!
    EtreCheck version: 2.1.8 (121)
    Report generated March 16, 2015 at 7:48:53 PM CDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Click the [Adware! - Remove] links for help removing adware.
    Hardware Information: ℹ️
        MacBook (13-inch, Late 2009) (Technical Specifications)
        MacBook - model: MacBook6,1
        1 2.26 GHz Intel Core 2 Duo CPU: 2-core
        2 GB RAM Upgradeable
            BANK 0/DIMM0
                1 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                1 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Replace Soon - Cycle count 1081
    Video Information: ℹ️
        NVIDIA GeForce 9400M - VRAM: 256 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        OS X 10.10.2 (14C1510) - Time since boot: 5 days 22:13:13
    Disk Information: ℹ️
        Hitachi HTS545025B9SA02 disk0 : (250.06 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 249.20 GB (58.48 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
        Apple Inc. Built-in iSight
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Adware: ℹ️
        Geneio [Adware! - Remove]
    Kernel Extensions: ℹ️
            /Library/Extensions
        [loaded]    com.globaldelight.driver.BoomDevice (1.3 - SDK 10.9) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.ZTE.driver.ModemDriverMac (1.0.2d1) [Click for support]
        [not loaded]    com.ZTE.driver.ModemDriverMacEx (1.0.6d1) [Click for support]
        [not loaded]    com.driver.JRDMassStorageDriver32 (1.0.1) [Click for support]
        [not loaded]    com.driver.JRDMassStorageDriver64 (1.0.1) [Click for support]
        [not loaded]    com.driver.JRDUSBModemData32 (1.0.1) [Click for support]
        [not loaded]    com.driver.JRDUSBModemData64 (4.0.8) [Click for support]
        [not loaded]    com.jrdcom.driver.JRDECMControlDriver32 (1) [Click for support]
        [not loaded]    com.jrdcom.driver.JRDECMControlDriver64 (1) [Click for support]
        [not loaded]    com.jrdcom.driver.JRDECMDataDriver32 (1) [Click for support]
        [not loaded]    com.jrdcom.driver.JRDECMDataDriver64 (1) [Click for support]
        [not loaded]    com.jrdcom.driver.JRDUSBCDC32 (1) [Click for support]
        [not loaded]    com.jrdcom.driver.JRDUSBCDC64 (1) [Click for support]
        [not loaded]    com.wdc.driver.1394.64.10.9 (1.0.1 - SDK 10.9) [Click for support]
        [not loaded]    com.wdc.driver.USB.64.10.9 (1.0.1 - SDK 10.9) [Click for support]
    Startup Items: ℹ️
        HWNetMgr: Path: /Library/StartupItems/HWNetMgr
        HWPortDetect: Path: /Library/StartupItems/HWPortDetect
        Startup items are obsolete in OS X Yosemite
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.icloud.fmfd.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.printtool.agent.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        14 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.periodic-daily.plist
        [killed]    com.apple.periodic-monthly.plist
        [killed]    com.apple.periodic-weekly.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.tccd.system.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        15 processes killed due to memory pressure
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
    User Launch Agents: ℹ️
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
        [loaded]    com.genieo.completer.download.plist [Adware! - Remove]
        [running]    com.genieo.completer.update.plist [Adware! - Remove]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.spotify.webhelper.plist [Click for support]
        [failed]    com.yourcompany.uninstall.plist [Click for support] [Click for details]
        [failed]    com.zeobit.MacKeeper.Helper.plist [Click for support]
    User Login Items: ℹ️
        None
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        Default Browser: Version: 600 - SDK 10.10
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
        Silverlight: Version: 5.1.30317.0 - SDK 10.6 [Click for support]
        iPhotoPhotocast: Version: 7.0
    User internet Plug-ins: ℹ️
        fbplugin_1_0_1: Version: Unknown [Click for support]
        fbplugin_1_0_3: Version: Unknown [Click for support]
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            Macintosh HD: Disk size: 249.20 GB Disk used: 190.72 GB
        Destinations:
            Time Machine Backups [Local]
            Total size: 319.73 GB
            Total number of backups: 2
            Oldest backup: 2015-01-06 09:34:17 +0000
            Last backup: 2015-03-07 05:59:25 +0000
            Size of backup disk: Too small
                Backup size 319.73 GB < (Disk used 190.72 GB X 3)
    Top Processes by CPU: ℹ️
             7%    WindowServer
             1%    Google Chrome
             0%    Mail
             0%    nbagent
    Top Processes by Memory: ℹ️
        79 MB    Google Chrome
        39 MB    WindowServer
        34 MB    Google Chrome Helper
        21 MB    Mail
        19 MB    System Events
    Virtual Memory Information: ℹ️
        53 MB    Free RAM
        369 MB    Active RAM
        342 MB    Inactive RAM
        509 MB    Wired RAM
        47.14 GB    Page-ins
        1.29 GB    Page-outs
    Diagnostics Information: ℹ️
        Mar 14, 2015, 07:28:29 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/findNames_2015-03-14-192829_[r edacted].crash
        Mar 16, 2015, 12:36:53 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/findNames_2015-03-16-003653_[r edacted].crash

  • I successfully deleted a user from my MacBook through the Users and Groups window in System Preferences.  But now I cannot close the lock in the bottom left corner of the box.  When I click on it, I briefly see a word that I think says "reauthorizing" but

    I successfully deleted a user from my MacBook through the Users and Groups window in System Preferences.  But now I cannot close the lock in the bottom left corner of the box.  When I click on it, I briefly see a word that I think says "reauthorizing" but the word flashes too quickly to tell for sure.

    If you are admin.
    Try restarting your Mac.

  • Too Many Activations - But I only have it on one computer!

    I have Photoshop CS3 installed on my home PC and am currently trying to install it on my new laptop while I am away for two months in the States. However, it says I've used too many licenses already.
    I only have the program installed on my PC, so my laptop should make my second device, right?
    I've tried going through the Contact Us pages but it sends me in an endless loop which just brings me back here to the forums every time with no option to chat to staff at any stage, no matter what I enter.
    I start at the 'Give us more information' page, go via photoshop, installing and activation, too many licenses, etc. I follow it to the 'cannot deactivate' page, which says 'click here to contact us'... and that takes me back to the 'Give us more information' page, over and over.
    Please help! I can't get by without Photoshop while I'm away.

    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • I am attempting to download Lightroom on my PC. I receive the message "running an operating system that Lightroom no longer supports " I currently use Windows VISTA 64 bit. Help

    I am attempting to download LIGHTROOM on my PC. I receive the message "running an operating system that LIGHTROOM no longer supports". I currently use Windows VISTA 64 bit. Need Heip. Suggestions?

    Hi William. Unfortunately, Vista is not a supported OS for Lightroom 5 or Lightroom 6. You'll need Windows 7 or later. See here:  System requirements

  • I have a new (mid) 2011 imac and want to transfer my old records to itunes but i dont know what usb turntable would be best for a new mac that would have compatible software for ripping to itunes?

    i have a mid 2011 i5 imac and i want to transfer my vinyl records to itunes but i dont know what usb turntable would be best for my imac that has compatible software for transfer to itunes

    Hallo,
    I use an Akai usb turntable with the Audacity sw delivered with it. To monitor during recording I also use the LineIn utility (all this on a Macbook Pro with Mavericks).
    It works fine, only the input volume of the usb audio port cannot be adjusted (at least I did not yet discover how to do it) and the volume of the music is lower than other music imported into iTunes from CD or iTunes store, but still acceptable.
    Success, Jean

  • I am currently using an ipod touch 3. When i record in voice memos with the apple earphones(with an inbuilt mic) i can see on the screen that its recording; but when i hear it, its just a long beep. Need some help!

    I am currently using an ipod touch 3. When i record in voice memos with the apple earphones(with an inbuilt mic) i can see on the screen that its recording;
    but when i hear it, its just a long beep. Need some help!

    Does the mic work for other apps like Voice Control?
    Does the mic work OK in other devices?
    Have you tried it with another mic?
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

Maybe you are looking for

  • CRM 7.0 Change Layout in Pop-Up's

    Hi Guru's, i want to change the layout of a pop-up window. That is the "normal" way to change layouts: Open the Object what i want to change (in web ui), click with the mouse on the configuration-button. The technical details displayed, also the comp

  • Filter Dataset based on a boolean value

    Hi, I have implemented a multivalued filter in SSRS,which works fine . Now I am trying to set up a second filter such that based on a boolean condition i would like to filter the dataset based on  a series of values. The boolean parameter is accompli

  • Asio Driver issue in Premiere Pro CC conflicting with all other media players on PC

    Whenever I have Premiere or audition or After effects opened---- should I want to play a media clip on J River Media center, or Windows Media Player, the Asio driver is locked by the Adobe products, so the other media players do not have access to it

  • Acrobat 9 questions

    Before I upgrade to version 9 I would like answers to a few questions. Have there been any installation problems with an OS of Windows XP SP3? Are there any specific installation instructions to installing this software? Such as uninstall version 7 o

  • Bridge CS5 not recognizing xmp files created on CS6?

    An employee of mine edited several shoots, using her own computer.  She has CC and used Camera RAW.  I still use CS5 and am trying to process the files she edited (I have the RAW and the xmp files).  Typically, I process these through Bridge.  Howeve