Main Content

Troubleshooting in Instrument Control Toolbox

Troubleshooting Instrument Control Toolbox Interfaces

How to Use This Troubleshooting Guide

If you have trouble connecting to or communicating with an instrument, try the suggestions in this guide.

Is My Hardware Supported?

Supported interface and platform information for the toolbox.

Troubleshooting I2C Interface

Troubleshoot the I2C interface.

Troubleshooting SPI Interface

Try these tips if you have problems using the toolbox with the SPI interface. Includes information about SPI supported platforms, adapter requirements, and configuration and connection.

Troubleshooting TCP/IP Client Interface

Troubleshoot the TCP/IP client interface.

Troubleshooting TCP/IP Server Interface

Troubleshoot the TCP/IP server interface.

Troubleshooting UDP Interface

Troubleshoot the UDP interface.

Troubleshooting Serial Port Interface

Troubleshoot the Serial Port interface.

Troubleshooting GPIB Interface

Troubleshoot the VISA-GPIB interface.

Troubleshooting VISA Interface

Troubleshoot the VISA interface.

Troubleshooting IVI and Quick-Control Interfaces

Try these tips if you have problems using the toolbox with the IVI and Quick-Control interfaces. Includes information about supported platforms, adaptor requirements, configuration and connection, and other interface-specific tips.

Hardware Support Packages

The Instrument Control Toolbox™ includes support packages that allow the use of certain classes of instruments. To use any of the instrument support outlined here, install the appropriate support package.

Deploying Standalone Applications with Instrument Control Toolbox

This topic contains tips for deploying standalone applications with MATLAB® Compiler™ (deploytool or mcc) and Instrument Control Toolbox. Refer to these tips when creating standalone applications that use functionality from Instrument Control Toolbox.

Contact bat365 and Use the instrsupport Function

Use the instrsupport function to access diagnostic information.

Troubleshooting Connection Errors

Resolve TCP/IP Client Connection Errors

Troubleshoot creating a TCP/IP client.

Resolve TCP/IP Server Connection Errors

Troubleshoot creating a TCP/IP server.

Resolve UDP Port Connection Errors

Troubleshoot connecting to a UDP socket.

Resolve Serial Port Connection Errors

Troubleshoot connecting to a serial port device.

Resolve VISA Connection Errors

Troubleshoot connecting to a device using VISA.

Troubleshooting Read Warning Messages

Resolve TCP/IP Client Warning: Unable to Read Any Data

Troubleshoot when you receive no data and you get the warning message: 'tcpclient' unable to read any data.

Resolve TCP/IP Server Warning: Unable to Read Any Data

Troubleshoot when you receive some data and you get the warning message: 'tcpserver' unable to read any data.

Resolve TCP/IP Server Warning: Unable to Read All Data

Troubleshoot when you receive some data and you get the warning message: 'tcpserver' unable to read all requested data.

Resolve UDP Port Warning: Unable to Read Any Data

Troubleshoot when you receive no data and you get the warning message: 'udpport' unable to read any data.

Resolve UDP Port Warning: Unable to Read All Data

Troubleshoot when you receive some data and you get the warning message: 'udpport' unable to read all requested data.

Serialport Warning - Unable to Read Any Data

Try these remedies when you receive no data, and you get the warning message: 'serialport' unable to read any data.

Serialport Warning - Unable to Read All Data

Try these remedies when you receive some data, and you get the warning message: 'serialport' unable to read all requested data.

Resolve VISA Warning: Unable to Read Any Data

Troubleshoot when you receive some data and you get the warning message: 'visadev' unable to read any data.

Resolve VISA Warning: Unable to Read All Data

Troubleshoot when you receive some data and you get the warning message: 'visadev' unable to read all requested data.