美文网首页
2024-01-14 IVI 开发笔记

2024-01-14 IVI 开发笔记

作者: idengwei | 来源:发表于2024-01-13 22:57 被阅读0次
% Construct a configStore.
configStore = iviconfigurationstore; 

% Set up the hardware asset with name myScopeHWAsset, and resource descriptor TCPIP0::a-m6104a-004598::INSTR.
add(configStore, 'HardwareAsset', 'myScopeHWAsset', 'TCPIP0::a-m6104a-004598::INSTR'); 

% Add a driver session with name myScopeSession, and use the asset created in the step above. Ag546XX is the Agilent driver. 
add(configStore, 'DriverSession', 'myScopeSession', 'Ag546XX', 'myScopeHWAsset');

% Add a logical name to the configStore, with name myScope and driver session named myScopeSession. 
add(configStore, 'LogicalName', 'myScope', 'myScopeSession'); 

% Save the changes to the IVI configuration store data file.
commit(configStore); 

% You can verify that the steps you just performed worked.
logicalNameInfo = instrhwinfo('ivi', 'myscope')

IVI Configuration Store - MATLAB & Simulink - MathWorks 中国

下载IVI Compliance Package - NI

Customizing Config Store Registration (pacificmindworks.com)

问题处理

CS1752 无法嵌入互操作类型“XXXXClass“。请改适用的接口_cs1752 c# interop type cannot be embedded. use th-CSDN博客

System.Runtime.InteropServices.COMException:“没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))”-CSDN博客

相关文章

网友评论

      本文标题:2024-01-14 IVI 开发笔记

      本文链接:https://www.haomeiwen.com/subject/rjafodtx.html