08-28-2005 01:55 AM
OK, you're right, sorry. You can give as many single stars as you like to that one.
I wasn't near a computer with LV at that moment and I did that from memory. I was sure for some reason this was so. Probably had something to do with the fact that when you create pages the following pages are empty. ![]()
Maybe it's time I take a vacation as well... ![]()
And can you get rid of that horrendous yellow?
08-28-2005 02:12 AM
Ah-Ah, so you are prone to error ? Or may be the fact that you have difficulties with 3D objects means that you are from the other sex ?
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
08-28-2005 02:13 AM
08-28-2005 02:26 AM
08-30-2005 02:22 AM
08-30-2005 11:10 AM
Okay, I just heard back from R&D that this behavior is
known and expected. There is even a KnowledgeBase describing the behavior:
Why
Does the Decimate 1D Array Function Drop the Last Element from Some of the
Output Arrays in LabV...
However, since this behavior DOES cause some confusion, I
will create a product suggestion for supporting different size decimated
arrays. I will also submit a suggestion to add documentation about this
behavior for the function as long as it still has the current behavior.
Thanks y'all for helping with the feedback!
10-21-2005 07:23 PM
Sorry for the late reply- I haven't had time for this message board for a few months.
Phillip, I think suggesting a change to this behavior would be great. I get the need to make both outputs the same number of elements, but any behavior that causes you to LOSE data seems like a bug to me, even if it is "known and expected". Better to have extra zeroes to play with than lose your valuable real data in this function.![]()
10-25-2005 12:42 AM - edited 10-25-2005 12:42 AM
Message Edited by Philip C. on 10-25-2005 12:42 AM
08-16-2006 10:26 PM
This was reported to R&D (# 3OT0Q8SG), but was determined to be expected behavior as explained in the KB linked to above by Philip. Also, this behavior is consistent with the Interleave Array function, which stops when the smallest input array is completely consumed. However, if you feel strongly about this, I encourage you to create a product suggestion and describe in detail why the current behavior should be different.
As for better documentation on this function... This was reported to R&D (# 2TGDGR0Q).
I hope this helps,
08-16-2006 10:45 PM
@altenbach wrote:
Actually, I think that this is as expected. I you don't like the behaviour, you can simply reshape (=pad) the array to the next higher integer multiple of the desired decimation factor before decimation. 😉
However, there is a bug in the documentation:The online help states that the input "...array can be a 1D array of any type, except Boolean."This is no longer true, boolean input arrays work just fine! 🙂(This must have been a leftover statement from LabVIEW 4.x, where boolean arrays wre stored differently)While we're at it, the documentation should probably mention that the decimation can cause truncation if the input array is not divisible by the decimation factor.