# Software & APIs

**URL:** https://forum.liquidinstruments.com/c/support-and-troubleshooting/software-and-apis/8.md?page=1

[Latest](https://forum.liquidinstruments.com/latest.md) · [Categories](https://forum.liquidinstruments.com/categories.md)

**Page:** 2

---

## [Specify output in Python API for Moku Pro](https://forum.liquidinstruments.com/t/specify-output-in-python-api-for-moku-pro/1055)

<div class="topic-metadata">

**Author:** [@tangshi2010](https://forum.liquidinstruments.com/u/tangshi2010)\
**Replies:** 1\
**Last updated:** [October 15, 2024, 4:27am UTC](https://forum.liquidinstruments.com/t/specify-output-in-python-api-for-moku-pro/1055 "2024-10-15T04:27:55Z")

</div>

Hi, Anyone knows how to specify the output in Python API? I need to change the output from “50 Ohm” to “High Z” to enable 10Vpp +5V offset. i.generate\_waveform( channel=1, type=‘Sine’, amplitude=10.0, frequency=16…

---

## [Multi\_instrument.get\_frontend()](https://forum.liquidinstruments.com/t/multi-instrument-get-frontend/1037)

<div class="topic-metadata">

**Author:** [@Saman](https://forum.liquidinstruments.com/u/Saman)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 6:00pm UTC](https://forum.liquidinstruments.com/t/multi-instrument-get-frontend/1037 "2024-09-12T18:00:10Z")

</div>

Hello, I am using python code for multiinstrument with moku:lab. I want to adjust input voltage\_range for Ch1 and Ch2. I used m.set\_frontend() m.get\_frontend() both does not work. Any Idea how to fix this? best Sam…

---

## [Moku:lab oscilloscope cursor in python](https://forum.liquidinstruments.com/t/moku-lab-oscilloscope-cursor-in-python/1036)

<div class="topic-metadata">

**Author:** [@Saman](https://forum.liquidinstruments.com/u/Saman)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 5:58pm UTC](https://forum.liquidinstruments.com/t/moku-lab-oscilloscope-cursor-in-python/1036 "2024-09-12T17:58:36Z")

</div>

I use moku:lab and get data from the oscilloscope using data = i.get\_data() I plot the data using matplotlib. I search for the mean and max value of my sinusoidal signal. for this I use numpy np.max(data\[‘ch1’\]) and n…

---

## [Problems streaming data from Datalogger in MIM for 24hrs](https://forum.liquidinstruments.com/t/problems-streaming-data-from-datalogger-in-mim-for-24hrs/990)

<div class="topic-metadata">

**Author:** [@hschill](https://forum.liquidinstruments.com/u/hschill)\
**Replies:** 6\
**Last updated:** [September 10, 2024, 5:29am UTC](https://forum.liquidinstruments.com/t/problems-streaming-data-from-datalogger-in-mim-for-24hrs/990 "2024-09-10T05:29:51Z")

</div>

I’m using my Moku:Pro to stream data to my computer while also getting periodic spectra from the Spectrum Analyzer via Python script. Therefore I setup the two instruments in Muli-Instrument Mode, configure the inputs an…

---

## [Matlab connection issue](https://forum.liquidinstruments.com/t/matlab-connection-issue/1030)

<div class="topic-metadata">

**Author:** [@petervleugels](https://forum.liquidinstruments.com/u/petervleugels)\
**Replies:** 1\
**Last updated:** [September 2, 2024, 2:00am UTC](https://forum.liquidinstruments.com/t/matlab-connection-issue/1030 "2024-09-02T02:00:47Z")

</div>

Dear We try to get connection our fantastic Moku Pro via matlab but we got the error message below. We collected the IP address via the moku app so it should be correct. No idea if this problem is caused by using IP6 o…

---

## [Frequency response analyzer sweep progress](https://forum.liquidinstruments.com/t/frequency-response-analyzer-sweep-progress/1025)

<div class="topic-metadata">

**Author:** [@wweber](https://forum.liquidinstruments.com/u/wweber)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 8:54pm UTC](https://forum.liquidinstruments.com/t/frequency-response-analyzer-sweep-progress/1025 "2024-08-22T20:54:24Z")

</div>

I’m using the Python API to get continuous sweep data. After calling start\_sweep(), I get the data using get\_data(). My sweep uses 4096 points, so the Moku performs the sweep in chunks. get\_data() updates a couple hun…

---

## [Problem with the LI Converter](https://forum.liquidinstruments.com/t/problem-with-the-li-converter/1019)

<div class="topic-metadata">

**Author:** [@rolson](https://forum.liquidinstruments.com/u/rolson)\
**Replies:** 3\
**Last updated:** [August 22, 2024, 8:23pm UTC](https://forum.liquidinstruments.com/t/problem-with-the-li-converter/1019 "2024-08-22T20:23:22Z")

</div>

Hello! I recently took some data with my Moku Pro after updating it to the latest firmware version. For some reason, when I tried to convert the data, the converter said it didn’t have permission to write to the file l…

---

## [Laser Lock Box (LLB) Configuration](https://forum.liquidinstruments.com/t/laser-lock-box-llb-configuration/1016)

<div class="topic-metadata">

**Author:** [@T\_Hinds](https://forum.liquidinstruments.com/u/T_Hinds)\
**Replies:** 2\
**Last updated:** [August 16, 2024, 4:02am UTC](https://forum.liquidinstruments.com/t/laser-lock-box-llb-configuration/1016 "2024-08-16T04:02:52Z")

</div>

Hello, I am attempting to configure a LLB instrument in Multi-instrument Mode using the Matlab API. I would like to tune the slow controller using the same line from the example in the documentation (Examples for MATLAB…

---

## [NoneType object in oscilloscope.get\_data](https://forum.liquidinstruments.com/t/nonetype-object-in-oscilloscope-get-data/992)

<div class="topic-metadata">

**Author:** [@HugoMarot](https://forum.liquidinstruments.com/u/HugoMarot)\
**Replies:** 2\
**Last updated:** [July 11, 2024, 11:58pm UTC](https://forum.liquidinstruments.com/t/nonetype-object-in-oscilloscope-get-data/992 "2024-07-11T23:58:51Z")

</div>

Hi, I’m using the python API to get data from the oscilloscope function of a Moku Go. When I specify a number of measurments frame\_length that is greater than 4096, entries toward the end of both ‘ch1’ and ‘ch2’ registe…

---

## [Set\_by\_frequency() API interface](https://forum.liquidinstruments.com/t/set-by-frequency-api-interface/984)

<div class="topic-metadata">

**Author:** [@jephwack](https://forum.liquidinstruments.com/u/jephwack)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 3:05am UTC](https://forum.liquidinstruments.com/t/set-by-frequency-api-interface/984 "2024-07-01T03:05:02Z")

</div>

What is the correct way to indicate in a call to set\_by\_frequency that I would like to deactivate one or more of the components of the controller? In other words, how can I replicate the behavior provided by the GUI when…

---

## [Multi-instrument data logger trigger Python API](https://forum.liquidinstruments.com/t/multi-instrument-data-logger-trigger-python-api/980)

<div class="topic-metadata">

**Author:** [@Jose.Grilo](https://forum.liquidinstruments.com/u/Jose.Grilo)\
**Replies:** 2\
**Last updated:** [June 21, 2024, 4:02pm UTC](https://forum.liquidinstruments.com/t/multi-instrument-data-logger-trigger-python-api/980 "2024-06-21T16:02:19Z")

</div>

Hello, I’m trying to build a sound calibration setup and I’m using Moku:Go to acquire the sound played (with the help of a microphone and a conditioner). To play the sound, I’m using another piece of hardware which is a…

---

## [Lock-in Amplifier: Cannot set demodulation to External](https://forum.liquidinstruments.com/t/lock-in-amplifier-cannot-set-demodulation-to-external/971)

<div class="topic-metadata">

**Author:** [@michkern](https://forum.liquidinstruments.com/u/michkern)\
**Replies:** 1\
**Last updated:** [June 3, 2024, 4:22am UTC](https://forum.liquidinstruments.com/t/lock-in-amplifier-cannot-set-demodulation-to-external/971 "2024-06-03T04:22:34Z")

</div>

Hi, when trying to set up the LIA to demodulate using an external signal using the API, we get the error \[‘Cannot output second filtered signal when using external demodulation’\] even when we don’t want to output any sec…

---

## [Basic Datalogger (Exception occured: time\_to\_end)](https://forum.liquidinstruments.com/t/basic-datalogger-exception-occured-time-to-end/950)

<div class="topic-metadata">

**Author:** [@Saman](https://forum.liquidinstruments.com/u/Saman)\
**Replies:** 3\
**Last updated:** [May 2, 2024, 11:54pm UTC](https://forum.liquidinstruments.com/t/basic-datalogger-exception-occured-time-to-end/950 "2024-05-02T23:54:43Z")

</div>

Hi, I am using the code on the website liquid instruments for basic datalogger. I use moku:lab and the error is: Exception occured: time\_to\_end. Here is the link to the code: Examples for Python | Moku API I ist worth…

---

## [Error with enable\_rollmode, enable\_output and get\_data](https://forum.liquidinstruments.com/t/error-with-enable-rollmode-enable-output-and-get-data/942)

<div class="topic-metadata">

**Author:** [@JamesStuart](https://forum.liquidinstruments.com/u/JamesStuart)\
**Replies:** 2\
**Last updated:** [April 26, 2024, 1:42am UTC](https://forum.liquidinstruments.com/t/error-with-enable-rollmode-enable-output-and-get-data/942 "2024-04-26T01:42:14Z")

</div>

Hello, I have noticed an interesting error with our Moku:Go using the Python API Model: Moku:Go Operating system: windows software: 3.2.0 fireware: 591 I can replicate the bug with the following code. I open the P…

---

## [Moku:Pro Datalogger: Max. stream duration?](https://forum.liquidinstruments.com/t/moku-pro-datalogger-max-stream-duration/904)

<div class="topic-metadata">

**Author:** [@hschill](https://forum.liquidinstruments.com/u/hschill)\
**Replies:** 4\
**Last updated:** [April 8, 2024, 6:21am UTC](https://forum.liquidinstruments.com/t/moku-pro-datalogger-max-stream-duration/904 "2024-04-08T06:21:53Z")

</div>

I want to use the Moku:Pro to calculate the histogram of an input signal during \>12h of continuos testing. The sample rate has to be \>500kSa/S, so we’re looking at \>20 GSa in total. There may be no missed samples. Apart …

---

## [Moku Go version 3.1.1 error](https://forum.liquidinstruments.com/t/moku-go-version-3-1-1-error/857)

<div class="topic-metadata">

**Author:** [@Koki](https://forum.liquidinstruments.com/u/Koki)\
**Replies:** 3\
**Last updated:** [March 18, 2024, 6:13pm UTC](https://forum.liquidinstruments.com/t/moku-go-version-3-1-1-error/857 "2024-03-18T18:13:40Z")

</div>

I updated my Moku Go and Matlab API to version 3.1.1 today and am having problems. Below is the program code and error. Please let me know how I can fix this problem. Or please tell me how to revert Moku Go and Matlab…

---

## [Controlling multiple Moku devices with the desktop app](https://forum.liquidinstruments.com/t/controlling-multiple-moku-devices-with-the-desktop-app/914)

<div class="topic-metadata">

**Author:** [@admitrieff](https://forum.liquidinstruments.com/u/admitrieff)\
**Replies:** 1\
**Last updated:** [March 7, 2024, 4:31pm UTC](https://forum.liquidinstruments.com/t/controlling-multiple-moku-devices-with-the-desktop-app/914 "2024-03-07T16:31:55Z")

</div>

Hi all, This help page suggests that there should be a way to control several devices from the same workstation PC. However, we don’t see the “tabs” in the latest version of the Moku app, nor can we open more than one i…

---

## [LaserLockBox in MultiInstrument](https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899)

<div class="topic-metadata">

**Author:** [@jephwack](https://forum.liquidinstruments.com/u/jephwack)\
**Replies:** 3\
**Last updated:** [February 23, 2024, 7:02am UTC](https://forum.liquidinstruments.com/t/laserlockbox-in-multiinstrument/899 "2024-02-23T07:02:28Z")

</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.XX…

---

## [Persistence of Instrument Configuration when Switching from API to GUI](https://forum.liquidinstruments.com/t/persistence-of-instrument-configuration-when-switching-from-api-to-gui/900)

<div class="topic-metadata">

**Author:** [@jephwack](https://forum.liquidinstruments.com/u/jephwack)\
**Replies:** 1\
**Last updated:** [February 20, 2024, 5:17pm UTC](https://forum.liquidinstruments.com/t/persistence-of-instrument-configuration-when-switching-from-api-to-gui/900 "2024-02-20T17:17:05Z")

</div>

Here is a script which configures a PIDController in MultiInstrument mode from moku.instruments import MultiInstrument, PIDController MIM = MultiInstrument(‘XXX.XXX.XXX.XXX’, force\_connect=True, platform\_id=4) PID = …

---

## [Acquisition times out at Moku:Pro Oscilloscope](https://forum.liquidinstruments.com/t/acquisition-times-out-at-moku-pro-oscilloscope/897)

<div class="topic-metadata">

**Author:** [@xprox](https://forum.liquidinstruments.com/u/xprox)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 11:47pm UTC](https://forum.liquidinstruments.com/t/acquisition-times-out-at-moku-pro-oscilloscope/897 "2024-02-15T23:47:00Z")

</div>

When trying to acquire a single period of a waveform, e.g. sine wave, that’s 1 us long (1 MHz), 4 Vpp where trigger level is set to the half the Vp, the oscilloscope times out due to no acquisition. However, this does no…

---

## [FRA problem in Low FREQ](https://forum.liquidinstruments.com/t/fra-problem-in-low-freq/890)

<div class="topic-metadata">

**Author:** [@Hyeon\_Woo\_Park](https://forum.liquidinstruments.com/u/Hyeon_Woo_Park)\
**Replies:** 2\
**Last updated:** [January 31, 2024, 4:49pm UTC](https://forum.liquidinstruments.com/t/fra-problem-in-low-freq/890 "2024-01-31T16:49:04Z")

</div>

Hi! I have little bit promlem in Moku:go FRA Python API (hardware: Moku: Go) I’d like to see the frequency response of the LPF. But Python returned nan data I think FRA doesn’t support under the 100Hz or my code does…

---

## [Issues with Data Streaming via Moku:Go Datalogger](https://forum.liquidinstruments.com/t/issues-with-data-streaming-via-moku-go-datalogger/728)

<div class="topic-metadata">

**Author:** [@slw](https://forum.liquidinstruments.com/u/slw)\
**Replies:** 13\
**Last updated:** [January 26, 2024, 4:40pm UTC](https://forum.liquidinstruments.com/t/issues-with-data-streaming-via-moku-go-datalogger/728 "2024-01-26T16:40:18Z")

</div>

Hi there, I am trying to implement the data streaming feature with my Moku:Go, but am running into some issues in getting connected and whatnot. Here’s my specs: Moku model: Moku:Go Operating system: macOS Software ve…

---

## [API Connectivity issue with new firmware version (587)](https://forum.liquidinstruments.com/t/api-connectivity-issue-with-new-firmware-version-587/846)

<div class="topic-metadata">

**Author:** [@MewTechnology](https://forum.liquidinstruments.com/u/MewTechnology)\
**Replies:** 2\
**Last updated:** [December 28, 2023, 6:23pm UTC](https://forum.liquidinstruments.com/t/api-connectivity-issue-with-new-firmware-version-587/846 "2023-12-28T18:23:41Z")

</div>

Dear Team, We are using Moku-GO for since 6 months, everything was good. But since the latest firmware update, expect Programming power supply other instruments are not accessible in the API (LabVIEW API’s). When we try…

---

## [How to use mokucli with matlab](https://forum.liquidinstruments.com/t/how-to-use-mokucli-with-matlab/835)

<div class="topic-metadata">

**Author:** [@Koki](https://forum.liquidinstruments.com/u/Koki)\
**Replies:** 2\
**Last updated:** [November 29, 2023, 1:49am UTC](https://forum.liquidinstruments.com/t/how-to-use-mokucli-with-matlab/835 "2023-11-29T01:49:11Z")

</div>

I am a Japanese university student using moku go. I want to get data from Matlab to moku go oscilloscope and save to csv file. I found out that I need mokuucli to get the data to csv file. But matlab does not recogniz…

---

## [How to switch from gui to API smoothly](https://forum.liquidinstruments.com/t/how-to-switch-from-gui-to-api-smoothly/823)

<div class="topic-metadata">

**Author:** [@eliot](https://forum.liquidinstruments.com/u/eliot)\
**Replies:** 2\
**Last updated:** [November 17, 2023, 5:17am UTC](https://forum.liquidinstruments.com/t/how-to-switch-from-gui-to-api-smoothly/823 "2023-11-17T05:17:38Z")

</div>

Hi all, I’m using MIM mode where LockinAmps extract phase signal and feedback through pid as shown in the attached picture. By monitoring phase signal in pid slot, I note that pid doesn’t break during switching from …

---

## [I made a Python GUI for an automated frequency sweep in the LIA module](https://forum.liquidinstruments.com/t/i-made-a-python-gui-for-an-automated-frequency-sweep-in-the-lia-module/829)

<div class="topic-metadata">

**Author:** [@nnosk55](https://forum.liquidinstruments.com/u/nnosk55)\
**Replies:** 0\
**Last updated:** [October 30, 2023, 4:09am UTC](https://forum.liquidinstruments.com/t/i-made-a-python-gui-for-an-automated-frequency-sweep-in-the-lia-module/829 "2023-10-30T04:09:26Z")

</div>

I made a simple python GUI to run an automated frequency sweep for the lock-in amplifier module for my group. I saw there is an application note for doing this in MATLAB/Simulink, but I thought an open-source (on the GUI…

---

## [Overflow, out of memory in stream data (error 6)](https://forum.liquidinstruments.com/t/overflow-out-of-memory-in-stream-data-error-6/818)

<div class="topic-metadata">

**Author:** [@elustig](https://forum.liquidinstruments.com/u/elustig)\
**Replies:** 1\
**Last updated:** [October 13, 2023, 6:30am UTC](https://forum.liquidinstruments.com/t/overflow-out-of-memory-in-stream-data-error-6/818 "2023-10-13T06:30:01Z")

</div>

Hello, after working fine, datalogger start\_streaming() started throwing an overflow error (python). There is more than enough space in the disk (both of Moku and in the PC hard drive). Will be happy to get an idea on wh…

---

## [Python : Lock in amplifier : how to set local oscillator's amplifier?](https://forum.liquidinstruments.com/t/python-lock-in-amplifier-how-to-set-local-oscillators-amplifier/813)

<div class="topic-metadata">

**Author:** [@moku\_go\_user](https://forum.liquidinstruments.com/u/moku_go_user)\
**Replies:** 1\
**Last updated:** [September 21, 2023, 9:11pm UTC](https://forum.liquidinstruments.com/t/python-lock-in-amplifier-how-to-set-local-oscillators-amplifier/813 "2023-09-21T21:11:36Z")

</div>

hello. I am a user of Moku:Go (with Lock in amplifer). I have some questions about running LIA in python using the code in the link above. First: i.set\_filter error occurs. Exception occurred: \[‘Unable to set cor…

---

## [Problem with pattern generator of Moku:Go LogicAnalyzer](https://forum.liquidinstruments.com/t/problem-with-pattern-generator-of-moku-go-logicanalyzer/790)

<div class="topic-metadata">

**Author:** [@Felix](https://forum.liquidinstruments.com/u/Felix)\
**Replies:** 4\
**Last updated:** [September 18, 2023, 8:06pm UTC](https://forum.liquidinstruments.com/t/problem-with-pattern-generator-of-moku-go-logicanalyzer/790 "2023-09-18T20:06:27Z")

</div>

Hello, I am facing two problems when trying to generate digital signals with the pattern generator of the LogicAnalyzer instrument. I use the following Python API commands for configuring the pattern generator: Two patt…

---

## [How to accelerate the speed of Ptython API](https://forum.liquidinstruments.com/t/how-to-accelerate-the-speed-of-ptython-api/804)

<div class="topic-metadata">

**Author:** [@Sushiki](https://forum.liquidinstruments.com/u/Sushiki)\
**Replies:** 1\
**Last updated:** [September 14, 2023, 3:23am UTC](https://forum.liquidinstruments.com/t/how-to-accelerate-the-speed-of-ptython-api/804 "2023-09-14T03:23:45Z")

</div>

I am confused of the speed of Python API, because I think it is much slower than desktop software moku. I want to ask how can I accelerate it.

[Previous page](https://forum.liquidinstruments.com/c/support-and-troubleshooting/software-and-apis/8.md)

[Next page](https://forum.liquidinstruments.com/c/support-and-troubleshooting/software-and-apis/8.md?page=2)
