Skip to content
Snippets Groups Projects
Commit 5b7ddab3 authored by Olivier Sauter's avatar Olivier Sauter
Browse files

use mdscurrent=mdsipmex(8) to avoid print out on screen of server

parent ed8f8bfa
Branches
Tags release-v4.3.13
1 merge request!46use mdscurrent=mdsipmex(8) to avoid print out on screen of server
Pipeline #31626 passed
......@@ -140,7 +140,7 @@ if nargin>=1
if isempty(shot)
% means mdsopen(shot) already performed or not shot asked for
try
if ~mdsremotelist
if isempty(mdsipmex(8))
shot_mds = shot;
else
shot_mds = mdsipmex(2,'$SHOT');
......@@ -158,7 +158,7 @@ if nargin>=1
warning(['shot cannot be opened with ' data_request.data_request]);
return
end
elseif ischar(data_request)
elseif ischar(data_request)
if ~strcmp(data_request,'ids')
warning(['shot cannot be opened with ' data_request]);
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment