Yokogawa USB device access using Instrument Control Toolbox

11 次查看(过去 30 天)
Hi,
I am trying establishing communication with the WT1800 Yokogawa power analyzer from Matlab using Instrument Control Toolbox.
I installed Yokogawa USB driver. I find Yokogawa USB device in the device manager as a separate unit (not under Ports), when the USB is pluged into computer. By using the command serialportlist all available COM ports are listed but not Yokogawa USB device. How can I access Yokogawa USB device from Matlab? On the power analyzer Remote Control menu I have a serial number for the USB, but what to do with it. serialport() command accept only Com number as input.
Thank you.
Best regards
Ana

回答(1 个)

Divyanshu
Divyanshu 2023-12-14
Hi Ana,
I understand that you are trying to access Yokogawa USB device from MATLAB using Instrument Control Toolbox but are facing challenges using the 'serialport()' function.
A possible workaround that you can try is to access USB device from MATLAB using 'VISA Intrument object' which in turn allows user to communicate with the instrument using VISA standard.
Please refer the following documentation for further details about VISA:
As you want to communicate with the USB device, you can go through the following documentation which has details about working with USB interface using VISA standard:
Hope it helps!

类别

Help CenterFile Exchange 中查找有关 Instrument Control Toolbox Supported Hardware 的更多信息

产品


版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by