I have an audio equalizer controlled by 11 slide controls; additionally it has 23 individual presets coded in with numeric constants. Is there any way to adjust the values within each case and have them return to a case specific default once the case is switched?
Example: You switch to a low bass presets but still find it to have too much bass. I want to be able to adjust the bass lower and once I select a new case have the low bass preset reset to default values within its case.
I have attached my EQ VI along with the 11 band subvi. Any help would be greatly appreciated.
first of all: use arrays when you need to store 11 elements of related information!
It will also help you to create more readable code…
To your question:
- You should store the current set of EQ data in a shift register and display it on the FP.
- Now use an event structure to handle user interaction: when the user selects a new EQ preset you should overwrite the values in the shift register. When the user changes some values on the FP you also store those change data in the shift register.
What's the purpose of having wired a zero to "Wait for multiple"?
To be honest I just started a labview class this semester (we are actually learning about arrays tomorrow). This is a separate project I'm trying to complete in parallel with it. Thanks for the help and a point in the right direction.