% 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 中国
Customizing Config Store Registration (pacificmindworks.com)
问题处理
CS1752 无法嵌入互操作类型“XXXXClass“。请改适用的接口_cs1752 c# interop type cannot be embedded. use th-CSDN博客
网友评论