Hi Saforo,
I can’t see much of your code or the error message but from your description it sounds like your Moku connection is not being relinquished adequately, meaning that the next time you try to connect the Moku it says “mac_x may be using this device”. If this is the problem then you should try use the force_connect parameter when claiming ownership (you can read more about this here):
m = MokuMultiInstrument(‘10.1.XXX.XXX’, force_connect=true);
If this does not work, or if this is not the only problem, can you share your code and the full error message with me so that I can help you understand the problem properly? For example, what is the command you are running to get the “The term ‘moku’ is not recognized" error?
Thanks,
Indira