仪器驾驶员通讯
Instrument communication using instrument drivers
您需要创建一个接口对象,例如GPIB
或者i2c
, to communicate with instruments, as described in many of the sections of the documentation. You can also create a device object that allows you to configure and query an instrument without knowledge of its command set. See创建和连接设备对象for more information about using device objects.
Functions
清除 |
Remove instrument objects fromMATLABworkspace |
删除 |
Remove instrument objects from memory |
disp |
Display instrument object summary information |
get |
Instrument object properties |
inspect |
Open Property Inspector |
length |
Length of instrument object array |
load |
Load instrument objects and variables intoMATLABworkspace |
methods |
Class method names and descriptions |
save |
将仪器对象和变量保存到垫子文件 |
set |
Configure or display instrument object properties |
size |
Size of instrument object array |
instrhwinfo |
Information about available hardware |
乐器 |
Define and retrieve commands that identify instruments |
isvalid |
确定仪器对象是否有效 |
obj2mfile |
将仪器对象转换为MATLAB代码 |
propinfo |
Instrument object property information |
connect |
Connect device object to instrument |
Devicereset |
重置仪器 |
disconnect |
Disconnect device object from instrument |
geterror |
Check and return error message from instrument |
icdevice |
Create device object |
invoke |
在设备对象上执行驱动程序特定功能 |
selftest |
运行仪器自我测试 |
Apps
Test and Measurement Tool | Control oscilloscopes and other instruments |
Topics
- 创建和连接设备对象
包括用于创建和使用设备对象的一般过程。
- 与乐器交流
通过设备对象配置和交换数据。
- Device Groups
Obtaining and using group device properties.
- Device Objects
设备对象允许您在不了解其命令集的情况下配置和查询仪器。低级通信通过MATLAB进行®instrument driver.
- 仪器控制工具箱Properties
These properties are available in the toolbox.