Hi everyone
I was trying to get connected to the new 'MATLAB graphical interfaces' but when i wanted to get connected to my red pitaya i kept getting the notificiation "hardware not found (PING)" . So i looked into the .m file and i think it is because the following command line
command=['ping -t 1 -c 1 ',IP];
[ping_status, ping_message] = system(command);
if (ping_status ~= 0)
errordlg('Hardware not found (PING)');
disp('Hardware not found (PING)');
ping_message
When i run this 'ping -t1 c1 IP' in cmd, got the message "ping_message = Bad option -C."
Is there a way to get around this?
Thanks in advance
Wouter
MATLAB graphical interfaces
-
- Posts: 14
- Joined: Wed Feb 18, 2015 9:58 am
- Location: Merseburg/Diepenbeek
-
- Posts: 14
- Joined: Wed Feb 18, 2015 9:58 am
- Location: Merseburg/Diepenbeek
Re: MATLAB graphical interfaces
Well it works if you just use command='ping ip' but why do you use t & C then?
- redpitaya
- Site Admin
- Posts: 883
- Joined: Wed Mar 26, 2014 7:04 pm
Re: MATLAB graphical interfaces
Hi,
Have you started “scpi-server” on RP before Matlab signal generator.
If not: Connect to your RP with ssh and use this command.
scpi-server &
After that you can close the terminal and go to the matlab GUI, input IP and connect to your RP.
You are welcome to give as a feedback on Matlab Signal Generator.
Regards
Have you started “scpi-server” on RP before Matlab signal generator.
If not: Connect to your RP with ssh and use this command.
scpi-server &
After that you can close the terminal and go to the matlab GUI, input IP and connect to your RP.
You are welcome to give as a feedback on Matlab Signal Generator.
Regards
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie
Who is online
Users browsing this forum: No registered users and 30 guests