Hi,
I have some problems with using the Server Command Syntax in Matlab.
Connect to the Audio Weaver Server works, write one line also works -> I see the Message in the "Messages" Window in the Audio Server and also see the change of e.g. a scale value in the Audio Weaver Designer.
But when I want to read the answer of the server the timeout runs out (even when I change the timeout to some unrealistic value of 100 sec!) and I cannot write another message. Here you see the Matlab lines I use:
%%%%%%%%%%
t = tcpip('localhost', 15003, 'InputBufferSize', 1024, 'OutputBufferSize', 1024, 'Timeout', 10);
fopen(t);
%
data = 'set_value,DCSourceV21.value,0.5\n';
fprintf(t, data);
data = fscanf(t)
%%%%%%%%%%
I used port 15003 because 15001 doesn't work at all.
I also tried the same with python like in the example in the documentation, but recognize the same behavior and get the same results.
Thanks for your feedback
Max