Can I control more than one Moku:Lab device within the same MATLAB script?
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);