Matlab: Telnet to Keysight VXT not succesful.

25 次查看(过去 30 天)
Siva Meduri
Siva Meduri 2024-6-25,10:05
回答: Suraj 2024-7-8,11:42
Not able to Connect to Keysight VXT using telnet and run SCPI command . Following is the code used.
t = tcpip('10.232.133.147', 5023);
set(t, 'InputBufferSize', 30000);
fopen(t);
command=':SOUR:POW:AMPL -63 DBM\n'
fprintf(t, command);
fclose(t);

回答(1 个)

Suraj
Suraj 2024-7-8,11:42
Hi Siva,
It looks like you're running into an issue when connecting to your hardware using "tcpip" function.
I found the following article by the MathWorks support team which may be helpful.
Do try the steps mentioned in the above article.

类别

Help CenterFile Exchange 中查找有关 Programming Utilities 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by