Hi All... I have been attempting to connect a Rigol DM3068 DMM to Matlab. The driver from the manufacturer has been installed. I have spent many hours going down a rabbit hole of pages that links to more links, along with processes that leads to depreciated functions and errors. Below shows the current state of my attempts.
I'm now rather confused on the actual process. It would be ideal to find an example of how to generate the wrapper and link the driver to Matlab with current functions.
>> instrhwinfo
ans =
HardwareInfo with properties:
MATLABVersion: '9.14 (R2023a)'
SupportedInterfaces: {'gpib' 'serial' 'serialport' 'tcpip' 'udp' 'visa' 'Bluetooth' 'i2c' 'spi'}
SupportedDrivers: {'matlab' 'ivi' 'vxipnp'}
ToolboxName: 'Instrument Control Toolbox'
ToolboxVersion: '4.8 (R2023a)'
>> ividriverlist
ans =
1×4 table
VendorDriver MATLABDriver IVIClass SupportedModels
____________ ____________ ________ _______________
1 "rgdm3068" "" "IVIDmm" {["DM3068"]}
>> configStore = iviconfigurationstore;
>> add(configStore,"HardwareAsset","myDMMHWAsset2","TCPIP0::192.168.1.120::INSTR");
>> add(configStore,"DriverSession","myDMMSession2","rgdm3068","myDMMHWAsset2");
>> add(configStore,"LogicalName","myDMM2","myDMMSession2");
>> commit(configStore);
>> dev = ividev("IviDMM2","myDMM2");
No ividev MATLAB drivers found for your hardware.
>> instrhwinfo('ivi')
ans =
HardwareInfo with properties:
LogicalNames: {'myDMM' 'myDMM2'}
Modules: {1×13 cell}
ConfigurationServerVersion: '1.7.0.12115'
ConfigurationStoreLocation: 'C:\ProgramData\IVI Foundation\IVI\IviConfigurationStore.xml'
IVIRootPath: 'C:\Program Files\IVI Foundation\IVI\'