Yokogawa USB device access using Instrument Control Toolbox

11 vues (au cours des 30 derniers jours)
Ana-Mari Tataru-Kjaer
Ana-Mari Tataru-Kjaer le 15 Nov 2023
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

Réponses (1)

Divyanshu
Divyanshu le 14 Déc 2023
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!

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by