LaserLockBox in MultiInstrument

I would like to set the output port of the demodulation signal of a LaserLockBox in MultiInstrument mode. The following code

from moku.instruments import MultiInstrument, LaserLockBox
MIM = MultiInstrument(‘XXX.XXX.XXX.XXX’, force_connect=True, platform_id=4)
llb = MIM.set_instrument(1, LaserLockBox)
connections = [dict(source=“Slot1OutC”,destination=“Output3”)]
MIM.set_connections(connections=connections)
MIM.relinquish_ownership()

produces the below error:

Traceback (most recent call last): File "/home/lab/code/moku/min_example_for_error.py", line 8, in <module> MIM.set_connections(connections=connections) File "/opt/conda/user_conda/lab/cds/lib/python3.10/site-packages/moku/instruments/_mim.py", line 65, in set_connections return self.session.post(self.operation_group, operation, params) File "/opt/conda/user_conda/lab/cds/lib/python3.10/site-packages/moku/session.py", line 14, in func_wrapper return self.resolve(response) File "/opt/conda/user_conda/lab/cds/lib/python3.10/site-packages/moku/session.py", line 165, in resolve self.handle_error(data.code, data.messages) File "/opt/conda/user_conda/lab/cds/lib/python3.10/site-packages/moku/session.py", line 123, in handle_error raise exceptions.InvalidRequestException(messages) moku.exceptions.InvalidRequestException: ['Source port is not valid in the given configuration.', 'Traceback: Connecting Slot1OutC to Output3']

Hi @jephwack Jeffrey,

Thank you very much for reporting this issue!

I have checked with my co-worker. It is indeed an issue in our API support. As you might know, we have just introduced this OutputC to Laser Lock Box in Multi-instrument Mode, the API support is kind of delayed. It should be fixed in the next firmware release.

Thank you again for letting us know! I really appreciate your understanding and patience!

Best regards,
Hank

Hi @jephwack Jeffrey,

I can confirm that this issue has been fixed. You will be able to use Laser Lock Box’s OutputC in the next release (March/April 2024). Thank you very much for your understanding and patience!

Best regards,
Hank

Thanks for the update, looking forward to the release.