nass-micro-station-measurem.../static-measurements/measure_channels_run.m

25 lines
522 B
Mathematica
Raw Normal View History

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