Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCDDS-demo
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
SCDDS
SCDDS-demo
Commits
bc36a593
Commit
bc36a593
authored
2 years ago
by
Cristian Galperti
Browse files
Options
Downloads
Patches
Plain Diff
test ok on tcvrt21
parent
025c90ce
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
core
+1
-1
1 addition, 1 deletion
core
demo_test_main.m
+13
-5
13 additions, 5 deletions
demo_test_main.m
src/SCDDSdemo_mdsparnumeric.m
+2
-2
2 additions, 2 deletions
src/SCDDSdemo_mdsparnumeric.m
with
16 additions
and
8 deletions
core
@
a423156e
Compare
547be992
...
a423156e
Subproject commit
547be9920e9086cf0f4e983568c1a8c4b51a833b
Subproject commit
a423156e2dbb0c5aa4bfc5bb970f3e8c174ae9d6
This diff is collapsed.
Click to expand it.
demo_test_main.m
+
13
−
5
View file @
bc36a593
...
@@ -58,9 +58,14 @@ cd ../../..
...
@@ -58,9 +58,14 @@ cd ../../..
fprintf
(
'\n### FILE TRANSFER TO NODE06 ###\n'
);
fprintf
(
'\n### FILE TRANSFER TO NODE06 ###\n'
);
%cd(fileparts(mfilename('fullpath'))); % this goes into /tmp/Editor on scd.epfl.ch
%cd(fileparts(mfilename('fullpath'))); % this goes into /tmp/Editor on scd.epfl.ch
if
isequal
(
SCDDSdemo_env
.
getsite
(),
'EPFL'
)
if
isequal
(
SCDDSdemo_env
.
getsite
(),
'EPFL'
)
system
(
'scp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests'
);
% system('scp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests');
system
(
'scp gencodes/CodeGenFolder-1/SCDwrap_demo1.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests'
);
% system('scp gencodes/CodeGenFolder-1/SCDwrap_demo1.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests');
system
(
'scp gencodes/CodeGenFolder-1/SCDwrap_demo2.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests'
);
% system('scp gencodes/CodeGenFolder-1/SCDwrap_demo2.so tcv_oper@tcvrt17.crpp.tcv:~/martecfgs/tests');
system
(
'scp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg tcv_oper@tcvrt21:~/martecfgs/tests'
);
system
(
'scp gencodes/CodeGenFolder-1/SCDwrap_demo1.so tcv_oper@tcvrt21:~/martecfgs/tests'
);
system
(
'scp gencodes/CodeGenFolder-1/SCDwrap_demo2.so tcv_oper@tcvrt21:~/martecfgs/tests'
);
elseif
isequal
(
SCDDSdemo_env
.
getsite
(),
'PSFC'
)
elseif
isequal
(
SCDDSdemo_env
.
getsite
(),
'PSFC'
)
system
(
'cp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg ~/MARTe2/MARTe2-examples/Configurations'
);
system
(
'cp nodes/marte2cfg/2threads/algo_demo1and2_2threads.cfg ~/MARTe2/MARTe2-examples/Configurations'
);
system
(
'cp gencodes/CodeGenFolder-1/SCDwrap_demo1.so ~/MARTe2/MARTe2-examples'
);
system
(
'cp gencodes/CodeGenFolder-1/SCDwrap_demo1.so ~/MARTe2/MARTe2-examples'
);
...
@@ -71,8 +76,11 @@ end
...
@@ -71,8 +76,11 @@ end
switch
SCDDSdemo_env
.
getsite
()
switch
SCDDSdemo_env
.
getsite
()
case
'EPFL'
case
'EPFL'
fprintf
(
'\n### MARTE2 RUN ON NODE06 (follow it on node06 logs of scd server) ###\n'
);
%fprintf('\n### MARTE2 RUN ON NODE06 (follow it on node06 logs of scd server) ###\n');
system
(
'echo -n "Class = Message Destination = ShotStarter Function = INIT" | nc tcvrt17.crpp.tcv 24681'
);
%system('echo -n "Class = Message Destination = ShotStarter Function = INIT" | nc tcvrt17.crpp.tcv 24681');
system
(
'ssh root@tcvrt21
''
declare -x scdds_path=tcvscd.crpp.tcv::/Terra24/mds/scdds; timeout 10 /root/MARTe2-examples/MARTeApp.sh -l RealTimeLoader -f /home/tcv_oper/martecfgs/tests/algo_demo1and2_2threads.cfg -s State1 > /tmp/martelog.txt
''
'
);
case
'PSFC'
case
'PSFC'
fprintf
(
'\n### MARTE2 RUN ON LOCALHOST ###\n'
);
fprintf
(
'\n### MARTE2 RUN ON LOCALHOST ###\n'
);
system
(
'export MARTe2_Components_DIR=~/MARTe2/MARTe2-components; source /etc/profile.d/mdsplus.sh; cd ~/MARTe2/MARTe2-examples; ./runcfs.sh'
);
system
(
'export MARTe2_Components_DIR=~/MARTe2/MARTe2-components; source /etc/profile.d/mdsplus.sh; cd ~/MARTe2/MARTe2-examples; ./runcfs.sh'
);
...
...
This diff is collapsed.
Click to expand it.
src/SCDDSdemo_mdsparnumeric.m
+
2
−
2
View file @
bc36a593
...
@@ -17,8 +17,8 @@ classdef SCDDSdemo_mdsparnumeric < SCDDSclass_mdsparnumeric
...
@@ -17,8 +17,8 @@ classdef SCDDSdemo_mdsparnumeric < SCDDSclass_mdsparnumeric
varargin
{:});
varargin
{:});
% set MDS client type
% set MDS client type
obj
.
clienttype
=
"Thin"
;
%
obj.clienttype="Thin";
%
obj.clienttype="Distributed";
obj
.
clienttype
=
"Distributed"
;
% set load permissivity
% set load permissivity
obj
.
skipnotok
=
true
;
obj
.
skipnotok
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment