Why does the divide operator give me different results in different VIs?

Hi all,
I'm quite the LabVIEW newbie, so please forgive me if this is elementary.  I have a signal I am acquiring.  The signal is fairly low amplitude (.01 - 0.1 V).  On each acquisition, I divide the values in the sample set by another small number (0.047) using the divide operator.  I am seeing inconsistent results and I'm puzzled as to why.
In ex1, which I built from scratch for this post, everything works as expected.  I can confirm with the debugger that each reading in the sample set is properly divided and the mean, max, and waveform graph look as I'd expect.
When I use a similar construct in my real application, however, the division often results in INF, and when I look with the debugger I see post-divide values in the signal that...just don't make sense to me (ex2).
I figured I must be missing something in the real application related to splitting up and merging multiple signals, so I tore out everything unrelated to the division (ex3).  Although this code looks a lot like the properly-functioning ex1, the division still produces INFs and strange results.
All three examples are acquiring the same signal.  My best guess at this point is that the built-from-scratch example is coercing the double passed to the divide operator "the right way" and that the malfunctioning examples are coercing the double in a different, incorrect way.  I've tried removing and recreating the signal path in the malfunctioning examples to no avail.  My problem is that I don't know enough about LabVIEW data types to know how to force the proper coercion.
Can anyone point me in the right direction for a solution?  I would greatly appreciate some help.
Solved!
Go to Solution.
Attachments:
ex1.png ‏8 KB
ex2.png ‏15 KB
ex3.png ‏10 KB

I may be getting old, and my eyesight isn't as good as it can be, but I can clearly see that in example 2 and 3 you are not dividing by 0.047. So example 2 and 3 are not the same operation as example 1. The outputs of example 2 and 3 are completely dependent on the signals you are getting. Have you actually looked at those? You are using dynamic data which regulars such as myself absolutely detest. Be that as it may, you should look at the values you are feeding into the operation. I don't understand what you mean by "I see post-divide values in the signal".

Similar Messages

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Why does the erase option need a different passcode?

    Hi guys!
    I'm preparing to sell my iPhone 3GS and I want to wipe the whole thing before I do.
    I selected the "erase all contents and settings" option and typed in the passcode and got an error, so I tried again and got another error.
    Why the passcode didn't work was beyond me as I've been using the passcode lock for a while. So, just out of curiosity, I tried activating the passcode lock and all was fine.
    So my question is, if the passcode works for the lock, why isn't it working for the "erase all contents and settings" option?
    At this stage, I'm guessing the two features are using a different passcode. But the problem is, I have no idea what this latter passcode is, nor have I ever known.
    I keep complete records for everything I buy, their settings and every service I use, and I have no record of any separate passcode.
    Any ideas how I resolve this?

    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS: Understanding passcodes
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    You will have to restore the iPhone.

  • Why does the local dimming system work differently in different picture modes on the w950b?

    Basically I was wondering why the local dimming is much more effective in the cinema mode than in other picture modes like game mode. For example, using the Disney World of Wonder advanced brightness test pattern, the blacks were very nice and dark with full clarity and detail of the test stars with local dimming turned on while in the game mode, all the local dimming seemed to do was get rid of some clouding but left the blacks looking greyish and hazy which obscured the clarity of the test stars. This is my first Sony tv and I really like the general picture quality but I've had tvs from other brands with local dimming that worked the same in all picture modes but the sony is the only tv where there is such a radical difference in how the local dimming is implemented in different picture modes and I was wondering why that is the case.

    On the Home screen, double-tap with three fingers to exit zoom.
    Then go to Settings > General > Accessibility and make sure Zoom is turned Off.
    http://support.apple.com/kb/ts3129

  • Lightroom 5 already installed, so why does the CC updater give me the option to "Install"?  Seems it doesn't know I have it installed.

    Any suggestions?
    Thanks

    Thanks for the reply.  Okay, I'm going to take a risk and install it from the CC updater.  I checked the installed version I have and it's 5.0.  Not 5.5.  I installed 5.0 originally from the CC updater app so still not sure why it doesn't seem to know I have 5.0 installed already.  Every other CC app (photoshop, illustrator, premier pro, etc.) just lets me know when there is an update available.
    Anyway, I am installing 5.5 now from the updater so hopefully this will update the existing 5.0 that I have installed rather than install a separate 5.5 (meaning I now have 2 different versions of Lightroom on my mac).  And hopefully my catalog will be available and intact. 
    Will let you know.
    Thanks,
    Sam

  • Why does the library module looks so different from develop

    Ok, so the library module on my lightroom 4.4 does not match my develop module. Especially in the noise reduction department. It's like I haven't even made any changes and yes I zoomed to 1: 1 to check the differences between the two and they are still there.
    Also when I export it looks like the library module's version of the photograph, washed out and filled with noise.
    Is this a glitch? What the heck is going on? This just started doing this to me today.

    Please let me know how to adjust the master volume.  I am having the same problem with my Garageband '09 (version 5.1) and the sound fades out after about 18 seconds when creating a ringtone.  Also, when I move the yellow bar anywhere but the beginning, the music plays but no sound at all.
    Please help!
    Thank you!
    Hendrick

  • Why does the Summary function give a datatype error when opening a data model for editing?

    I have two datasets (G1 and G2) within a data model; i've used a field in G2 and placed it into G1 as a Summary Function of G2. The datatype of this field in G2 is Integer, however if you set the Summary field in G1 to the same datatype - Integer, an error appears.

    Oracle have provided a patch.
    We are running OBIEE  at patchset  11.1.1.7.140715, Oracle have provided us with a  patch p17563277  backported to the 140715 patchset.
    This fix will presumably be incorporated in later releases.

  • Why does the Harvey Balls font print differently than it displays in Acrobat?

    I used the Harvey Balls font (harvey_balls.ttf) to populate a table in a PowerPoint 2007 document. I saved the document as a PDF using the Save As - Adobe PDF function in PowerPoint. When the document displays on my screen, it looks normal. Please see below an example of two 4-balls on the left and two 3-balls on the right.
    However, when I print it from Acrobat, the solid black circles that represent "4" in the Harvey Ball font print out with a white cutout in the upper left quadrant of each. Please see below, an example of the same two 4-balls on the left and two 3-balls on the right.
    How can I get this to print properly?

    Hi Tara ,
    Please refer to the following links and see how it goes .
    https://helpx.adobe.com/acrobat/using/advanced-pdf-print-settings.html
    http://docs.oracle.com/cd/E19728-01/820-2550/printing_pdffonts.html
    Regards
    Sukrit Dhingra

  • Why is the font of text fields different from document-text

    I am using forms in my pdf.
    I am inserting Text-Fields in the pdf-form.
    I set the color and size of text as the same as the document text as calibri 9.
    1) Why is the font different between the text-field and document content eventhough both are black font of size 9 and of type calibri. The font in the text-field is more gray and blurry. It doesnt look the same as the text in the rest of the document.
    2) why do the document-text font options differ from the text-field font options.
    One has only sizes with even numbers like 8, 10, 12. The other has odd numbers also. Why does the calibri font have 2 different size ranges for the text-fields and document-text/content.

    Yes you are correct, it is with the setting of the properties.
    Where do i report this then if it is not with the SDK but the manual setting of properties.
    Also, how do i alter this ussue with the SDK, what are the commands, does it have to be done only by Javascript?

  • Why does the macbook air screen go blank in different colours intermittently?

    why does the macbook air screen go blank in different colours intermittently?

    This happens in all kinds of usage ... when typing, when browsing, when using the mouse to point and click, etc.?

  • Why does the Apple mouse drain so quickly?

    I'm not sure if this question is in the right place. I bought a iMac back in January and I've been changing the batteries like every few weeks. My question is why does the mouse drain so quickly?
    The batteries in the keyboard have been in there since I got the computer. I think I should buy a wired mouse and just plug it into the back of the iMac. I'm getting sick and tired of having to change the batteries so often.

    Hello:
    Battery drain is a function of how much the device is used (no surprise to you).  I find that my mouse batteries last less - probably because I type so slowly, I use the mouse for anything I can.
    Let me give you a suggestion based on my own experience.
    I use rechargeable batteries and a 15 minute battery charger.  I currently have a drawer full of Energizer 2450 mAh rechargeable batteries and an Energizer 15 minute charger (works for AA and AAA batteries).  Rechargeables last less time than Lithium batteries - I think the reason is different voltages (1.2 vs 1.5).  I obtained all of the batteries and the charger - new - on eBay at a very reasonable price.
    By using rechargeables, you are never without a fresh battery more than 15 minutes, and you are environmentally friendly to boot! 
    Barry

  • Using Windows 7 and LR 5  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showi

    Using Windows 7 and LR 5,  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showing pictures that do not match the query

    Dan,
    Here's what's going on in the catalog you sent me, "Joel & Caitlin's Wedding".  There is the keyword "gwenn", which is explicitly assigned to 7 pics. But keyword "schwartz" has a number of synonyms, including "gwenn", and it is assigned to 25 pics.  There is no overlap between the two sets of pics. 
    I discovered these two occurrences by doing Metadata > Export Keywords, opening the exported file in an editor, and then searching for "gwenn".  I found two occurrences of "gwenn":
    gwenn
    schwartz
        {gwenn}
    From this, you can see that the keyword "schwartz" has 9 synonyms, of which "gwenn" is one.
    The filter criterion "Keywords Contain gwenn" will match the 7 pics that are explicitly assigned the keyword "gwenn", and it will also match the 25 pics assigned the keyword "schwartz", because that keyword has a synonym "gwenn".
    This illustrates the behavior I mentioned above: The criterion "Keywords contains x" will match against any of a pic's assigned keywords, any of those keywords' ancestor keywords, and any of the synonyms of the assigned keywords and their ancestors.
    So LR is operating correctly here, if not in a way that's easy to understand. 
    It appears that you are using the synonyms of "schwartz" to represent individual members of the Schwartz family.  A better way of representing family relationships is to have a parent keyword "Schwartz", with subkeywords for each family member, e.g. "Gwenn Schwartz", "Joe Schwartz", "Jane Schwartz", etc.  Repeating the family name in the subkeywords has a couple of advantages. LR usually only displays the "leaf" name of a keyword, so instead of showing you just "Joe", it will show you "Joe Schwartz", helpful when there are a number of different people whose first name is "Joe".  Also, if you ever export your pics to other software, it may not understand the LR hierarchy and won't show the parent keywords, so again it's more informative to see a keyword named "Joe Schwartz" rather than "Joe".

  • Why Why does the voice dictation only work some applications

    Why does the voice command on my iPhone only work in certain applications

    In the end, it's up to the app's developer to add or not those features. And also why there is a ratings and review system for each submission to the App Store. If you think an app should include support for some specific iOS technology (such as Voiceover), let the developer know.
    And of course, there's another filter. Apple wants all iPhone apps to have a uniform operations look and feel. So they publish a guide to iOS Human Interface Guidelines, and expect developers to follow. They give some leeway, but if an app grossly violates them, it does not make it into the store. Here's a link to the Guidelines: https://developer.apple.com/library/ios/#documentation/UserExperience/Conceptual /MobileHIG/Introduction/Introduction.html

  • Why does the highlight feature seem not to work about 1/2 the time in various ibooks.  I'm trying to take notes and about 50 pages into a book the highlight feature stopped working.

    I've long noted that the highlight feature in ibooks is clunky and fairly limited in it's note-taking features, but the last two books I've read I've had trouble getting the highlight feature to work at all.  I click and drag over text and nothing happens.  I try with command depressed and nothing happens.  If I double click a bunch it will eventually highlight one word, but nothing more.  What gives?
    Also, not to be snarky, but why can't I seem to find a button that would read text to speach for me?  How do blind people use this service, or illiterate, or dyslexic, or people like myself who can learn far more from hearing then from reading. 
    And why does the text of a book often render so that it's haf cut off of the page?

    There is a button for speech within the iBooks menu. Edit > Speech. You might be better off buying Audiobooks. You can get them from the iTunes Store or Audible.com

  • Why does the iPad Mini not have music play count?

    I bought an iPad Mini and also have a macbook. I had listened to various music on my iPad Mini the other day, however when I connected the iPad Mini to the Macbook and iTunes via the lightning connector to sync, it synced the ratings I gave the songs I listened to on the mini, but no play count, as if I had not listened to anything. I hope there is something I can do about this as I often look at my play count!!

    Katrina UK
    It should work work but these kind of bugs pop up between updates, both hardware and software. Try closing all apps in the recently used list on the iPad. Double tap the Home button, tap and hold one of the icons at the bottom till they wiggle then tap the to close them. Tap the Home button to get back to the Home screen then hold the sleep button till you see the slide to power off message. Once it has powered down completely hold the Sleep button till the Apple icon appears.
    tomyiiii
    Re: Why does the iPad Mini not have music play count? 
    Nov 18, 2012 11:34 AM (in response to Katrina UK)
    Does it even really matter...?
    Many people including myself rely on playcounts to control smart playlist to manage large libraries. Smart playlists can be created to show your most or least played tracks and used more or less as your favorites or other uses. Along with playcounts the date is transferred so to keep a fresh list of music on my smaller iPods a smart playlist set to songs not played in the last month keeps some fresh tunes on it.
    Playcounts are also used to manage Podcasts in iTunes to delete older episode. Bookmarks, which can also be effected by this, can mess up audiobooks, movies and podcast playback between different devices. So yes, it does matter.

Maybe you are looking for