11-09-2018 05:10 AM
We are trying to apply multiple if statements to a value of frequency, and want to display a particular string to the front panel depending on whether the frequency is in one of our 12 predetermined ranges of frequencies. Is there a way to do this without creating 12 different case structures?
Solved! Go to Solution.
11-09-2018 05:23 AM - edited 11-09-2018 05:23 AM
My recommendation is to make an array of your range limits. You can then use Threshold 1D Array to get an index value. Round the index value toward -Infinity. If you just want to show a different string, then make a corresponding array of strings and use Index Array with the found index value.