I am trying to create an ILLogical array that selects data between upper and lower limits like this:
ILLogical ix = a > limit[0] & a < limit[1]
where a and limit are ILArray< double >. I get an ILArgumentException about "Nonscalar logical to bool conversion" asking me to see ILSettings.LogicalArrayToBoolConversion. Changing the '&' to '&&' doesn't help. Is there no way to set up a compound test resulting in an ILLogical? What are my alternatives?