Get potId - How too?

Hiya,

Is there a way to get the potId other than the events.onPotTouch? I see a set command but not a get.

Thanks,
Brad

in what context do you need to get the potId?

I need to set the same sysex info based on what pot I use just changing the value byte in the sysex stream. The xpander pots always send the same data but will change different setting based on the page you are on. so the idea is the function what check the potId then set the correct sysex information based on that pot.

Oh im using the virtual fader as the sysex one will not pass objecte values from the sysex editor. I need to be able to pull the default and write the default value.

hope that makes sense, I learned this Lua stuff this weekend.

Brad

any suggestions?

figured a way around it. the problem with on touch is, if you accidentally hit another pot while adjusting a pot and the pot id will change.

I will look at that

well what I did was create a change bit. so the global pot id cant change until the it receive the the “no” for the control id that was intially selected.