Is it possible to toggle the “Enable/Disable this receiver” checkbox with another data source, like a button from a Control Surface?

I want to click a button in my Control Surface that enables these two presets to be controlled by some midi that i receive, and when the button is off, these presets to not get triggered by said midi.
Thanks!
1 Like
Hey!
Those toggles can’t be directly set by a data-source in that way.
A workaround for this would be to use a Control Surface plugin with eg a slider that has two of its own presets (one receiving from MIDI, one with no receivers), and then you can use data-sources (MIDI or otherwise) to switch between those states.

Hope that makes sense!
2 Likes
Not OP but thanks Dave, this is a useful solution to problems I can’t remember and have yet to conjure up. There truly does always seem to be a way to get things done in VDMX
2 Likes
I’ve been using two instances of the same fx. One instance with a slider receiving from one controller, and the other one’s slider from another controller. And then alternating the two fx on/off.
I came here to check if there’s a neater way to do it, and I guess there is!
Thanks!
1 Like
I got a preset solution to work, but I made the presets in the control surface for the slider rather than for the slider itself. I’m new to VDMX, so I’d like to know what I’m doing wrong:
I can’t switch between the slider presets at all, even if I click on the UI-buttons with my mouse, both remain active. Windows look like Dave’s above. What am I missing?
Also, is there a way to make it into a binary toggle, using only one button? I’ve only gotten it to work by using two buttons to ‘switch’ between the two presets. A one button toggle would save precious hardware buttons. 
Thanks!
Posting photos here might help us to understand what you are looking at.
As for a single button, did you try adding a multi-button and setting it in the UI options so only one can be pushed at a time?
Apologies for late reply!
As I was making the screenshots I realized that I had misunderstood how presets for UI-items work. So, yeah, screenshots have already been helpful 
What I understand now is that UI-item presets are for assigning preset values to that preset. Makes perfect sense ofc, but then a switch for assigning various inputs should actually be done in the Ctl. Surface’s presets, no?
Screenshots:

The above works – I use a hardware controller with buttons assigned to Ctl Surface preset 1 and 2. In surface preset 1, the slider takes input from a hardware slider and in surface preset 2 it takes its input from audio analysis.

In the above, the slider UI-item has two presets with hardware buttons assigned to them. These switch between two preset values of that slider.
Not sure if an input switch like this actually can be done in the slider’s (UI-item’s) presets? Anyway – ctl surface presets seems like the right place for it, works for me!
On a side note I noticed that UI-item presets both stay green even with one of them selected. Might be because it’s not a ‘hard’ preset - the slider may get its value from other sources as well so a ‘red’ preset could be confusing?
I’ll play around with your multi-button binary-switch idea, but I’ll start another topic about that if I run into problems!
Cheers!
Got a ‘one-button toggle’ for switching between two presets to work! Continuing this thread in case anyone is looking for the same thing. It took a lot of trial and error, and It’d be interesting to know if anyone got other solutions to work.
Best solution, hardware MIDI button:

The best solution for me is to assign a hardware MIDI button to control Navigation Up (or down) for the Control Surface’s presets. This cycles through the presets, so could have more than two also. Also learned that there is a Navigation tab, overlooked it for quite some time.
Another way that works is by making two workspace presets, and a button to switch between them. But I’d be sure to mess that up if I need workspace presets for other purposes later on.
So, problem solved for me at least. Hope it helps someone needing this. Could be future me. ;)
Cheers!