Can I control more than one Moku:Lab device within the same MATLAB script?
-
Moku:Go
Moku:Go Arbitrary Waveform Generator Moku:Go Data Logger 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 Digital Filter Box Moku:Go FIR Filter Builder Moku:Go Lock-in Amplifier
- Moku:Lab
- Moku:Pro
- Python API examples
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 the same time % % (c) 2020 Liquid Instruments Pty. Ltd. % %% Connect to Moku No.1 ip1 = input('Please enter your first Moku:Lab IP address: ', 's'); % Deploy the desired instrument on Moku No. 1 m1 = MokuOscilloscope(ip1); %% Connect to Moku No.2 ip2 = input('Please enter your second Moku:Lab IP address: ', 's'); % Deploy the desired instrument on Moku No. 1 m2 = MokuLockInAmp(ip2);