US English (US)
JP Japanese
CN Chinese
KR Korean

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Knowledge Base Home
  • Contact Us
English (US)
US English (US)
JP Japanese
CN Chinese
KR Korean
  • Home

How to use APIs with MokuOS 4.0

Written by Laura Becerra

Updated at September 3rd, 2025

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Moku:Go
    Moku:Go General Moku:Go Arbitrary Waveform Generator Moku:Go Data Logger Moku:Go Digital Filter Box Moku:Go FIR Filter Builder Moku:Go Frequency Response Analyzer Moku:Go Logic Analyzer & Pattern Generator Moku:Go Oscilloscope & Voltmeter Moku:Go PID Controller Moku:Go Spectrum Analyzer Moku:Go Waveform Generator Moku:Go Power Supplies Moku:Go Lock-in Amplifier Moku:Go Time & Frequency Analyzer Moku:Go Laser Lock Box Moku:Go Phasemeter
  • Moku:Lab
    Moku:Lab General Moku:Lab Arbitrary Waveform Generator Moku:Lab Data Logger Moku:Lab Digital Filter Box Moku:Lab FIR Filter Builder Moku:Lab Frequency Response Analyzer Moku:Lab Laser Lock Box Moku:Lab Lock-in Amplifier Moku:Lab Oscilloscope Moku:Lab Phasemeter Moku:Lab PID Controller Moku:Lab Spectrum Analyzer Moku:Lab Time & Frequency Analyzer Moku:Lab Waveform Generator Moku:Lab Logic Analyzer/Pattern Generator
  • Moku:Pro
    Moku:Pro General Moku:Pro Arbitrary Waveform Generator Moku:Pro Data Logger Moku:Pro Frequency Response Analyzer Moku:Pro Oscilloscope Moku:Pro PID Controller Moku:Pro Spectrum Analyzer Moku:Pro Waveform Generator Moku:Pro Lock-in Amplifier Moku:Pro Laser Lock Box Moku:Pro Digital Filter Box Moku:Pro FIR Filter Builder Moku:Pro Phasemeter Moku:Pro Multi-instrument Mode Moku:Pro Logic Analyzer/Pattern Generator Moku:Pro Time & Frequency Analyzer
  • Python API
  • MATLAB API
  • Arbitrary Waveform Generator
  • Data Logger
  • Digital Filter Box
  • FIR Filter Builder
  • Frequency Response Analyzer
  • Laser Lock Box
  • Lock-in Amplifier
  • Oscilloscope
  • Phasemeter
  • PID Controller
  • Spectrum Analyzer
  • Time & Frequency Analyzer
  • Waveform Generator
  • Logic Analyzer & Pattern Generator
  • Multi Instrument Mode
  • Moku Cloud Compile
  • Moku general
  • LabVIEW
+ More

Table of Contents

What is mokucli? How do I setup mokucli? Getting the APIs up and running: Python: MATLAB: Labview:

Moku offers APIs for Python, MATLAB, and LabVIEW for seamless automation and integration into your workflow. Starting with MokuOS 4.0, the use of APIs requires the command line utility, mokucli.

What is mokucli?

Mokucli allows users to access and manage Moku hardware through their command terminal. Functionalities include bitstream downloads, device discovery, data streaming, among others. More information on how to use mokucli can be found on this documentation page. 

With the release of MokuOS 4.0, mokucli is required for API integration. 

How do I setup mokucli?

Mokucli can be downloaded from the download links at the bottom of the Utilities page. 

Once downloaded, follow the instructions for installation:

NOTE: If needed, type mokucli --help to list possible functionalities, check the mokucli version, among other tools.

Getting the APIs up and running:

Run the following command in your terminal: mokucli instrument download 4.0.1 to download the instrument bitstreams. Replace 4.0.1 with the current most up-to-date firmware release.

If you have not yet used APIs prior to updating to 4.0, please follow the instructions in this Getting Started Guide on how to get the APIs installed. 

Below are the steps to update the APIs with MokuOS 4.0 and above, after mokucli has been installed:

Python:

  1. Open your command terminal and update the Python client package by running: pip install --upgrade moku

 

MATLAB:

  1. Open MATLAB after the new mokucli has installed.
  2. Go to the “Home” tab and select “Add-ons” to open the sub-menu. Click “Manage Add-Ons”.
  3. Look for the moku-MATLAB add-on listed with an available update. NOTE: If you do not see an update option, you likely need to restart MATLAB and try again.
  4. Click “Update” and restart MATLAB. The API will be ready for use.

 

Labview:

Currently, Labview is not supported for MokuOS 4.0.1. This section will be updated as soon as it is added.

 

 

programming interface api integration

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How to connect to the access point of Moku?
  • How do I find my Moku's IP address?
  • How do I update my Moku firmware?

Sitemap

  • Moku:Lab
  • Instruments
  • Software
  • Company
  • Support
  • Store
  • Terms & Conditions
  • Privacy Policy

Offices

United States
+1 (619) 332-6230
12526 High Bluff Dr
Suite 150
San Diego, CA 92130

Australia
+61 2 6171 9730
243 Northbourne Avenue
Suite 2
Lyneham, ACT 2602

Australia
+61 03 7073 3594
700 Swanston Street
Suite 5E, Level 5
Carlton, VIC 3053

Follow us

Youtube LinkedIn

官方微信

Contact us
© 2025 Liquid Instruments. All rights reserved.

Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand