How does one program their robot to recognize multiple Digital Sidecars?

Greetings, good people of the Chief Delphi forums;

My team has found itself in somewhat of a predicament. Due to our mechanical design, it has become necessary to add two Digital Sidecars to our electrical configuration. However, the programming team (which includes myself) has had difficulty ascertaining the method of specifying which of these Input/Output boards is intended in the code. For example, the initialization process for the Jaguar object in Java requires the inclusion of a Pulse-Width Modulation (PWM) channel, but because there are two sidecars there are two PWM channels of the same number.

Much thanks to any individuals who can help us with our predicament. Praise England.

Make sure that you look at all forms of the constructors. For example, the jaguar has one constructor that only takes PWM channel, and assumes the digital sidecar is used with slot 4. There is a second constructor that takes both the PWM channel and the digitial module slot.

Note that slot 6 is the only other slot that works with the digital sidecar.

Thank you sir! You are a gentleman and a scholar.

Cordially yours,

Morgan