Documentation

Instrument Control Toolbox Functions - By Category

Alphabetical List By Category

Interface-Based Instrument Communication

Interface-Based Communication

bluetooth Create Bluetooth object
i2c Create I2C object
spi Create SPI object
tcpip Create TCPIP object
udp Create UDP object
serial Create serial port object
tmtool Open Test & Measurement Tool
fclose Disconnect interface object from instrument
fopen Connect interface object to instrument
fprintf Write text to instrument
fread Read binary data from instrument
fscanf Read data from instrument, and format as text
fwrite Write binary data to instrument
readasync Read data asynchronously from instrument
stopasync Stop asynchronous read and write operations
binblockread Read binblock data from instrument
binblockwrite Write binblock data to instrument
flushinput Remove data from input buffer
flushoutput Remove data from output buffer
得到 Instrument object properties
set Configure or display instrument object properties
propinfo Instrument object property information
disp Display instrument object summary information
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
fgetl Read line of text from instrument and discard terminator
fgets Read line of text from instrument and include terminator
inspect Open Property Inspector
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrhelp Help for instrument object type, function, or property
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
methods Class method names and descriptions
obj2mfile Convert instrument object to MATLAB code
query Write text to instrument, and read data from instrument
record Record data and event information to file
save Save instrument objects and variables to MAT-file
scanstr Read data from instrument, format as text, and parse
serial Create serial port object
size Size of instrument object array

Bluetooth Communication

bluetooth Create Bluetooth object
fopen Connect interface object to instrument
fclose Disconnect interface object from instrument
fprintf Write text to instrument
fread Read binary data from instrument
fscanf Read data from instrument, and format as text
fwrite Write binary data to instrument
fgetl Read line of text from instrument and discard terminator
fgets Read line of text from instrument and include terminator
flushinput Remove data from input buffer
flushoutput Remove data from output buffer
binblockread Read binblock data from instrument
binblockwrite Write binblock data to instrument
query Write text to instrument, and read data from instrument
readasync Read data asynchronously from instrument
stopasync Stop asynchronous read and write operations
scanstr Read data from instrument, format as text, and parse
得到 Instrument object properties
set Configure or display instrument object properties
disp Display instrument object summary information
instrhwinfo Information about available hardware
methods Class method names and descriptions
record Record data and event information to file
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrhelp Help for instrument object type, function, or property
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
instrreset Disconnect and delete all instrument objects
inspect Open Property Inspector
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
obj2mfile Convert instrument object to MATLAB code
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
size Size of instrument object array

I2C Communication

i2c Create I2C object
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
disp Display instrument object summary information
fclose Disconnect interface object from instrument
fopen Connect interface object to instrument
fread Read binary data from instrument
fwrite Write binary data to instrument
得到 Instrument object properties
instrhwinfo Information about available hardware
methods Class method names and descriptions
record Record data and event information to file
set Configure or display instrument object properties

SPI Communication

instrhwinfo Information about available hardware
spi Create SPI object
read Read binary data from SPI instrument
write Write binary data to SPI instrument
writeAndRead Write and read binary data from SPI instrument
methods Class method names and descriptions
disp Display instrument object summary information
connect Connect device object to instrument
disconnect Disconnect device object from instrument
clear Remove instrument objects from MATLAB workspace

MODBUS Communication

modbus Create MODBUS object
read Read data from a MODBUS server
write Perform a write operation to the connected MODBUS server
writeRead Perform a write then read operation on groups of holding registers in a single MODBUS transaction
maskWrite Perform mask write operation on a holding register
instrhwinfo Information about available hardware
clear Remove instrument objects from MATLAB workspace

TCP/IP and UDP Interface

tcpip Create TCPIP object
udp Create UDP object
echotcpip Start or stop TCP/IP echo server
echoudp Start or stop UDP echo server
resolvehost Network name or network address
tmtool Open Test & Measurement Tool
fopen Connect interface object to instrument
fclose Disconnect interface object from instrument
fread Read binary data from instrument
fwrite Write binary data to instrument
fscanf Read data from instrument, and format as text
fprintf Write text to instrument
readasync Read data asynchronously from instrument
stopasync Stop asynchronous read and write operations
binblockread Read binblock data from instrument
binblockwrite Write binblock data to instrument
fgetl Read line of text from instrument and discard terminator
fgets Read line of text from instrument and include terminator
query Write text to instrument, and read data from instrument
scanstr Read data from instrument, format as text, and parse
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
instrhwinfo Information about available hardware
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrreset Disconnect and delete all instrument objects
flushinput Remove data from input buffer
flushoutput Remove data from output buffer
instrcallback Display event information when event occurs

Serial Port Interface

clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
fclose Disconnect interface object from instrument
fopen Connect interface object to instrument
fprintf Write text to instrument
fread Read binary data from instrument
fscanf Read data from instrument, and format as text
fwrite Write binary data to instrument
得到 Instrument object properties
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
propinfo Instrument object property information
readasync Read data asynchronously from instrument
set Configure or display instrument object properties
serial Create serial port object
seriallist List of serial ports connected to your system
stopasync Stop asynchronous read and write operations
binblockread Read binblock data from instrument
binblockwrite Write binblock data to instrument
disp Display instrument object summary information
flushinput Remove data from input buffer
flushoutput Remove data from output buffer
tmtool Open Test & Measurement Tool
fgetl Read line of text from instrument and discard terminator
fgets Read line of text from instrument and include terminator
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrhelp Help for instrument object type, function, or property
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
inspect Open Property Inspector
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
methods Class method names and descriptions
obj2mfile Convert instrument object to MATLAB code
query Write text to instrument, and read data from instrument
save Save instrument objects and variables to MAT-file
scanstr Read data from instrument, format as text, and parse
size Size of instrument object array

GPIB Interface

binblockread Read binblock data from instrument
binblockwrite Write binblock data to instrument
clear Remove instrument objects from MATLAB workspace
clrdevice Clear instrument buffer
delete Remove instrument objects from memory
disp Display instrument object summary information
fclose Disconnect interface object from instrument
fopen Connect interface object to instrument
fprintf Write text to instrument
fscanf Read data from instrument, and format as text
得到 Instrument object properties
gpib Create GPIB object
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
propinfo Instrument object property information
set Configure or display instrument object properties
spoll Perform serial poll on GPIB objects
trigger Send trigger message to instrument
tmtool Open Test & Measurement Tool
fgetl Read line of text from instrument and discard terminator
fgets Read line of text from instrument and include terminator
flushinput Remove data from input buffer
flushoutput Remove data from output buffer
fread Read binary data from instrument
fwrite Write binary data to instrument
isvalid Determine whether instrument objects are valid
inspect Open Property Inspector
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
methods Class method names and descriptions
obj2mfile Convert instrument object to MATLAB code
query Write text to instrument, and read data from instrument
readasync Read data asynchronously from instrument
record Record data and event information to file
save Save instrument objects and variables to MAT-file
scanstr Read data from instrument, format as text, and parse
size Size of instrument object array
stopasync Stop asynchronous read and write operations
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrhelp Help for instrument object type, function, or property
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events

签证接口(包括VXI、PXI、USB)

binblockread Read binblock data from instrument
binblockwrite Write binblock data to instrument
clear Remove instrument objects from MATLAB workspace
clrdevice Clear instrument buffer
delete Remove instrument objects from memory
disp Display instrument object summary information
fclose Disconnect interface object from instrument
fopen Connect interface object to instrument
fprintf Write text to instrument
fscanf Read data from instrument, and format as text
得到 Instrument object properties
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
propinfo Instrument object property information
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
trigger Send trigger message to instrument
visa Create VISA object
visa.spoll Perform serial poll on VISA objects
fgetl Read line of text from instrument and discard terminator
fgets Read line of text from instrument and include terminator
flushinput Remove data from input buffer
flushoutput Remove data from output buffer
fread Read binary data from instrument
fwrite Write binary data to instrument
inspect Open Property Inspector
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
methods Class method names and descriptions
obj2mfile Convert instrument object to MATLAB code
query Write text to instrument, and read data from instrument
readasync Read data asynchronously from instrument
record Record data and event information to file
save Save instrument objects and variables to MAT-file
scanstr Read data from instrument, format as text, and parse
size Size of instrument object array
stopasync Stop asynchronous read and write operations
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrhelp Help for instrument object type, function, or property
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
memmap Map memory for low-level memory read and write operations
mempeek Low-level memory read from VXI register
mempoke Low-level memory write to VXI register
memread High-level memory read from VXI register
memunmap Unmap memory for low-level memory read and write operations
memwrite High-level memory write to VXI register

Driver-Based Instrument Communication

Instrument Driver Communication

connect Connect device object to instrument
clear Remove instrument objects from MATLAB workspace
delete Remove instrument objects from memory
devicereset Reset instrument
disconnect Disconnect device object from instrument
disp Display instrument object summary information
得到 Instrument object properties
icdevice Create device object
inspect Open Property Inspector
instrhelp Help for instrument object type, function, or property
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
invoke Execute driver-specific function on device object
methods Class method names and descriptions
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
得到error Check and return error message from instrument
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
makemid Convert driver to MATLAB instrument driver format
obj2mfile Convert instrument object to MATLAB code
selftest Run instrument self-test
size Size of instrument object array

IVI Driver

add Add entry to IVI configuration store object
clear Remove instrument objects from MATLAB workspace
commit Save IVI configuration store object to data file
devicereset Reset instrument
disp Display instrument object summary information
fgen Create Quick-Control Function Generator object
得到 Instrument object properties
得到Waveform Returns waveform displayed on scope
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
iviconfigurationstore Create IVI configuration store object
oscilloscope Create Quick-Control Oscilloscope object
remove Remove entry from IVI configuration store object
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
update Update entry of IVI configuration store object
connect Connect device object to instrument
delete Remove instrument objects from memory
disconnect Disconnect device object from instrument
得到error Check and return error message from instrument
icdevice Create device object
inspect Open Property Inspector
invoke Execute driver-specific function on device object
isvalid Determine whether instrument objects are valid
makemid Convert driver to MATLAB instrument driver format
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
methods Class method names and descriptions
obj2mfile Convert instrument object to MATLAB code
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
selftest Run instrument self-test
size Size of instrument object array
instrhelp Help for instrument object type, function, or property
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events

Quick-Control Interfaces

oscilloscope Create Quick-Control Oscilloscope object
fgen Create Quick-Control Function Generator object
rfsiggen Create Quick-Control RF Signal Generator object
readWaveform Returns waveform displayed on scope
download Downloads arbitrary waveform to RF signal generator
start Enables RF signal generator signal output and modulation output
resources List of available instrument resources for Quick-Control interfaces
drivers List of available instrument drivers for Quick-Control interfaces
connect Connect device object to instrument
disconnect Disconnect device object from instrument

VXI即插即用驱动程序

clear Remove instrument objects from MATLAB workspace
connect Connect device object to instrument
delete Remove instrument objects from memory
disconnect Disconnect device object from instrument
disp Display instrument object summary information
devicereset Reset instrument
得到 Instrument object properties
得到error Check and return error message from instrument
icdevice Create device object
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
invoke Execute driver-specific function on device object
propinfo Instrument object property information
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
trigger Send trigger message to instrument
instrhelp Help for instrument object type, function, or property
inspect Open Property Inspector
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
makemid Convert driver to MATLAB instrument driver format
methods Class method names and descriptions
obj2mfile Convert instrument object to MATLAB code
save Save instrument objects and variables to MAT-file
selftest Run instrument self-test
size Size of instrument object array

Generic Instrument Drivers

clear Remove instrument objects from MATLAB workspace
connect Connect device object to instrument
delete Remove instrument objects from memory
disp Display instrument object summary information
disconnect Disconnect device object from instrument
得到 Instrument object properties
inspect Open Property Inspector
instrhelp Help for instrument object type, function, or property
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
invoke Execute driver-specific function on device object
makemid Convert driver to MATLAB instrument driver format
methods Class method names and descriptions
midedit Open graphical tool for creating and editing MATLAB instrument driver
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
devicereset Reset instrument
得到error Check and return error message from instrument
icdevice Create device object
instrcallback Display event information when event occurs
instrfind Read instrument objects from memory to MATLAB workspace
instrfindall Find visible and hidden instrument objects
instrid Define and retrieve commands that identify instruments
instrnotify Define notification for instrument events
isvalid Determine whether instrument objects are valid
length Length of instrument object array
load Load instrument objects and variables into MATLAB workspace
obj2mfile Convert instrument object to MATLAB code
selftest Run instrument self-test
size Size of instrument object array

Instrument Driver Editing and Testing

clear Remove instrument objects from MATLAB workspace
connect Connect device object to instrument
delete Remove instrument objects from memory
disconnect Disconnect device object from instrument
disp Display instrument object summary information
得到 Instrument object properties
inspect Open Property Inspector
instrhwinfo Information about available hardware
instrreset Disconnect and delete all instrument objects
invoke Execute driver-specific function on device object
makemid Convert driver to MATLAB instrument driver format
methods Class method names and descriptions
midedit Open graphical tool for creating and editing MATLAB instrument driver
midtest Open graphical tool for testing MATLAB instrument driver
propinfo Instrument object property information
save Save instrument objects and variables to MAT-file
selftest Run instrument self-test
set Configure or display instrument object properties
tmtool Open Test & Measurement Tool
Was this topic helpful?