Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Keysight Visa Vendor dosnt work as expected

2 views (last 30 days)
seackone
seackone on 28 May 2020
Closed: seackone on 29 May 2020
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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!