# LaserLockBox in MultiInstrument

**URL:** <https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899>\
**Category:** Software & APIs\
**Created:** [February 18, 2024, 10:36pm UTC](https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899 "2024-02-18T22:36:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jephwack](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jephwack](https://forum.liquidinstruments.com/u/jephwack)\
**Post date:** [February 18, 2024, 10:36pm UTC](https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899/1 "2024-02-18T22:36:14Z")

</div>

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']`

---

<div class="post-metadata">

**Author:** ![hanklong](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.liquidinstruments.com/hanklong/32/288_2.png) [@hanklong](https://forum.liquidinstruments.com/u/hanklong)\
**Post date:** [February 19, 2024, 2:19am UTC](https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899/2 "2024-02-19T02:19:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hanklong](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.liquidinstruments.com/hanklong/32/288_2.png) [@hanklong](https://forum.liquidinstruments.com/u/hanklong)\
**Post date:** [February 23, 2024, 3:39am UTC](https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899/3 "2024-02-23T03:39:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jephwack](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@jephwack](https://forum.liquidinstruments.com/u/jephwack)\
**Post date:** [February 23, 2024, 7:02am UTC](https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899/4 "2024-02-23T07:02:28Z")

</div>

Thanks for the update, looking forward to the release.
