nass-micro-station-measurem.../static-measurements/measure_channels_run.m
2019-05-02 14:09:20 +02:00

25 lines
522 B
Matlab

tg = slrt;
%% TODO - Build this application if updated
%%
if tg.Connected == "Yes"
if tg.Status == "running"
disp('Target is Running, Stopping...');
tg.stop;
while tg.Status == "running"
pause(1);
end
disp('Target is Stopped');
end
if tg.Status == "stopped"
disp('Load the Application');
tg.load('measure_channels');
%% Run the application
disp('Starting the Application');
tg.start;
slrtexplr;
end
end