LabOne MATLAB Driver, Utilities and Examples
© Zurich Instruments AG

This folder contains the necessary files to perform measurements with your
Zurich Instruments device Instrument under MATLAB. It contains the following
subfolders and files:

- "README.txt", this file
- "Driver", a subfolder containing the MATLAB driver interface (MEX file)
   and a help file
- "Examples", a subfolder containing instrument-specific examples under
   folders like UHF or HF2, instrument-independent examples under Common.
- "Utils", a subfolder containing some ziDAQ-based utility functions
- "ziAddPath.m", a MATLAB function that adds the "Driver", "Examples" and
  "Utils" subdirectories to MATLAB's Search Path for the current MATLAB

* Requirements

For supported platforms and MATLAB versions please see either:
- or the LabOne Programming Manual (more information below under "Getting

* Running one of the provided examples

In order to run one of the examples in one of the "Examples" subdirectories
please perform the following steps:
- Start the instrument and make sure that the correct Data Server is running
  (task manager on windows)
- On the Instrument, connect Signal Output1 to the Signal Input1 by means of a
  BNC cable
- Start MATLAB
- Navigate to this folder in MATLAB
- Run the MATLAB function ziAddPath.m with the call "ziAddPath"
- Start an example by calling the example by name in MATLAB with your device
  ID as the only input argument, e.g.,
  >> example_poll('dev123')

In the MATLAB command window you should get messages similar to the following:

>> ziAddPath
Added ziDAQ's Driver, Utilities and Examples directories to MATLAB's path
for this session
To make this configuration persistent across MATLAB sessions add the following
line to your MATLAB startup.m file:
run('C:\Program Files\Zurich Instruments\LabOne\API\MATLAB2012\ziAddPath');

>> example_data_acquisition_continuous('dev123') % Change dev ID as appropriate
ziDAQ version Jun 9 2018 accessing server localhost.
Measured rms amplitude 0.353972V (expected: 0.353553V)

* Getting help

You may use "help ziDAQ" or "doc ziDAQ" in MATLAB to get more information on
the commands.

Please refer to the LabOne Programming Manual for more information, it is
available either:
- via a LabOne installation by starting the "Zurich Instruments LabOne
  App" (LabOne UI) and clicking "Documentation" in the Session
  Dialogue of the LabOne User Interface.
- or at