Effacer les filtres
Effacer les filtres

Is there way to instantiate a TCPIP server using a VISA interface object?

1 vue (au cours des 30 derniers jours)
Salim Mansour
Salim Mansour le 11 Mar 2021
Modifié(e) : Salim Mansour le 11 Mar 2021
Hello,
I am successfully connecting to a (spectrom analyzer) device via a visa TCPIP interface from a MATLAB script using the following:
objVisa = visa('ni','TCPIP0::192.168.12.84::inst0::INSTR');
fopen(objVisa);
Typically, such a device is controlled by some control software, either via a GPIB or a visa TCPIP interface.
Now, I need to use the visa TCPIP interface of the control software to control, now not the actual device itself but, an emulator which emulates the device and which I am developing in MATLAB (R2007b).
My problem is to instatiate a visa TCPIP server at the emulator side (MATLAB), that should serve some commands which are sent by the control software: Is there a way to do this visa server?

Réponses (0)

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by