Matlab: Telnet to Keysight VXT not succesful.
6 次查看(过去 30 天)
显示 更早的评论
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);
0 个评论
回答(2 个)
Andrei
2024-8-30
Don't include the \n in the commmand. fprintf will append the default terminator (LF) for you when writing the command.
...
command = ':SOUR:POW:AMPL -63 DBM';
fprintf(t, command);
...
0 个评论
Suraj
2024-7-8
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Acquisition Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!