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.
paulc@liquidinstruments.com
Article
Last Month
Yes. Moku:Lab's Lock-in Amplifier supports direct demodulation with an external source, demodulation with a PLL (phase-locked loop) locked to an external source, and the ability to modulate and demodulate at different frequencies. To change the demodulation signal source, tap the Configuration icon on the top right corner and select from "Local osci
The Moku Laser Lock Box instrument is designed to stabilize the frequency of continuous-wave lasers. The Laser Lock Box user manuals can be downloaded here : Moku:Pro Laser Lock Box Moku:Lab Laser Lock Box Moku:Go Laser Lock Box
Example Python script to implement the PID controller For more examples, please refer to this link: Moku API # # Moku example: Basic PID Controller # # This script demonstrates how to configure one of the two PID Controllers # in the PID Controller instrument. Configuration is done by specifying # frequency response characteristics of the controller
Frequency Frequency of the signal as determined by the time between rising or falling edges Phase Phase of strongest frequency component with respect to a perfect sine wave Period Time between pairs of rising or falling edges Duty Cycle Ratio of the time spent above the median to that spent below it Pulse Width Time the signal spends above the media
The sampling rate of the oscilloscopeis set automatically based on the timebase. The current sampling rate is displayed at the bottom of the 'Timebase' pane on the right-hand side. To get a specific sampling rate, you can adjust the timebase until the displayed sampling rate reaches the desired value. Please note if the 'Precision mode' is selected
Moku:Lab spectrum analyzer is considered as a 'real-time' spectrum analyzer. It is using a super heterodyne down-converts the signal once according to the frequency window and then performs an FFT. This ensures the instrument has a higher spectral resolution while maintaining a reasonable measurement speed. Detailed explanation can be found in this
For several of the instruments in the Moku iPadOS app, you can drag settings panels onto the main display to become floating control panels. Tap, hold, and drag the desired settings panel to somewhere on your display. To edit items in floating control panel, double tap the header and select or deselect certain settings to display. Double-tap the hea
Example MATLAB script to implement the Laser Lock Box (basic) %% Basic Laser Lock Box Example % % This example demonstrates how you can configure the Laser Lock Box % Instrument. % % (c) 2022 Liquid Instruments Pty. Ltd. % %% Connect to your Moku % Connect to your Moku by its IP address and deploy the Laser Lock Box % instrument. i = MokuLaserLo
While Moku:Lab's FIR Filter Builder instrument is used to design FIR filters, you can also use the Digital Filter Box instrument to create IIR filters.
Streaming real time data You can stream real-time data over a wired or WiFi network directly to a PC. We have several examples of streaming from the Data Logger : Python : https://liquidinstruments.helpjuice.com/141109-python-examples/python:-data-logger-(streaming) MATLAB : https://liquidinstruments.helpjuice.com/141112-matlab-examples/matlab-data-
Example MATLAB script to implement a plotting Frequency Response Analyzer %% Plotting Frequency Response Analyzer Example % % This example demonstrates how you can generate output sweeps using the % Frequency Response Analyzer instrument, and view transfer function data % in real-time. % % (c) 2021 Liquid Instruments Pty. Ltd. % %% Define sweep pa
Example Python script to implement the FIR Filter Builder # # Moku example: Basic FIR Filter Builder # # This example demonstrates how to run the FIR Filter Box and configure its # individual filter channel coefficients. # # (c) 2023 Liquid Instruments Pty. Ltd. # from moku.instruments import FIRFilterBox # The following two example arrays are simpl
Yes, the Moku:Lab Frequency Response (FRA) can analyze up to the 15th harmonic of the fundamental swept sine. This can be useful for active systems, non linear systems or electrochemical or biological applications. The harmonic setting is under the 'Advanced' tab. In the first video, we have attached a MiniCircuits MK-3 frequency doubler. On the ini
For all Mokus, the serial number can be located within the Moku: app or on a printed label on the bottom surface of each Moku. Moku desktop app Right click on the Moku icon -> Device info -> Serial Number Moku iPad app Tap and hold the Moku icon to reveal the serial number Printed Label Printed labels are located on the bottom surface of eac
Example Python script to implement the Arbitrary Waveform Generator To observe the burst-modulated behavior of the signal on Channel 2, it is recommended to connect a 2 kHz Square wave to Input 1 of your Moku # # moku example: Arbitrary Waveform Generator # # This example demonstrates how you can generate and output arbitrary # waveforms using the M
The Waveform generator channels can be phase synchronized by selecting the toolbox icon → “Sync phase”. This applies to the Moku:Go, Moku:Lab and Moku:Pro, both in the Waveform Generator, Arbitrary Waveform Generator instrument and the waveform generator built-in to the Oscilloscope instrument.
All instruments are currently supported in LabVIEW. Learn more about the LabVIEW API on our website.
There are 2 output channels on Moku:Lab, however, if you would like to generate signals (with synchronized phase) in more than 2 channels, you can connect up multiple Moku:Labs to achieve this. The generated signal is synchronized by triggering the Waveform Generator with the same output signal from the Oscilloscope. This is a step by step guide to
Direct Ethernet connection without a router or switch To connect your Moku:Lab to a Windows PC through Ethernet cable without a router or a switch, you will need to configure the network and assign the Moku:Lab a static IP address. Configuring the PC network: In your PC go into "Settings" -> "Network & Internet" -> "Ethernet" Select "chang
Calibration covers all Moku:Lab instruments Calibration is performed on the hardware and encompasses all Moku:Lab instruments. What happens if I buy Moku:Lab with 17025 calibration, and then later purchase an additional instrument for the same hardware? Do I need to recalibrate? There is no need for recalibration for new instrument purchases.
(Deep level instrument development or high level parameter control) The Python, MATLAB, and LabVIEW APIs provide full controls over the instruments' parameters in a similar manner to the iPad interface or many other lab test and measurement equipment.
Moku:Lab does not turn on; factory or hard reset If Moku:Lab fails to start or boot correctly, it will show a steady orange LED on the power switch for more than 2 minutes after power up. If this is so, you will need to perform a Hard Reset as explained here.
Directly connect to a Moku via its network IP address If your Moku is connected to a wired ethernet or wireless wifi network, you can connect to it directly even if it is not automatically discovered. This is useful if your network configuration doesn't allow for automatic discovery, such as when you're connecting over some types of VPN. iPad In the
Moku Lock-in Amplifier has a built-in oscilloscope that has flexible probe points to observe signals at various points in lock-in processing chain. Either probe A or probe B may be used as a source of a trigger for the oscilloscope. However, the internal oscilloscope can't be triggered by signal from external trigger port. On the other hand, demodul
The +24 dB and +48 dB input gain on Moku:Lab is implemented purely digitally. It is designed to reduce quantization error when the FPGA performs the calculation. We recommend using the maximum possible input gain that does not saturate the input signal. Please note the built-in probe points have a fixed bit depth. The quantization error may be exagg
Example Python script to implement the Waveform Generator with modulation # # Moku example: Waveform Generator Modulation # # This example demonstrates how you can use the Waveform Generator instrument # to generate an amplitude modulated sine wave on Channel 1, and a sweep # modulated sine wave on Channel 2. # # (c) 2023 Liquid Instruments Pty. Ltd
You can set the PID controller in with Ki, Kp, and Kd in the advanced mode. You can access the advanced mode by tapping the 'advanced mode' button, located in the bottom right corner of the PID controller configuration. In the advanced mode, you can build a two-section PID and configure each section by Ki, Kp, and Kd. Each section can be individuall
In some circumstances, it's not possible to synchronize Moku:Lab onboard clock with the frequency synthesizer in the system. The measured phase trace has a constant drift. This can be fixed by a linear detrend process before the power spectrum density (PSD) calculation. In Python, the detrend can be performed by adding a detrend='constant' option i
Access the FPGA to execute code or design custom instrument Yes, Moku Cloud Compile allows you to write custom HDL code and deploy it to your Moku device. This can be used to develop custom functions, unique signal processing algorithms or instruments. Read more about Moku Cloud Compile and get started today : https://www.liquidinstruments.com/moku
Moku's Oscilloscope is primarily used to capture snapshots of fast signals and transient waveforms. The instrument captures and displays a segment of the data once it's triggered. You can capture very fast features, but the data traces between snapshots are not continuous. The maximum sampling rate for Moku:Go's Oscilloscope is 125 MSa/s, Moku:Lab's
Using the trigger on the AWG Moku's Arbitrary Waveform Generator can be configured to trigger the generation of the output waveform. Set the modulation type to "Burst", then it is possible to configure the trigger source. Input 1, Input 2, or the external trigger on the rear of Moku:Lab and Moku:Pro can be selected as the trigger source. The trigger
The Moku:Lab's Arbitrary Waveform Generator can upload files from SD card, MyFiles or the iPad's clipboard in a comma- or newline- delimited text. The text values will be normalized to a range of -1 -> +1; then scaled to the desired amplitude and offset.
Each Moku's firmware can be updated from either the iPad or Desktop app. The process is the same whether you are using the iPad or Desktop app. This article will explain how to update from either app. Moku:Go is the only exception because there is no iPad app, so it must be updated from the Desktop app. You will know that your Moku is ready for a fi
How to disable automatic firmware update on Moku:Lab Liquid Instruments continues to improve Moku:Lab and add new features. We regularly update both the iPad app and Windows app; both apps automatically check for updates. The update history is here : Update log The apps contain the Moku:Lab firmware and some updates will need a new version of firmwa
The control matrix can be used to multiply the input by a factor of -20 to 20 with an increment of 0.1 (-10, 10), or 1 [-20, 10]∪[10, 20]. This can be effectively used to apply input gain, or invert the input. For instance, the signal can be scaled down by setting the first element in the Control matrix to 0.1. As a result, the 49.992 mV input signa
Moku:Lab can save data in CSV format, which can be imported to Excel files for processing and calculations. If you have saved data in .LI binary format, you can use our file converter to convert the file into CSV or MAT format. Depending on settings, Excel may unexpectedly reduce the precision of your data during loading and calculations. Be sure to
Example MATLAB script to implement the Arbitrary Waveform Generator %% Arbitrary Waveform Generator Example % % This example demonstrates how you can configure the Arbitrary Waveform % Generator instrument to generate two signals. % % (c) 2021 Liquid Instruments Pty. Ltd. % % %% Prepare the waveforms % Prepare the square waveform to be generated t =
Example MATLAB script to implement the Oscilloscope (basic) %% Basic Oscilloscope Example % % This script demonstrates how to use the Oscilloscope instrument to % retrieve a single frame of dual-channel voltage data. % % (c) 2016 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip = input('Please enter your Moku:Lab IP address: ', 's'); % Conn
Lecture or group presentations with Moku:Lab Yes! Your audience can better follow the presentation by enabling the built-in touch point feature. This is a great way of presenting a lab experiment remotely via a video conference. Your remote audience can see the presenter's interaction with Moku:Lab and your experiment while working from home.
The Moku:Lab Phasemeter instrument can generate an output waveform. This waveform is generated by a NCO ('numerically controlled oscillator') with an internal Moku:Lab reference of 10 MHz. Over a long period, it is possible to observe a steady slow phase drift when comparing this output waveform with another signal. The precision of this output wave
For many applications, the FIR and digital filter (IIR) can be used interchangeably. However, they do have a few key differences: FIR filters have a linear phase response. They create minimal signal distortions in the time domain. IIR filters are computationally inexpensive compared to FIR filters. The propagation delay is typically shorter. FIR fil
With the (iPad OS 14) update, you will need to grant permission to Moku:Lab App to access the iPad's local network, in order to discover Moku:Labs connected to your network. In case you have denied access, you can fix this by going into Settings -> Privacy -> Local Network -> Toggle On for Moku:Lab.
You can remotely access, control, and configure Moku:Lab via VPN from your computer or iPad. However, the automatic device discovery feature on Moku:Lab relies on Bonjour, a protocol developed by Apple. This feature may be limited in certain VPN environments. So we recommend connecting the device directly via IP address. Detailed information on dire
We have published an application note explaining the Phasemeter's calculations of Allan Deviation Measuring Allan Deviation : A Guide to Allan Deviation with Moku:Lab's Phasemeter
Moku Waveform Generator and Amplitude Modulation Moku's Waveform Generator instrument is a flexible function generator capable of six different forms of modulation: Amplitude Modulation (AM) Frequency Modulation (FM) Phase Modulation (PM) Pulse-Width Modulation (PWM) Burst Sweep Your browser does not support HTML5 video. Here we demonstrate amplitud
The Premium Service Package provides premium support for covered Moku hardware for one year and can be renewed annually. Premium service includes: Technical Support: Access to Application Engineers for support via email and phone, with expedited turnaround time for responses (1 business day). Advanced Replacement: If a repair is required we will pro
Yes, you can input your filter coefficients by placing your coefficients into a .CSV file. In the FIR filter editor, select "custom" impulse response and then select your coefficient file.
Selecting an appropriate probe is an important part of an accurate and efficient measurement system. Moku:Lab is compatible with a wide variety of probes and below is some guideline specification to assist in selecting a passive voltage probe for use with Moku:Lab Probe type Passive voltage Attenuation 1x, 10x or switchable 1x / 10x Bandwidth >
Example MATLAB script to implement the Spectrum Analyzer (plotting) %% Plotting Spectrum Analyzer Example % % This example demonstrates how you can configure the Spectrum Analyzer % instrument and plot its spectrum data in real-time. It also shows how % you can use its embedded signal generator to generate a sweep and single % frequency waveform on
For the Windows App to discover your Moku:Lab, the Moku:Lab needs to be connected to the same network as your computer; OR alternatively, connected via USB. Please check out our Knowledge Base articles under Moku:Lab general -> getting started with Moku:Lab to find out how to connect your Moku:Lab to an existing network. If you have connected you
Configuring the Moku WiFi access point Moku devices are equipped with an onboard WiFi access point, which means it can generate its own WiFi network. Your Moku should have its access point turned on when you power it on for the first time. In case you have turned off the access point, you can reconfigure to power it on again in the Moku App. iPad ap
Example MATLAB script to implement the Lock-in Amplifier (plotting) %% Plotting Lock-in Amplifier Example % % This example demonstrates how you can configure the Lock-in Amplifier % instrument to demodulate an input signal from Input 1 with the reference % signal from the Local Oscillator to extract the X component and generate % a sine wave on
Example MATLAB script to implement the Phasemeter %% Phasemeter File Logging Example % % This example demonstrates how you can configure the Phasemeter instrument % and log single-channel phase and [I,Q] data to a CSV file for a 10 % second duration. % % (c) 2017 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip = input('Please enter your Mo
LabVIEW instrument examples We have a full set of examples to help you get started using LabVIEW API with your Moku. You can find the LabVIEW API installation instructions here : https://apis.liquidinstruments.com/starting-labview.html Full examples can be viewed in LabVIEW by selecting 'Find examples from the Help menu. In the NI Example Finder s
Yes! When two or more input channels are enabled, a Math channel with the difference between two channels is available. You can also plot the Math channel alongside Channels 1 and 2 in the Timeseries and Spectral Analysis plots. To enable the Math channel in the iPad app, scroll down on the Channels tab and turn the orange Math channel on. Tap the i
Moku:Lab laser lock box uses a 2-stage second-order IIR filter. In the iPad app, the filter defaults to 1-stage or 2-stage second-order filter only. As we have a limited number of bits during the calculation, this limited us to a ~1 kHz corner. In order to get a filter with a lower corner frequency, it is possible to manually load a 2-stage first-or
Moku:Lab oscilloscope can be used to compensate a probe to ensure both accurate measurements of voltage and frequency and also precise waveform representation. The Moku:Lab oscilloscope has an integrated waveform generator; the video shows the waveform generator being set to 1 kHz, 2 Vpp. The under-compensated signal is then adjusted to slightly ove
Unlike some lock-in amplifiers, Moku:Lab's Lock-in Amplifier does not have a sensitivity setting. Instead, you can adjust the output gain to achieve a similar effect. Sensitivity determines how the lock-in amplifier maps the input level to the output level. For example, a 1 mVpp sinusoidal signal is mapped to a 0.25 mV DC signal at the output, assum
When stabilizing lasers, it is common to need to provide feedback control loops to multiple actuators. A common situation involves one fast actuator with limited range (e.g. current or piezo); and one slow actuator with a much larger range (e.g. temperature). The slow PID controller acts on the fast PID controller’s output, keeping it centered aroun
The Moku app can be operated in Chinese, English, German, Japanese and Korean
Example MATLAB script to implement the Waveform Generator %% Basic Waveform Generator Example % % This example demonstrates how you can use the Waveform Generator % instrument to generate an amplitude modulated sinewave on Channel 1, and % un-modulated squarewave on Channel 2. % % (c) 2017 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip =
Example MATLAB script to implement the IIR Filter Box (plotting) % % Python moku example: Plotting Digital Filter Box % % This example demonstrates how you can configure the Digital % Filter Box instrument to filter and display two signals. Filter % 1 takes its input from Input1 and applies a lowpass Butterworth % filter. Filter 2 takes its input fr
The control matrix combines, rescales, and redistributes the input signal to the two independent PID controllers, FIR filters or digital filters. The output vector is the product of the control matrix multiplied by the input vector. For instance, in this configuration, the two inputs are DC signals of 50 mV and 150 mV. Since the first row of the Con
External: The External mode directly multiplies the signals from input 1 and input 2, which is particularly useful when the modulation signal is not sinusoidal. For instance, if the modulation signal is a low-duty-cycle pulse, direct multiplication significantly enhances the demodulation spectral coverage compared to sinusoidal demodulations. Howeve
The input to output latency is dependent on the low-pass filter bandwidth. The shortest latency number can be achieved with the highest low-pass filter cut-off frequency. Also, the faster controller has a shorter latency. The following table provides a few reference points for the input to output latency. Low-pass corner 30° phase delay frequency La
The low-bandwidth control signal on output channel 2 can be separated electronically from the high-frequency modulation tone using an external bias-tee (not included with Moku:Lab). An appropriate bias-tee can be purchased from Mini-Circuits. The scanning waveform is typically applied to the same actuator as the high-bandwidth control signal, so no
The Moku phasemeter can display the phase of measured signals in cycles, degrees, and radians; amplitude can be displayed in dBm, Vpp, and Vrms, and frequency in Hz to very high precision. To switch between different units, simply tap or click to cycle through the available options.
The sample rate of the built-in Oscilloscope is dynamically adjusted by the horizontal zoom of the display, and the maximum memory depth can be seen in Table 1. Table 1. Deep memory mode in Moku Oscilloscopes memory depth Moku:Go Moku:Lab Moku:Pro Setting No.1 Sampling rate & time span 125 MSa/s (≤ 25 ms) 500 MSa/s (≤ 6.2 ms) 1.25 GSa/s (≤ 10 ms
Moku Waveform Generator and Frequency Modulation Moku's Waveform Generator instrument is a flexible function generator capable of six different forms of modulation: Amplitude Modulation (AM) Frequency Modulation (FM) Phase Modulation (PM) Pulse-Width Modulation (PWM) Burst Sweep Your browser does not support HTML5 video. Here we demonstrate frequenc
The Data Logger can create files in a .LI format; this is a fast and compressed format. The LI File Converter can be used to convert binary data from a .li file into plain text data in .CSV (comma-separated values) format, or to a MATLAB .mat file. You can download the LI File Converter on the utilities page. The LI File Converter is also built into
For Moku:Lab with firmware 580 and later, simply connect a micro USB cable between the Moku:Lab and your Windows PC. No further driver download is required; the Moku: app will automatically detected the Moku:Lab on the USB port. Connect a USB cable between the Moku:Lab micro B data port and your PC Open Moku: app, the Moku:Lab device should show up
The minimum resolution bandwidth (RBW) is correlated with the measurement span. The narrower the span, the finer the minimum RBW. To get the best RBW, please monitor the signal with the minimal spectrum range.
Moku:Lab’s Data Logger has a maximum logging time of 10,000 hrs; although in practice this may be limited by the available memory. Moku:Lab has 500 MB of internal storage (RAM) and can also log to an SD card of any size. Most SD cards use the FAT32 file system, which is limited to a maximum file size of 4 GB. Logging to a .LI file will give the long
A step-by-step guide for setting up Moku:Lab with USB connection to an iPad There are some situations, for example in a restricted lab environment or for radio interference reasons, where you may wish to use Moku:Lab with neither Wi-Fi nor ethernet. The Moku:Lab can connect to the iPad app via a USB cable; no ethernet or wifi is needed. This is acco
Yes, you can! To save the current setting of the instrument, click the menu icon on the top left corner of the window, select Instrument -> Save/recall settings -> Save instrument state. You can also use keyboard shortcut Ctrl + S to save. You can reset your instrument to the saved state by clicking the menu icon on the top left corner of the
Frequency chirp with Waveform Generator Moku:Lab's Waveform Generator can generate a chirp signal from 1 ms to 1 ks with the sweep modulation function. If a shorter duration is desired, you can prepare a chirp waveform in the .CSV or .MAT file format, upload it to Moku:Lab's Arbitrary Waveform Generator and output it via the custom waveform option.
Moku:Lab laser lock box implements a 2 cascaded direct form I second-order stages IIR filter. It has a fixed sampling rate at 31.25 MHz. The coefficients can be set by set_custom_filter function in pymoku or MATLAB API, or directly loaded on the iPad with a 6 by 2 (6 columns, 2 rows) array as the following: s1 b0.1 b1.1 b2.1 a1.1 a2.1 s2 b0.2 b1.2 b
The Python script below to setups the Waveform Generator in burst (or N-cycle) mode. It generates 20 cycles of a 10 MHz sine wave, 2 Vpp; repeating every 200 us. # # Moku example: Waveform Generator n-cycle burst mode # # This example demonstrates how you can configure the waveform generator # instrument to generate signals in burst mode for a s
Moku:Pro, Moku:Lab, and Moku:Go come with a one year limited warranty. Liquid Instruments warrants that for a period of 12 months from supply these products: will materially comply with the relevant documentation we publish will meet the relevant minimum performance criteria we publish are free from defects in materials and workmanship. This warrant
How can I remotely access Moku:Lab's datalogs? Many of Moku:Labs instruments can log data to either the internal memory or to an SD card in the rear SD slot of Moku:Lab. These files can be upload to DropBox for easy file sharing; but they can also be accessed over a local area network. If your Moku is on a local network you can access the files in a
The Frequency Response Analyzer (FRA) provides response plots of magnitude and phase. While the phase is expressed in degrees, the magnitude is expressed in terms of dBm power. This is a log scale of power expressed in dB relative to 1 milliWatt. How is this magnitude in dBm calculated in Moku:Lab’s FRA? Let us take a simple example. We will set the
Connecting to your Moku's WiFi access point Each Moku is equipped with an onboard WiFi access point, which is useful for initial device setup and instrument control without the need for Ethernet or any other WiFi network. Your Moku will have the access point turned on by default. However, if you have turned off the access point, please refer to this
Example Python script to implement the Frequency Response Analyzer (plotting) # # moku example: Plotting Frequency Response Analyzer # # This example demonstrates how you can generate output sweeps using the # Frequency Response Analyzer instrument, and view transfer function data # in real-time. # # (c) 2024 Liquid Instruments Pty. Ltd. # import ma
Moku pricing and instrument upgrade costs are clearly explained on our web store. You may purchase online or request a quotation. Additionally, for Moku:Lab and Moku:Pro, you can select a premium service package and ISO / IEC 17025 NIST traceable calibration.
If you only need the data, simply type “load yourfile.csv” at the MATLAB command prompt. CSV files generated by Moku:Lab’s Data Logger also contain a text header with information about when the data was recorded, the instrument settings, and what each column in the data represents. If you want to import this metadata as well, use the command “moku =
Example Python script to implement the Oscilloscope # # Moku example: Plotting Lock-in Amplifier # # This example demonstrates how you can configure the Lock-in Amplifier # instrument to demodulate an input signal from Input 1 with the reference # signal from the Local Oscillator to extract the X component and generate # a sine wave on the auxiliary
From iPadOS 14, Apple has introduced new app privacy controls. The user has enhanced control over apps and the services to which they have access. Apps are required to gain user permission to access local network resources. The Moku iPad app needs local network access to locate and operate the Moku:Lab. If your iPad cannot locate your Moku:Lab, plea
In this applications note ("EMI filter insertion loss measurement with Moku:Lab's Frequency Response Analyzer") we measure the response of an EMI / RFI filter and compare to the manufacturers data sheet
To return to the main instrument menu in the Windows App, click the back arrow on the top left corner. A new instrument can now be launched from the menu.
These two Python scripts accompany the application note “Measuring Impedance with Moku:Go, part 1, resistance”. One port method # moku example: Single-Port Impedance Test # # This example demonstrates how you can take an impedance of a device under # test using the single-port method # # Initializing the Instrument and Functions from moku.instrume
Example Python script to implement the Spectrum Analyzer # # Moku example: Basic Spectrum Analyzer # # This example demonstrates how you can use the Spectrum Analyzer instrument to # to retrieve a single spectrum data frame over a set frequency span. # # (c) 2023 Liquid Instruments Pty. Ltd. # from moku.instruments import SpectrumAnalyzer # Launch S
Moku:Lab power supply is 12v, 20W typical and up to 30W when charging an external device via the USB type A port. Moku:Lab is supplied with a 100-240V power module, model CINCON Electronics TRG45A120, rated at 45W. This provides the 12v DC via a 5.5mm DC jack, centre positive.
Once your Moku is fully booted, the LEDs on the front of the device represents the current network status or power status. Moku:Go There is only one LED on Moku:Go and there is no power button. Moku:Go should power on automatically once the magnetic power adapter is connected. The LED colors on Moku:Go indicate the power status and the firmware upda
To invert your controller's response you can enter negative values into the control matrix to invert one or both input signals.
Moku Lock-In Amplifier uses dual-phase demodulation to determine the X and Y components of a signal. The phase of the demodulation signal can be shifted in Python by adjusting the demodulation signal properties. This example demonstrates how the demodulation signal phase can be adjusted. # # Moku example: Phase change in Moku Lock-In Amplifier #
Download the package from the LabVIEW API page and double-click to begin the installation process. The package is installed using the JKI VI Package Manager (VIPM). This is a community tool that manages LabVIEW Add-ons and typically installs with LabVIEW. The VIPM Desktop App can also be downloaded here . Once installed, an entry entitled “Liqui
Example Python script to implement the Waveform Generator with trigger # # Moku example: Waveform Generator Triggering # # This example demonstrates how you can use the Waveform Generator instrument # to generate a gated sinewave on Channel 1, and a swept frequency squarewave # on Channel 2. # # (c) 2024 Liquid Instruments Pty. Ltd. # from moku.inst
Moku:Lab is able to source and sink 20 mA. The output amplifiers in particular is capable of sourcing and sinking 100 mA.
Sharing saved data logs Data that has been recorded in the Data Logger can be exported from the icon at the top of the instrument, or from the File Manager in the main instrument menu. From this window, you can download files that have been saved on to the device, and optionally convert them to CSV, HDF5, MATLAB, or Numpy formats. Saving and shari
100:1 probes are commonly used to measure higher voltages. Such probes have a 100 MΩ impedance and thus divide the measured voltage by a factor of 100 when used with the 1 MΩ input impedance option on Moku devices. The Moku Oscilloscope incorporates a probe scale factor to display the measured signal with the correct scale; tap on the 'Probe' scali
The Laser Lock Box supports a number of different locking techniques including Pound-Drever-Hall (PDH) locking, Fringe-side locking, Tilt locking, RF locking, and Dither locking.
Accessing instrument tutorials Basic tutorials for each instrument are available in the iPad App. To access these tutorials, deploy the desired instrument and press the main menu button at the top left of the screen, then select “Show Help”.
Sweep mode is a feature of the Waveform Generator instrument that changes the waveform frequency linearly over time. This is sometimes called a "chirp". The start of this sweep can happen automatically ("Internal" trigger), or in response to an event. When a trigger occurs, either automatically or in response to an event, waveform generation will be
The output offset affects both the PID and scan/oscillator output. Offsets to the oscillator and scan signal can be added through the output offset.
How can I create a 'Max Hold' in Python on the Moku's Spectrum Analyzer The Moku's Spectrum Analyzer includes a math channel on both the iPad and Windows app. This math channel has a useful 'max hold' function. The attached Python script deploys a Spectrum Analyzer instrument, sweeps the frequency and captures this data into Python. Within Python, w
Example MATLAB script to implement the Frequency Response Analyzer %% Basic Frequency Response Analyzer Example % % This example demonstrates how you can generate a single output sweep on % the Frequency Response Analyzer instrument, and print the resulting transfer function % data. % % (c) Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip =
Over voltage protection on inputs, what is the maximum input voltage? The maximum voltage range for the Moku:Lab inputs is ± 5 volts. Moku:Lab has input protection to reduce the chances of accidental damage. Each input has a sensing circuit that protects it from over voltage events. If a voltage beyond ±7.5 V is present then the inputs will be disco
Moku:Lab Laser Lock filter filter configuration Yes! The low-pass filter corner frequency can be tuned from 1 kHz to 14 MHz. You can also select different filter types including Butterworth, Chebyshev I & II, Elliptic, Cascaded, Bessel, Gaussian and Legendre to notch troublesome resonances.
It is often useful to be able to configure a controller’s transfer function before implementing it. When the ‘P’, ‘I’, ‘D’, ‘I+’, ‘IS’, or ‘DS’ buttons are orange, any changes you make to those parameters will not take effect until you tap the button again and it turns green or purple. This feature is only available for Moku:Lab and Moku:Pro on the
By default, each channel shows the ratio of the input to the output, In / Out. This is useful for measuring the transfer function of a device under test. The math channel allows you to plot different combinations of Ch 1 and Ch 2. If the output amplitudes of both channels are set to the same value, then viewing the math channel as Ch 1 / Ch 2 will s
Example of two channel arbitrary waveform generator This application note ("Arbitrary Waveform Generator Dual Channel Synchronized Pattern Generator for 2d arbitrary beam steering") illustrates the use of MATLAB to generate and upload a calculated waveform to Moku:Lab. The waveform is then displayed in the X-Y mode of the Moku:Lab's oscilloscope.
MATLAB controls multiple Moku:Labs Yes you can! You can connect to as many Moku:Labs as you want to in the same script and control them all in the same script. In this example we deploy and Oscilloscope on Moku #1 and a Lock-In Amplifier on Moku #2 %% Multi Moku:Lab Example % % This example demonstrates how you can configure multiple Moku:Labs % at
Example Python script to implement the Oscilloscope (plotting) # # Moku example: Plotting Oscilloscope # # This example demonstrates how you can configure the Oscilloscope instrument, # and view triggered time-voltage data frames in real-time. # # (c) 2023 Liquid Instruments Pty. Ltd. # import matplotlib.pyplot as plt from moku.instruments import Os
Example Python script to implement the Lock-in Amplifier # # Moku example: Basic Lock-in Amplifier # # This example demonstrates how you can configure the Lock-in Amplifier # instrument to demodulate an input signal from Input 1 with the reference # signal from the Local Oscillator to extract the X component and generate # a sine wave on the auxilia
The setpoint of Moku:Lab PID is controlled by the input offset. The error signal is offset by the value user entered here. This effectively make the setpoint be negative input offset.
The Moku:Lab's Frequency Response Analyzer provides a simple and accurate way to measure the response of an inductor over frequency. The below application note covers this topic, including capturing the response data to a CSV file and plotting the impedance versus frequency then comparing it to the component data-sheet A guide to measuring impedance
Example Python script to implement the Phasemeter # # moku example: Basic Phasemeter # # This example demonstrates how you can configure the Phasemeter # instrument to measure 4 independent signals. # # (c) 2024 Liquid Instruments Pty. Ltd. # from moku.instruments import Phasemeter # Connect to your Moku by its ip address using Phasemeter('192.168.#
Yes! The low-pass filter corner frequency can be tuned from 1 kHz to 14 MHz. You can also select different filter types including Butterworth, Chebyshev I & II, Elliptic, Cascaded, Bessel, Gaussian and Legendre to notch troublesome resonances.
How do I access the log file from MATLAB The Moku:Lab's Datalogger can be configured and launched from within a MATLAB script. Once the log file is captured it can be downloaded over the network to the MATLAB PC for local analysis. This MATLAB script is an example of how to create and download the log file remotely. %% Basic Datalogger Example % % T
Please contact support@liquidinstruments.com if your products require repair. The typical turnaround time for repairs is 10 business days. If a fee is required, Liquid Instruments will provide you with a quote and obtain your approval before commencing any repairs.
Moku Laser Lock Box has output voltage limiters designed for exactly this purpose. You can set arbitrary high and low limits on each output and the control signals will be clamped to these levels, preventing damage to sensitive actuators. For example, in the screenshot below, the limits block is configured with a high limit of 1 Volt and a low limit
Moku:Pro has the ability to supply an external 10 MHz reference clock to other test and measurement device. It also has an external reference clock input, which allows the Moku:Pro to lock to an external 10 MHz reference provided by another Moku or other test and measurement equipment. The reference clock input and output are on the rear panel. Mok
Custom waveforms in Arbitrary Waveform Generator You can generate customized, fully arbitrary waveforms with Moku's Arbitrary Waveform Generator. Define the waveform you need in a simple text file. For Moku:Lab, the file can be loaded from the SD card, the iPad app, or Windows app. For Moku:Go and Moku:Pro, the file and be loaded from the iPad, Wind
Example Python script to implement the Waveform Generator # # Moku example: Waveform Generator Basic # # This example demonstrates how you can use the Waveform Generator # instrument to generate a sinewave on Channel 1 and a squarewave on Channel 2. # # (c) 2023 Liquid Instruments Pty. Ltd. # from moku.instruments import WaveformGenerator # Launch W
Alternatives to using Moku:Lab with iPad Yes! You can interact with Moku:Lab using Python, LabVIEW and MATLAB from any computer running Mac OS, Windows or Linux. Additionally, we now have a Windows App in beta. Find more information here: Windows
Custom waveform upload to Moku:Lab's Arbitrary Waveform Generator You can load custom (arbitrary) waveforms from your iPad’s clipboard, the “Files app”, or choose from files saved directly on Moku:Lab’s SD card. Files formatted with comma- or newline-delimited text are supported.
Moku:Lab and Moku:Pro Waveform Generators have fixed 50 Ω load resistors. When you connect the output to a 50 Ω device, the output voltage distributes to the internal load and external load equally. When you connect the output to a high-z device, most of the voltage distributes to the external load. Changing the 'Load'/'Term' on the user interface d
Installing the iPad Moku:Lab app Open the App Store on your iPad. Search for the Moku:Lab application and verify that the publisher is Liquid Instruments. Download and Install Moku:Lab on your iPad.
The Moku:Lab Frequency Response Analyzer is well suited to producing Bode plots for control loop stability and analysis. This application note, "Power Supply Stability" discusses the setup and analysis of the control loop of a linear regulator power supply. Another application note, "Laser Locking with Closed-loop Transfer Function Measurement", dem
Moku:Lab; front and rear panel; ports and interfaces Moku:Lab front side layout: From left to right: Two analog inputs (BNC): signal input channels Power button / status LED: powers on or off the Moku:Lab, indicating the status of the Moku:Lab (for more information, check out how to turn on the Moku:Lab here and find out more on the status LED here)
Yes. The built-in oscilloscope can perform FFT at every probe point. The FFT feature can be accessed via the Math function. However, the resolution bandwidth (RBW) is proportional to the sampling rate because the embedded FFT lacks a superheterodyne structure. If a higher spectral resolution is required, we recommend switching to the Spectrum Analyz
Ethernet connection setup When Moku:Lab powers on for the first time, it will be in its factory default state with the ethernet connection enabled. Simply connect an ethernet cable form your router to the ethernet port on the rear of the Moku:Lab to connect it to the network. The Moku:Lab will request an IP address via DHCP and will be discoverable
Moku:Lab can consume 20W and has both passive (heatsink) and active (fan) cooling. During use, ensure that the rear fan outlet, located immediately above the SDcard slot, is free of obstructions. Moku:Lab's metal casing also serves to cool the electronics and will get hot during use, up to 45C (25C above ambient of 20C). This is entirely normal
Identify Moku:Lab by name Giving each Moku:Lab a unique name is especially useful when there are multiple Moku:Labs on the same network, so you can easily identify to which Moku:Lab you are connecting. You can set or change the name of your Moku:Lab through our iPad App and Windows App. iPad App Launch the iPad App. Tap on the Moku:Lab you would lik
Moku:Labs output reference clock at 10MHz Moku:Lab provides a reference clock output on the rear panel. This can be used to synchronize to other items of lab test and measurement equipment. This clock output is fixed at 10 MHz, -3 dBm (50ohms) or 500 mVpp. However, many of our instruments (Oscilloscope, Phasemeter, Datalogger, Phasemeter, Spectrum
Initial set up of Moku:Lab WiFi connection When your Moku:Lab is powered on for the first time, it will be in its factory default state - it will broadcast a Wireless Access Point and Ethernet will be enabled. To configure your Moku:Lab to join an existing network, we recommend using our iPad app for the setup process. Join the Moku:Lab's Wireless A
There are multiple ways to determine the IP address of your Moku depending on the software interface you use. The recommended methods are through the iPad App, the Windows App, and using the Moku CLI command line utility. iPad App Tap and hold your Moku in the Select your device menu; a window will open to show the Moku's IP address, along with fir
The integrator or differentiator crossover frequencies are the frequencies where the integrator or differentiator gain is equal to the proportional gain (or 1 in cases when the proportional gain is not enabled). For the integrator, the gain is inversely proportional to frequency. For the differentiator, the gain is proportional to frequency. With 0
ISO/IEC 17025 calibration standard ISO/IEC 17025 establishes a global standard for instrument calibration and testing. It specifies the general requirements for the competence to carry out tests and/or calibrations. Laboratories use ISO/IEC 17025 to implement a quality system aimed at ensuring their ability to consistently produce valid results and
The connectors (outer shields) of the input and output BNC ports are connected to the power supply's ground. Moku:Lab is referenced to earth ground when it's plugged into a three-pronged outlet.
Files formatted with comma- or newline-delimited text are supported for data logging. Alternatively, binary (.LI) files are supported as well and can be later converted to comma- or newline-delimited text.
Moku:Lab's Lock-in Amplifier supports either I and Q (X and Y) or R and theta outputs. Tap "Rect" or "Polar" in the signal path to switch between the two options.
Example Python script to implement the Spectrum Analyzer (plotting) This example Python script shows how to setup Moku:Lab's Spectrum Analyzer instrument and how to plot the data in real time. This example is not compatible with Moku:Go or Moku:Pro. # # Moku example: Plotting Spectrum Analyzer # # This example demonstrates how you can configure the
Example MATLAB script to implement the Lock-in Amplifier (basic) %% Basic Lock-in Amplifier Example % % This example demonstrates how you can configure the lock-in amplifier % instrument. % % (c) 2017 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip = input('Please enter your Moku:Lab IP address: ', 's'); % Connect to your Moku and deploy t
To rapidly set the both channels in the Oscilloscope to use the same scaling, follow these steps: Tap to select a trace and set the scale to best match your signal Hold down on the same trace to open the channel menu Select "Sync channel scales" to map the same settings to the other channel After completing these steps, you should see both channels
Logging data to the SD card Moku:Lab has one SD card slot on the rear panel and each Moku:Lab is supplied with one 16 GB class 10 SD card. Other Moku hardware will have locations available for saved files, please refer to your hardware user manual for details. On Moku:Lab, most of the instruments have logging functions that permit logging to the SD
Many of the Moku:Pro instruments, for example the Datalogger, Lock-in Amplifier, Digital Filter Box and PID Controller integrate the ability to log data to the Moku:Pro's internal SSD storage. You can access a list of Moku datafile at <moku.ip.address>/api/ssd/list and then downloaded by : <moku.ip.address>/api/ssd/download/<filename
Moku:Lab intelligently downsamples the input signal by averaging. The number of effective bits increases as the sampled ADC points are downsampled. For example, if the signal amplitude is 0.3 mV, but the least significant bit of the ADC is 1 mV, it would appear that the signal could not be detected. However, when the signal is digitized, time sequen
Moku:Lab uses a digitally implemented phase-locked loop architecture to measure the phase, frequency, and amplitude of a signal. If you are seeing an unexpected and constant drift in your phase measurement, it can be due to frequency settings at the output or the input side. You can adjust Moku:Lab's Phasemeter with the following settings to remove
The maximum achievable closed-loop bandwidth is determined by the signal propagation delay through the PID instrument. For the Moku:Lab, this is approximately 800 ns; resulting in a 30 degree phase delay at 100 kHz. For the Moku:Go, this propagation delay is approximately 3.6 μs. For the Moku:Pro, this propagation delay is 520 ns.
Python implementation of Arbitrary Waveform Generator and oscilloscope Moku's Arbitrary Waveform Generator (AWG) can be deployed within Python to drive output signals. At the same time, the Python AWG can be used as an oscilloscope to view the output signal. In order to do so, you would need to loop back output 1 to input 1. This is implemented in t
When using MATLAB or Python APIs, the script should ideally release the connection to the Moku once it finishes. This is done with : i.relinquish_ownership() Sometimes the connection is not released. It is possible to force the new API connection with : force_connect=True For example : i = LockInAmp(' 192.168.xxx.xxx ', force_connect=True)
In October 2023 we updated the Python API to version 3.1.1. There are a few steps to update your Moku, the Moku: app and then the Python API Download and install the Moku: app v3.1 : https://www.liquidinstruments.com/products/desktop-apps/ Launch the Moku: app and connect to your Moku; if needed, it will prompt a firmware update to version 587 Down
Example Python script to implement the IIR Filter Box (plotting) # pymoku example: Plotting IIR Filter Box # # This example demonstrates how you can configure the IIR Filter instrument, # configure real-time monitoring of the input and output signals. # # (c) 2019 Liquid Instruments Pty. Ltd. # from pymoku import Moku from pymoku.instruments import
Example Python script to implement the PID controller (plotting) # # Moku example: PID Controller Plotting Example # # This script demonstrates how to configure both PID Controllers # in the PID Controller instrument. Configuration on the Channel 1 # PID is done by specifying frequency response characteristics, # while Channel 2 specifies the gain c
Your options for Moku calibration Each Moku model is calibrated at the factory by a Liquid Instruments-approved process to ensure each instrument meets the design specifications. This applies to Moku:Go, Moku:Lab and Moku:Pro. For Moku:Lab and Moku:Pro, Liquid Instruments has partnered with Tektronix to offer optional ISO/IEC 17025 NIST traceable ca
In October 2023 we updated the MATLAB API to version 3.3.1 There are a few steps to update your Moku, the Moku: app and then the MATLAB API Download and install the Moku: app v3.1 : https://www.liquidinstruments.com/products/desktop-apps/ Launch the Moku: app and connect to your Moku; if needed, it will prompt a firmware update to version 587 Downl
We want you to be satisfied with your purchase. For equipment purchased directly from Liquid Instruments, you may return your undamaged Moku:Pro, Moku:Lab, or Moku:Go within 30-days of purchase for any reason. Equipment must be returned with original packaging and accessories or you may be charged a restocking fee. To initiate a return, please email
Moku:Lab and Moku:Pro have an external trigger port, located on the rear panel. This can be used to trigger Moku Waveform Generator. The latency from external trigger event to output waveform is : External trigger to output waveform latency Moku:Pro 340 ns Moku:Lab 400 ns
Example Python script to implement the Laser Lock Box # # Moku example: Basic Laser Lock Box # # This example demonstrates how you can configure the Laser Lock Box # Instrument and monitor the signals at Input 1 and Input 2. # # (c) 2023 Liquid Instruments Pty. Ltd. # from moku.instruments import LaserLockBox # Launch Laser Lock Box and connect to y
The Moku Spectrum Analyzer can be configured to generate two independent sine waves up to 500 MHz each on the Moku analog outputs. Device Number of outputs Frequency Moku:Pro 4 500 MHz Moku:Lab 2 250 MHz Moku:Go 2 20 MHz In the iPad App, open the instrument Configuration Panel by tapping on the settings icon (located on the top-right corner of t
Example Python script to implement the Digital Filter Box (basic) # # Moku example: Plotting Digital Filter Box # # This example demonstrates how you can configure the Digital # Filter Box instrument to filter and display two signals. Filter # 1 takes its input from Input1 and applies a lowpass Butterworth # filter. Filter 2 takes its input from Inp
Example Python script to implement the Oscilloscope # # Moku example: Basic Oscilloscope # # This script demonstrates how to use the Oscilloscope instrument # to retrieve a single frame of dual-channel voltage data. # # (c) 2023 Liquid Instruments Pty. Ltd. # from moku.instruments import Oscilloscope # Launch Oscilloscope and connect to your device
Spectrum Analyzer peak tracking using the iPad App To track a peak, simply drag out a new marker from the ruler button at the bottom right corner. Track multiple peaks on a single channel by dragging markers directly to the peaks you want. The Measurements Panel is also marker-aware. Make measurements based on a marker’s characteristics such as ampl
Moku:Pro incorporates a patented blending scheme to deliver a low noise floor and high dynamic range from 10 Hz to 600 MHz. In test and measurement, flexibility has typically demanded tradeoffs in performance. Liquid Instruments has overcome these tradeoffs by blending signals from a high speed 5 GSa/s, 10 bit ADC and a lower speed 10 MSa/s 18 bit A
Example Python script to implement the Data Logger (streaming) # # Moku example: Basic Datalogger streaming # # This example demonstrates use of the Datalogger instrument to # stream time-series voltage data and plot it using matplotlib # # (c) 2023 Liquid Instruments Pty. Ltd. # import matplotlib.pyplot as plt from moku.instruments import Datalogge
Example MATLAB script to implement the PID Controller (plotting) %% Plotting PID Controller Example % This script demonstrates how to configure a single PID Controller in the % PID Controller instrument by specifying its frequency response % characteristics. The input and output and output signal of this PID are % also plotted in real time. % % (c)
Sometimes your data acquisition and control system just needs more input or output channels. If you need more inputs or outputs, it is easy to synchronize multiple Moku:Labs or Moku:Pros via their 10MHz reference clocks. With this, they will share a common frequency reference so can generate frequency-locked waveforms and make coherent phase measure
Yes, you can! To change the color of each trace, tap the menu icon ->"Preferences" -> tap on the color that you wish to change and select from the available colors. In this way you can improve visibility for those with a color vision deficiency, or just match your existing instrumentation.
Moku: is available on Windows, macOS, iPadOS and visionOS. Moku APIs are available for Python, MATLAB, LabVIEW, and other programming languages. The APIs can be used on any operating system or environment that is able to use HTTP, including Linux, Raspberry Pi, and even Arduino.
Example Python script to implement the Phasemeter (plotting) ## Moku example: Plotting Phasemeter## This example demonstrates how you can configure the Phasemeter instrument# and collect live samples from it's output.# The signal amplitude is calculated using these samples, and plotted for# real-time viewing.## (c) 2023 Liquid Instruments Pty. Ltd.#
Example Python script to implement the Phasemeter (streaming). # Moku example: Phasemeter networking streaming # # This example starts a 10-second network stream of Channel 1 Phasemeter data # and processes it live. The contents of each data sample are printed out, # along with the signal amplitude which may be calculated as A = sqrt(I^2 + Q^2). # #
Example Python script to implement the Data Logger (basic) # # Moku example: Basic Datalogger # # This example demonstrates use of the Datalogger instrument to log time-series # voltage data to a (Binary or CSV) file. # # (c) 2023 Liquid Instruments Pty. Ltd. # import os import time from moku.instruments import Datalogger # Launch Datalogger and con
MATLAB getting started Our MATLAB integration fuses Moku hardware with the computational power of MATLAB. Configure instrument parameters, perform automated data analysis, and generate real-time animations of experimental data, directly from MATLAB. For my information, please visit our API reference page. For MATLAB 2015+ Download Moku:Lab's MATLAB
Example MATLAB script to implement the Spectrum Analyzer %% Basic Spectrum Analyzer % % This example demonstrates how you can use the Spectrum Analyzer instrument % to retrieve a single spectrum data frame over a set frequency span. % % (c) 2017 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip = input('Please enter your Moku:Lab IP address:
The "roll" setting on the timebase control panel is especially useful for slow-changing signals, typically with a timebase of greater than approximately 100 ms/div. Rather than responding to trigger events, the oscilloscope will provide a continuously scrolling signal display with the effective trigger point set at the far right of the trace display
Example MATLAB script to implement the IIR Filter Box (basic). %% Basic IIR Filter Box % % This example demonstrates how you can generate Chebyshev filter % coefficients to configure the IIR Filter Box. It also shows how to % retrieve signal monitor data. % % NOTE: This example requires installation of the MATLAB Signal Processing % Toolbox to gener
Moku:Lab's Digital Filter Box implements infinite impulse response (IIR) filters using four cascaded Direct Form I second-order stages with a final output gain stage. To specify a filter, you must supply a text file containing the filter coefficients. The file should have six coefficients per line, with each line representing a single stage. If outp
Example Python script to implement the Laser Lock Box (plotting) # # Moku example: Basic Laser Lock Box # # This example demonstrates how you can configure the Laser Lock Box # Instrument and monitor the signals at Input 1 and Input 2. # # (c) 2023 Liquid Instruments Pty. Ltd. # from moku.instruments import LaserLockBox # Launch Laser Lock Box and c
The Moku:Lab Spectrum Analyzer can display the spectrum amplitude in various units (dBm, Vrms, Vpp and dBV). Additionally, you can select corresponding power spectral density (PSD) units (dBm/Hz, Vrms/√ Hz, Vpp/√Hz and dBV/√ Hz). It is worth noting that the Resolution Band Width (RBW) setting only affects the measurement in PSD units. Below is an
The Raman effect was first discovered in the 1920s by C.V. Raman. It is a widely used spectroscopic method to determine the vibrational modes of molecules. In this application note, we describe how Moku:Lab’s Lock-in Amplifier is implemented in a state-of-art stimulated Raman imaging setup at Boston University.
Desktop app axis scale adjustment In the Desktop app for Windows and macOS, to adjust the y-axis scale: click to select the trace to zoom, then hover the cursor above the plot and scroll up to zoom in and scroll down to zoom out. To adjust the x-scale: hover the cursor above the plot, hold down Ctrl key, then scroll up to zoom in and scroll down to
Yes! Cursors are great tools for taking accurate measurements in Moku instruments. Adding cursors There are three ways to add cursors to the active trace. First, click a trace you wish to add a cursor to to make it active, then: Right click to select a cursor option Click or drag out from the cursor button in the bottom-left Use the keyboard shortcu
The Moku Phasemeter measures the phase of the input signal with reference to the phasemeter's Local Oscillator, derived from the on-board clock source. The frequency of the local oscillator is set by the 'Frequency' option under the 'Channels' pane. Moku uses very stable on-board reference clocks by default, however you can also synchronize Moku wit
How can I configure my Moku to use a fixed (static) IP address? Each Moku device can be configured the use a fixed, or static, IP address. This is useful if your network does not have a DHCP server, or if you need to set custom firewall rules to allow the Moku to work properly. It can also make manual connection easier if your network settings do no
Example MATLAB script to implement the Data Logger (basic) %% Basic Datalogger Example % % This example demonstrates use of the Datalogger instrument to log % time-series voltage data to a (Binary or CSV) file. % % (c) 2017 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip = input('Please enter your Moku:Lab IP address: ', 's'); % Connect to
iOS / iPadOS requirements for Moku:Lab iPad app The minimum iOS version requirement for the Moku:Lab App is iOS 9.0.
Example Python script to implement the Frequency Response Analyzer (basic) # # Moku example: Basic Frequency Response Analyzer # # This example demonstrates how you can generate output sweeps using the # Frequency Response Analyzer instrument, and view one frame of the transfer # function data. # # (c) 2023 Liquid Instruments Pty. Ltd. # from moku.i
Yes! Moku:Lab’s Digital Filter Box implements infinite impulse response (IIR) filters using 4 cascaded Direct Form I second-order stages with a final output gain stage. To specify a filter, you must supply a text file containing the filter coefficients. The file should have 6 coefficients per line, with each line representing a single stage. If outp
Once Moku APIs are installed, you can access the documentation by typing 'help moku' in the command window. More comprehensive documentation, including getting started guides and detailed instrument references, are available on the Liquid Instruments API page.
Example MATLAB script to implement the Oscilloscope (plotting) %% Plotting Oscilloscope Example % % This example demonstrates how you can configure the Oscilloscope instrument, % and view triggered time-voltage data frames in real-time. % % (c) 2017 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip = input('Please enter your Moku:Lab IP addr
Moku:Go First, connect the magnetic power adapter from an outlet to the side of Moku:Go. A grounded power source is required for using Moku:Go, it cannot be used with only USB-C power. Moku:Go will power on automatically once the power adapter is connected and an orange LED should turn on in the front of the device. After a few minutes, this LED wil
Yes! A user-configurable PID controller is integrated into the Lock-in Amplifier signal processing chain. To enable the PID controller, tap the Configuration icon on the top right corner and you can add the PID controller to the main output or auxiliary output depending on your configuration. For more advanced applications, the Lock-in Amplifier can
How do I visualize the time-series of the spectrum ? Moku:Lab's Spectrum Analyzer has a unique time-series 'waterfall' view. Touch and hold on the main spectrum analyzer display and select 'Waterfall view'.
In Moku:Lab's Phasemeter, Power Spectral Density (PSD) and the Amplitude Spectral Density (ASD) are calculated in the iPad App using Welch’s method of overlapping periodograms with a 50% overlap and a Hanning window. The number of points is either 512, 1024, or 2048 depending on the sampling rate chosen.
Yes! This is a common use case, though depending on your application it may be covered better by using the Laser Lock Box instrument. The Lock-in Amplifier instrument has two outputs. Output 1 is designated for the demodulated signal output (X, Y, R, or Theta). Output 2 can output either a demodulated signal (Y or Theta), the local oscillator, or an
Example MATLAB script to implement the Data Logger (streaming) %% Livestream Datalogger Example % % This example demonstrates how you can use the Datalogger to live-stream % dual-channel voltage data over the network. % % (c) 2017 Liquid Instruments Pty. Ltd. % %% Connect to your Moku ip = input('Please enter your Moku:Lab IP address: ', 's'); % Con
Example Python script to implement the FIR Filter Builder (plotting) # # Moku example: FIR Filter Builder Plotting Example # # This script demonstrates how to generate an FIR filter kernel with specified # parameters using the scipy library, and how to configure settings of the FIR # instrument. # # # (c) 2023 Liquid Instruments # from moku.instrume
How do I install the Moku library and use Python with my Moku device? Install the Moku package via Python pip. Detailed instructions can be foundin the Getting Started with Python module in the Moku API. Getting Started with Python | Moku API
Once you install the Moku: app on the iPad or PC, internet access is optional. You can use your Moku device wirelessly, or with wired ethernet on a local network. Some cloud-based features, such as upload data to Dropbox, require the internet. If more restricted rules apply to your organization, Moku can also be used through a USB connection. Detai
How to find a specific Moku within a lab In a lab with several Mokus, it is possible to lose track of which Moku you are controlling on the iPad. The colored LEDs on Moku:Lab and Moku:Pro make device identification easy. Go to "select your device". Each Moku on your local network will be displayed outlined with a colored circle with the color matchi
Keep your Moku instruments up to date Liquid Instruments regularly updates and improves our instruments with new version releases. Updating the instruments is as simple as updating the iPad or Desktop app. If using the iPad, simply update your Moku: app from the App Store. Next time you connect to your Moku, the app will ensure that the Moku is up t
Burst Mode is an option of the Waveform Generator and Arbitrary Waveform Generator instruments that starts and stops the generation of a signal based on a trigger. It has three behaviors that can be selected: Start mode: start generating a signal from a trigger event. N cycle mode: output a predefined number of periods for a given signal. Gated mode
Connecting without WiFi Your Moku can be connected to an iPad or computer without WiFi: Wired ethernet USB, see Moku:Lab via USB and Windows or Using Moku via USB and iPad How to disable WiFi By default, Moku will advertise its own WiFi network and it can also connect to other WiFi networks. In order to disable both these functions, you can put your