Correct me if I am wrong : You want to control Guitar Rig Software with a custom control board you have built ( based an Arduino ). Right?
By now, you have accomplish sending MIDI messages from Arduino to your PC ( running NI Guitar Rig Soft, most probably on top of MS Windows ) and the software recognize the commands, but only if you first configure the chosen controller using MIDI Learn, right ?
Now, you would like to move the pedal or footswitches on the virtual Rig Kontrol showed in the LIVE window of Guitar Rig software directly, in a “plug’n’play” manner - without having to go through MIDI learn on each of these controls mentioned before… yes?
OK, I think you need to undertsand the way GR Software communicates with the Rig Kontrol Hardware.
Here are some excerpts from the GR Documentation that may help you understand it better:
Rig Kontrol Rear Panel two 5-pin DIN connectors:
The RIG KONTROL features a MIDI interface with one input and one output. The RIG
KONTROL does not require MIDI to send controller messages to GUITAR RIG, but it is able to
send MIDI signals to other applications.
Switching Between MIDI Mode and GUITAR RIG Mode
You cannot switch between MIDI mode and GUITAR RIG mode from the RIG KONTROL 3. To
switch the RIG KONTROL 3 to MIDI mode:
► Simply start the Controller Editor.
Or, if the Controller Editor is already running:
► Use the Connect button in the Application Control Bar.
Inversely, if you want the RIG KONTROL 3 to control the GUITAR RIG software again (or one
of its instances), you need to re-connect it.
Visual Feedback on your Controller
Most control elements on your RIG KONTROL 3 are equipped with LEDs that inform you about
the assignment status of the control elements at any time. The fast bidirectional communication
between your RIG KONTROL 3 and the Hardware Service on the software side allows status
indications on your controller to be made in real time.
The LED Display of your RIG KONTROL 3 simply informs you about the current mode of your
► In GUITAR RIG mode (i.e. if your Controller is connected to an instance of its dedicated
software), the LED Display shows you the number of the preset currently loaded.
► In MIDI mode (i.e. if your Controller is connected to the Controller Editor / NI Hardware
Service), the LED Display shows the letters “con” (for “Controller Editor”).
As stated in Controller Editor user’s manual, the Rig Kontrol hardware can be operated in two modes: MIDI mode or GUITAR RIG mode. The led feedback from RG Software to Rig Kontrol HW is only possible while in “Guitar Rig mode”, not in MIDI mode… but still happens throgh the NI Hardware Service, I guess…
If you want to get led status feedback, you should emulate the way the Rig Kontrol HW communicates to the GR Software in “Guitar Rig mode”( with your Arduino appearing as some kind of USB keyboard interface, similar to the way the Rig Kontrol HW does it in reality ).
Hope that helps Monti,