Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Keysight Visa Vendor dosnt work as expected
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!