Python or Matlab API not connecting to the MOKU:Go

Hello, some engineering students are trying to use the MOKU Go for signal processing applications. We managed to connect and get it working through USB but the Python and Matlab API guides say that we have to use it wirelessly because of the type of IP addresses used through USB and Wirelessly.

For python we pip installed moku and then we tried downloading the data files but it says “The term ‘moku’ is not recognized as the name of a cmdlet, function, script file, or operable program”.

For Matlab we get the following:

When trying to use a USB connection we use the IPV6 address within the brackets solution but it says that we’re already connected to it, saying mac_x may be using this device.

We believe we’re doing something wrong but we don’t know what. Any help is appreciated. Thank you

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