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.

Please fill out the contact form below and we will reply as soon as possible.

  • Knowledge Base Home
  • Contact Us
  • Home
  • Software integrations
  • MATLAB

Can I control more than one Moku:Lab device within the same MATLAB script?

Written by Paul Cracknell

Updated at December 22nd, 2020

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.

Please fill out the contact form below and we will reply as soon as possible.

  • Moku:Lab Instruments
    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 Waveform Generator
  • Moku:Lab general
    Getting Started with Moku:Lab Using Moku:Lab Hardware
  • iPad app
  • Windows
  • Software integrations
    Python Python examples MATLAB MATLAB examples LabVIEW
+ More

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);
moku:lab

Was this article helpful?

Yes
No

Related Articles

  • Can I deploy more than one instrument on the same Moku:Lab device?
  • Where can I find the documentation for MATLAB APIs?
  • How do I get started with MATLAB and Moku:Lab?

Sitemap

  • Moku:Lab
  • Instruments
  • Software
  • Company
  • Support
  • Store
  • Terms & Conditions
  • Privacy Policy

Offices

United States
+1 (619) 332-6230
740 Lomas Santa Fe Dr
Suite 102
Solana Beach, CA 92075

Australia
+61 2 6171 9730
243 Northbourne Avenue
Suite 2
Lyneham, ACT 2602

Follow us

Youtube LinkedIn

官方微信

Contact us
© 2021 Liquid Instruments. All rights reserved.

Definition by Author

0
0
Expand