Troubleshooting "Instrument files not available" error
-
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
If you run into the error:
moku.exceptions.NoInstrumentBitstream: Instrument files not available, please run `moku download --fw_ver=###` to download latest instrument data
when connecting to your Moku with the Python API. You will need to create a data folder directly in the same directory as the "moku" package and download the instrument bitstream files to this data folder.
1. Find the target path for moku python installation
$: pip show moku
In the example below this is the line: Location: C:\Users\venv\Lib\site-packages
with \moku\data
appended. You may need to manually create the data folder before downloading the bitstreams to this path using mkdir
.
Name: moku
Version: 3.3.3
Summary: Python scripting interface to the Liquid Instruments Moku hardware
Home-page: https://liquidinstruments.com
Author: Liquid Instruments
Author-email: info@liquidinstruments.com
License: MIT
Location: C:\Users\venv\Lib\site-packages
Requires: requests
Required-by:
2. Check for or create the data folder
$: mkdir C:\Users\venv\Lib\site-packages\moku\data
3. Download bitstreams for your firmware version, i.e. 601, to target from location
$: mokucli download 601 --target "C:\Users\venv\Lib\site-packages\moku\data"