01-11-2006 05:10 AM
01-11-2006 05:24 AM
Hi Rene,
You said- "all elements between 2 and 5 should replace to zero"
If this is what you want to achieve, this attached Vi will do the job
Regards
Dev
01-11-2006 05:34 AM
01-11-2006 05:53 AM
01-11-2006 06:09 AM
Ok Rene,
Look at this attached VI ![]()
Regards
Dev
01-11-2006 09:53 AM - edited 01-11-2006 09:53 AM

Note to Devchander:
You can configure the "In Range and Coerce" finction to either exclude or include the limits. This is done by right-clicking on their respecive terminal. Try it! 😉 The terminal will be either a solid or open diamond, depending on configuration.
Message Edited by altenbach on 01-11-2006 07:59 AM
01-11-2006 10:36 PM
Oh cool!
Thanks for the note, Altenbach!
That is a neat way to convert 'in range?' boolean array to(0 ,1) and multiply it with original array to make the elements zero.
Also plz have a look at my previous post to replace 2 individual elements and not all values between them.
Can u suggest a more efficient method?
Regards
Dev
01-11-2006 11:51 PM - edited 01-11-2006 11:51 PM
Message Edited by altenbach on 01-11-2006 09:51 PM
01-16-2006 08:20 AM
Thanks all for the great support.....
Kind regards,
Rene![]()
01-19-2006 12:46 PM