Products & Services Solutions Academia Support User Community Company

Learn more about Instrument Control Toolbox   

Examples


Use this list to find examples in the documentation.

Getting Started

Communicating with a GPIB Instrument
Communicating with a GPIB-VXI Instrument
Communicating with a Serial Port Instrument
Communicating with a GPIB Instrument Using a Device Object

Instrument Control Session

Writing Text Data Versus Writing Binary Data
Reading Text Data Versus Reading Binary Data

Controlling GPIB Instruments

Writing and Reading Text Data
Reading Binary Data
Parsing Input Data Using scanstr
Understanding EOI and EOS
Using Events and Callbacks to Read Binary Data
Executing a Trigger
Executing a Serial Poll

Controlling Instruments Using the VISA Standard

Understanding Your Instrument's Register Characteristics
Using High-Level Memory Functions
Using Low-Level Memory Functions

Controlling Serial Port Instruments

Writing and Reading Text Data
Using Events and Callbacks
Connecting Two Modems
Using Software Handshaking

Controlling Instruments Using TCP/IP

Communicating with a Remote Host
Server Drops the Connection
Writing and Reading Data with a TCP/IP Object

Controlling Instruments Using UDP

Communicating Between Two Hosts
Writing and Reading Data with an UDP Object
Using Events and Callbacks

Generic Instrument Drivers

Writing a Generic Driver
Using a Generic Driver with the Test & Measurement Tool
Using a Generic Driver at the Command Line

Saving and Loading the Session

Introduction to Recording Information
Recording Information to Disk

Instrument Driver Editor

Defining Driver Summary and Common Commands
Defining Create Code
Defining Connect Code
Defining Disconnect Code
Creating a Double-Bounded Property
Creating an Enumerated Property
An M-Code Style Property
Simple Function
Function with Instrument Commands that Use Input and Output Arguments
M-Code Style Function
Creating a One-Element Group
Defining the Group Object Properties for a One-Element Group
Creating a Four-Element Group
Defining the Group Object Properties for a Four-Element Group

Instrument Driver Testing Tool

Setting Up a Driver Test
Creating a Test Step: Set Property
Creating a Test Step: Get Property
Creating a Sweep Step to Test All Properties
Creating a Test Step: Function
Creating a Driver Test Function
Calling a Driver Test Function from the MATLAB Command Window
Running a Complete Test
Exporting Test Results to the MATLAB Workspace

Block Library

Sending and Receiving Data Through a Serial Port Loopback
Sending and Receiving Data Via a TCP/IP Network

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS