06-24-2014 04:55 PM
I want to condition my data using signal express. if x<0 then x=0. I would like to make the limit (0) a user specified value. Can I do the in SE, or is there a labview VI that I can use?
06-24-2014 09:18 PM
I do not know anything about SE but in LabVIEW that can be done with the In Range and Coerce function. Set the lower limit to zero and the upper limit to +inf.
Lynn
07-18-2014 06:22 AM - edited 07-18-2014 06:23 AM
or create a boolean array b=x>0, convert to 0,1 and multiply your data x*b ...
07-18-2014 12:04 PM
Thanks for the input. As far as I know I can't do any sogical functions such as (>,<, etc) in signal express. Your comments did however give me an idea that worked. I used the analog-to-digital function, then the digital-to-analog function and arithmatic to accomplish the same thing. It is a pretty convoluted method, but is equivalent to what you suggested. It is awkward.
Thanks for your help. Bob
07-19-2014 11:17 AM