Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
508e0a3f
Commit
508e0a3f
authored
Mar 15, 2016
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop'
parents
280357ee
d60cbad2
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
84 additions
and
331 deletions
+84
-331
java/aapp/jopg/src/GrowFrame.java
java/aapp/jopg/src/GrowFrame.java
+1
-1
remote/exe/rs_remotehandler/src/rs_remotehandler.c
remote/exe/rs_remotehandler/src/rs_remotehandler.c
+1
-1
src/doc/web/en_us/doc_menu.html
src/doc/web/en_us/doc_menu.html
+1
-1
src/doc/web/sv_se/doc_menu.html
src/doc/web/sv_se/doc_menu.html
+1
-1
src/lib/co/src/co_ccm.c
src/lib/co/src/co_ccm.c
+1
-1
wb/exp/com/src/wb_create_iolist.pwr_com
wb/exp/com/src/wb_create_iolist.pwr_com
+74
-323
wb/lib/wb/src/wb_lfu.cpp
wb/lib/wb/src/wb_lfu.cpp
+5
-3
No files found.
java/aapp/jopg/src/GrowFrame.java
View file @
508e0a3f
...
...
@@ -68,7 +68,7 @@ public class GrowFrame implements GraphApplIfc {
public
int
command
(
String
cmd
)
{
if
(
appl
!=
null
)
return
appl
.
command
(
cmd
);
return
appl
.
command
(
cmd
,
this
);
return
0
;
}
...
...
remote/exe/rs_remotehandler/src/rs_remotehandler.c
View file @
508e0a3f
...
...
@@ -194,7 +194,7 @@ static void AddTransports()
{
sts
=
gdh_ObjidToPointer
(
objid
,
&
objref
);
sprintf
(
tp
[
tpcount
].
path
,
"rs_remote_qcom"
);
tp
[
tpcount
].
id
=
((
pwr_sClass_RemnodeQCom
*
)
objref
)
->
My
Queue
;
tp
[
tpcount
].
id
=
((
pwr_sClass_RemnodeQCom
*
)
objref
)
->
Receive
Queue
;
tp
[
tpcount
].
disable
=
&
((
pwr_sClass_RemnodeQCom
*
)
objref
)
->
Disable
;
tp
[
tpcount
].
restart_limit
=
&
((
pwr_sClass_RemnodeQCom
*
)
objref
)
->
RestartLimit
;
tp
[
tpcount
].
restarts
=
&
((
pwr_sClass_RemnodeQCom
*
)
objref
)
->
RestartCount
;
...
...
src/doc/web/en_us/doc_menu.html
View file @
508e0a3f
...
...
@@ -48,7 +48,7 @@
</table>
<h2
id=
"mainmenu"
>
Upgrading
</h2>
<table
id=
"mainmenu"
border=
"1"
cellspacing=
"0"
width=
"100%"
>
<tr><td
id=
"mainmenu"
><a
id=
"mainmenu"
href=
"upgrade5
3.pdf"
target=
"right"
>
Upgrading from V5.2
</a></td></tr>
<tr><td
id=
"mainmenu"
><a
id=
"mainmenu"
href=
"upgrade5
4.pdf"
target=
"right"
>
Upgrading from V5.3
</a></td></tr>
</table>
<br>
<h2
id=
"mainmenu"
>
Changelog
</h2>
...
...
src/doc/web/sv_se/doc_menu.html
View file @
508e0a3f
...
...
@@ -55,7 +55,7 @@
</table>
<h2
id=
"mainmenu"
>
Uppgradering
</h2>
<table
id=
"mainmenu"
border=
"1"
cellspacing=
"0"
width=
"100%"
>
<tr><td
id=
"mainmenu"
><a
id=
"mainmenu"
href=
"../en_us/upgrade5
3.pdf"
target=
"right"
>
Uppgradering frn V5.2
</a></td></tr>
<tr><td
id=
"mainmenu"
><a
id=
"mainmenu"
href=
"../en_us/upgrade5
4.pdf"
target=
"right"
>
Uppgradering frn V5.3
</a></td></tr>
</table>
<br>
<h2
id=
"mainmenu"
>
ndringslogg
</h2>
...
...
src/lib/co/src/co_ccm.c
View file @
508e0a3f
...
...
@@ -611,7 +611,7 @@ int ccm_varname_parse(
}
sscanf
(
elementstr
,
"%d"
,
element
);
*
s
=
'\0'
;
if
(
(
*
element
<
0
)
||
(
*
element
>
1
000
)
)
if
(
(
*
element
<
0
)
||
(
*
element
>
5
000
)
)
{
return
0
;
}
...
...
wb/exp/com/src/wb_create_iolist.pwr_com
View file @
508e0a3f
...
...
@@ -12,161 +12,68 @@
#
# --------------------------------------------------------------------------
main()
string channel;
function int print_channels( int fp, string chanclass, string sigclass)
string signal;
string attr;
string sigchancon;
string elem;
string ioconnect;
string str;
int idx;
int sigcnt = 0;
int i;
string channel;
string sdescr;
string cdescr;
string sigchancon;
string volume;
string outfilename;
string tmpfilename;
string lvolname;
string cmd;
int found;
int fp;
string msg;
string path = "$pwrp_doc/";
string fileend = "_iolist.csv";
string tmpname = "tmp";
int cntr=0;
int cntr_tot=0;
# Write excuse
printf("This will take some time, please wait...\n");
# Create temporary file name and output file name
volume = GetCurrentVolume();
lvolname = tolower(volume);
outfilename = path + lvolname + fileend;
tmpfilename = path + tmpname + fileend;
# Open temporary file
fp = fopen(tmpfilename,"w");
sigcnt = 0;
# Get all ChanDi
channel = GetClassListAttrRef( "ChanDi");
while ( channel != "")
found = 0;
signal = GetClassListAttrRef( "Di");
signal = GetClassListAttrRef( sigclass);
while ( signal != "")
attr = signal + ".SigChanCon";
sigchancon = GetAttribute( attr);
if ( sigchancon == channel)
found = 1;
break;
endif
signal = GetNextAttrRef( "Di", signal);
endwhile
if ( !found)
signal = "-";
sdescr = "-";
else
attr = signal + ".Description";
sdescr = GetAttribute( attr);
endif
elem = element( 2, "-", sigchancon);
if ( elem == "Class")
attr = channel + ".Description";
cdescr = GetAttribute( attr);
idx = strrchr( signal, ".");
str = extract( 1, idx, signal);
attr = str + "IoConnect";
# Write to temporary file
fprintf(fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
ioconnect = GetAttribute( attr);
idx = strchr( sigchancon, ".");
str = extract( idx, 200, sigchancon);
sigchancon = ioconnect + str;
# Write alive info to screen
cntr++;
cntr_tot++;
if (cntr >= 100)
cntr = 0;
printf("Writing line %d\n", cntr_tot);
endif
channel = GetNextAttrRef( "ChanDi", channel);
endwhile
signals[sigcnt] = signal;
sigchancons[sigcnt] = sigchancon;
sigcnt++;
# Get all ChanDo
channel = GetClassListAttrRef( "ChanDo");
while ( channel != "")
found = 0;
signal = GetClassListAttrRef( "Do");
while ( signal != "")
attr = signal + ".SigChanCon";
sigchancon = GetAttribute( attr);
if ( sigchancon == channel)
found = 1;
break;
endif
signal = GetNextAttrRef( "Do", signal);
endwhile
if ( !found)
signal = "-";
sdescr = "-";
else
attr = signal + ".Description";
sdescr = GetAttribute( attr);
endif
attr = channel + ".Description";
cdescr = GetAttribute( attr);
# Write to temporary file
fprintf(fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
# Write alive info to screen
cntr++;
cntr_tot++;
if (cntr >= 100)
cntr = 0;
printf("Writing line %d\n", cntr_tot);
endif
channel = GetNextAttrRef( "ChanDo", channel);
signal = GetNextAttrRef( sigclass, signal);
endwhile
# Get all ChanAi
channel = GetClassListAttrRef( "ChanAi");
# Get all channels of this class
channel = GetClassListAttrRef( chanclass);
while ( channel != "")
found = 0;
signal = GetClassListAttrRef( "Ai");
while ( signal != "")
attr = signal + ".SigChanCon";
sigchancon = GetAttribute( attr);
if ( sigchancon == channel)
for ( i = 0; i < sigcnt; i++)
if ( sigchancons[i] == channel)
found = 1;
break;
endif
signal = GetNextAttrRef( "Ai", signal);
endwhile
endfor
if ( !found)
signal = "-";
sdescr = "-";
else
attr = signal + ".Description";
attr = signal
s[i]
+ ".Description";
sdescr = GetAttribute( attr);
endif
...
...
@@ -174,209 +81,51 @@ main()
cdescr = GetAttribute( attr);
# Write to temporary file
fprintf(fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
# Write alive info to screen
cntr++;
cntr_tot++;
if (cntr >= 100)
cntr = 0;
printf("Writing line %d\n", cntr_tot);
endif
channel = GetNextAttrRef( "ChanAi", channel);
fprintf( fp, "%s;%s;\"%s\";\"%s\"\n", channel, signals[i], sdescr, cdescr);
channel = GetNextAttrRef( chanclass, channel);
endwhile
return 1;
endfunction
# Get all ChanAo
channel = GetClassListAttrRef( "ChanAo");
while ( channel != "")
found = 0;
signal = GetClassListAttrRef( "Ao");
while ( signal != "")
attr = signal + ".SigChanCon";
sigchancon = GetAttribute( attr);
if ( sigchancon == channel)
found = 1;
break;
endif
signal = GetNextAttrRef( "Ao", signal);
endwhile
if ( !found)
signal = "-";
sdescr = "-";
else
attr = signal + ".Description";
sdescr = GetAttribute( attr);
endif
attr = channel + ".Description";
cdescr = GetAttribute( attr);
# Write to temporary file
fprintf(fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
# Write alive info to screen
cntr++;
cntr_tot++;
if (cntr >= 100)
cntr = 0;
printf("Writing line %d\n", cntr_tot);
endif
channel = GetNextAttrRef( "ChanAo", channel);
endwhile
# Get all ChanCo
channel = GetClassListAttrRef( "ChanCo");
while ( channel != "")
found = 0;
signal = GetClassListAttrRef( "Co");
while ( signal != "")
attr = signal + ".SigChanCon";
sigchancon = GetAttribute( attr);
if ( sigchancon == channel)
found = 1;
break;
endif
signal = GetNextAttrRef( "Co", signal);
endwhile
if ( !found)
signal = "-";
sdescr = "-";
else
attr = signal + ".Description";
sdescr = GetAttribute( attr);
endif
attr = channel + ".Description";
cdescr = GetAttribute( attr);
# Write to temporary file
fprintf(fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
# Write alive info to screen
cntr++;
cntr_tot++;
if (cntr >= 100)
cntr = 0;
printf("Writing line %d\n", cntr_tot);
endif
channel = GetNextAttrRef( "ChanCo", channel);
endwhile
# Get all ChanAo
channel = GetClassListAttrRef( "ChanIi");
while ( channel != "")
found = 0;
signal = GetClassListAttrRef( "Ii");
while ( signal != "")
attr = signal + ".SigChanCon";
sigchancon = GetAttribute( attr);
if ( sigchancon == channel)
found = 1;
break;
endif
signal = GetNextAttrRef( "Ii", signal);
endwhile
if ( !found)
signal = "-";
sdescr = "-";
else
attr = signal + ".Description";
sdescr = GetAttribute( attr);
endif
attr = channel + ".Description";
cdescr = GetAttribute( attr);
# Write to temporary file
fprintf(fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
# Write alive info to screen
cntr++;
cntr_tot++;
if (cntr >= 100)
cntr = 0;
printf("Writing line %d\n", cntr_tot);
endif
channel = GetNextAttrRef( "ChanIi", channel);
endwhile
# Get all ChanAo
channel = GetClassListAttrRef( "ChanIo");
while ( channel != "")
found = 0;
signal = GetClassListAttrRef( "Io");
while ( signal != "")
attr = signal + ".SigChanCon";
sigchancon = GetAttribute( attr);
if ( sigchancon == channel)
found = 1;
break;
endif
signal = GetNextAttrRef( "Io", signal);
endwhile
if ( !found)
signal = "-";
sdescr = "-";
else
attr = signal + ".Description";
sdescr = GetAttribute( attr);
endif
attr = channel + ".Description";
cdescr = GetAttribute( attr);
main()
extern string signals[4000];
extern string sigchancons[4000];
string volume;
string outfilename;
string tmpfilename;
string lvolname;
string cmd;
int fp;
string msg;
# Write to temporary file
fprintf(fp, "%s;%s;\"%s\";\"%s\"\n", channel, signal, sdescr, cdescr);
string path = "$pwrp_doc/";
string fileend = "_iolist.csv";
string tmpname = "tmp";
# Write alive info to screen
cntr++;
cntr_tot++;
if (cntr >= 100)
cntr = 0;
printf("Writing line %d\n", cntr_tot);
endif
# Write excuse
printf("This will take some time, please wait...\n");
channel = GetNextAttrRef( "ChanIo", channel);
# Create temporary file name and output file name
volume = GetCurrentVolume();
lvolname = tolower(volume);
outfilename = path + lvolname + fileend;
tmpfilename = path + tmpname + fileend;
endwhile
# Open temporary file
fp = fopen(tmpfilename,"w");
# Print all channnels
print_channels( fp, "ChanDi", "Di");
print_channels( fp, "ChanDo", "Do");
print_channels( fp, "ChanAi", "Ai");
print_channels( fp, "ChanAo", "Ao");
print_channels( fp, "ChanCo", "Co");
print_channels( fp, "ChanIi", "Ii");
print_channels( fp, "ChanIo", "Io");
# Close temporary file
fclose(fp);
...
...
@@ -388,9 +137,11 @@ main()
system( cmd );
# Write total no of lines to screen
printf("
Total %d lines written to file %s\n", cntr_tot
, outfilename);
printf("
File %s created\n"
, outfilename);
msg = "File " + outfilename + " created";
MessageInfo( msg);
delete signals[1000];
delete sigchancons[1000];
endmain
\ No newline at end of file
wb/lib/wb/src/wb_lfu.cpp
View file @
508e0a3f
...
...
@@ -1765,7 +1765,9 @@ pwr_tStatus lfu_SaveDirectoryVolume(
MsgWindow
::
message
(
'E'
,
msg
,
msgw_ePop_Default
);
syntax_error
=
1
;
}
if
(
strcmp
(
nodevect
[
i
].
address
,
nodevect
[
j
].
address
)
==
0
)
{
if
(
strcmp
(
nodevect
[
i
].
address
,
"0.0.0.0"
)
!=
0
&&
strcmp
(
nodevect
[
i
].
address
,
"127.0.0.1"
)
!=
0
&&
strcmp
(
nodevect
[
i
].
address
,
nodevect
[
j
].
address
)
==
0
)
{
char
msg
[
200
];
pwr_tOName
oname1
,
oname2
;
sts
=
ldh_ObjidToName
(
ldhses
,
nodevect
[
i
].
oid
,
ldh_eName_Hierarchy
,
...
...
@@ -2371,7 +2373,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
nodename_ptr
,
nodename_ptr
);
if
(
*
components_ptr
&
pwr_mDistrComponentMask_ApplFile
)
fprintf
(
file
,
"appl %s W "
pwr_cNameAppl
" $pwrp_load/
\n
"
,
nodename_ptr
,
"$pwrp_
cnf
/"
,
nodename_ptr
,
*
bus_number_ptr
);
nodename_ptr
,
"$pwrp_
load
/"
,
nodename_ptr
,
*
bus_number_ptr
);
if
(
*
components_ptr
&
pwr_mDistrComponentMask_PwrpAliasFile
)
fprintf
(
file
,
"appl %s W $pwrp_load/pwrp_alias.dat $pwrp_load/pwrp_alias.dat
\n
"
,
nodename_ptr
);
...
...
@@ -2382,7 +2384,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
if
(
*
components_ptr
&
pwr_mDistrComponentMask_XMLFiles
)
fprintf
(
file
,
"appl %s W $pwrp_load/*.xml
\n
"
,
nodename_ptr
);
if
(
*
components_ptr
&
pwr_mDistrComponentMask_XttHelpFile
)
{
fprintf
(
file
,
"appl %s W $pwrp_
cnf/%s/xtt_help.dat:$pwrp_cnf
/xtt_help.dat $pwrp_load/xtt_help.dat
\n
"
,
fprintf
(
file
,
"appl %s W $pwrp_
load/%s/xtt_help.dat:$pwrp_load
/xtt_help.dat $pwrp_load/xtt_help.dat
\n
"
,
nodename_ptr
,
nodename_ptr
);
}
if
(
*
components_ptr
&
pwr_mDistrComponentMask_XttResourceFile
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment