09-21-2017 04:17 AM - edited 09-21-2017 04:26 AM
Hello all,
I'm developing a live audio processing system and currently struggling with the fact that when i switch my input device (from a DAQ Assist input with a encoder to a numeric control on the interface), the numeric value is not stored. So when the user uses the encoder to set a value (f.ex. the volume) and then wants to change the input to the virtual numeric control, a default value is being set.
I did some research but didn't find any solution.
Find a simple example VI in attachment, I visualized the problem with a numeric indicator and replaced the DAQ Assist with another numeric control. See when pressing the boolean switch.
If anything isn't pointed out well or understandable, feel free to ask.
Thank you in advance!
Best regards,
Konstantin Koehler
Solved! Go to Solution.
09-21-2017 04:22 AM
Hi,
Can you send version 2015 of your exemple ?
09-21-2017 04:27 AM
Hey,
thanks for information
Added it to the main in '15 and '12.
09-21-2017 04:49 AM
Ok,
What fonctionality do you expert when you click on the bouton ?
Kudos are welcome
09-21-2017 06:03 AM
I expect the input to change from the one numeric control to the other, while saving the result. I didn't find a good solution using shift registers.
09-21-2017 06:55 AM
What do you mean by "saving the result"? Your VI example is simple enough, but doesn't seem to "save" anything. When I click your button, it changes from the one numeric input value to the other.
You say you were trying to use shift registers but it didn't do what you wanted. Perhaps you should attach your attempt at shift registers.
09-21-2017 07:04 AM
Hi,
by "saving", I mean that the value I create with one control (for example the numeric) is stored and can be edited with the other control (the virtual DAQ).
Normally, the value (represented in the indicator) is only dependent from one control. And if i switch the control, the value is lost and will be replaced by the one the other control contains, right?
My Question is: Is there a way to "store" the value created with one control and just edit this value with the other? So that there is the possibility to change the controls while remaining on the value.
Maybe this is too easy and I'm just missing the right operator or function, I'm not sure, but I'm a bit stuck.
Thanks for your help.
09-21-2017 07:35 AM
Hi
I could be completely wrong. But is this the behaviour you want?
Best regards
09-21-2017 07:46 AM
Thank you crabman!
This is not 100% what I meant, but it helped me solved my problem! Thanks again.