Info

此问题已关闭。 请重新打开它进行编辑或回答。

Keysight Visa Vendor dosnt work as expected

2 次查看(过去 30 天)
seackone
seackone 2020-5-28
关闭: seackone 2020-5-29
Hello,
im using Matlab to interact with our hardware devices by using SCPI commands. Unfortunately I have some problems with the keysight visa vendor since not all of the commands are received by the hardware device. For example, im sending this simple code to the device:
obj = visa('keysight','TCPIP0::192.168.1.100::5025::SOCKET');
fopen(obj);
for i = 1:4
fprintf(obj,sprintf('DISPlay:WINDow%d:STATE ON', i));
end
fclose(obj);
The device should open four new windows, but if im logging the input at the device, the command for only two windows is received (sometimes three but never four).
But if im change the visa vendor to 'ni' (national instrument), it will work every time (even if im using keysight devices). Any idea what the problem could be?
Best regards.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by