Matlab: Telnet to Keysight VXT not succesful.
9 ビュー (過去 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!