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
3439eb8f
Commit
3439eb8f
authored
Apr 16, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ssab_config_card, set of channel id and description added
parent
9bb4762d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
12 deletions
+16
-12
src/exp/com/src/os_linux/ssab_config_card.pwr_com
src/exp/com/src/os_linux/ssab_config_card.pwr_com
+16
-12
No files found.
src/exp/com/src/os_linux/ssab_config_card.pwr_com
View file @
3439eb8f
...
@@ -4,18 +4,18 @@
...
@@ -4,18 +4,18 @@
# Copyright (C) 2005-2014 SSAB EMEA AB.
# Copyright (C) 2005-2014 SSAB EMEA AB.
#
#
# This file is part of Proview.
# This file is part of Proview.
!
#
!
This program is free software; you can redistribute it and/or
#
This program is free software; you can redistribute it and/or
!
modify it under the terms of the GNU General Public License as
#
modify it under the terms of the GNU General Public License as
!
published by the Free Software Foundation, either version 2 of
#
published by the Free Software Foundation, either version 2 of
!
the License, or (at your option) any later version.
#
the License, or (at your option) any later version.
!
#
!
This program is distributed in the hope that it will be useful
#
This program is distributed in the hope that it will be useful
!
but WITHOUT ANY WARRANTY; without even the implied warranty of
#
but WITHOUT ANY WARRANTY; without even the implied warranty of
!
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
!
GNU General Public License for more details.
#
GNU General Public License for more details.
!
#
!
You should have received a copy of the GNU General Public License
#
You should have received a copy of the GNU General Public License
# along with Proview. If not, see <http://www.gnu.org/licenses/>
# along with Proview. If not, see <http://www.gnu.org/licenses/>
#
#
# Linking Proview statically or dynamically with other modules is
# Linking Proview statically or dynamically with other modules is
...
@@ -112,6 +112,10 @@ function int ssab_create_signal( string rname, string resname, string chname, st
...
@@ -112,6 +112,10 @@ function int ssab_create_signal( string rname, string resname, string chname, st
endif
endif
! Set description and identity in channel
set attr/noco/name='rname'-'cname'.Ch'chnr_str'/attr=Description/value="'chan_descr'"
set attr/noco/name='rname'-'cname'.Ch'chnr_str'/attr=Identity/value="'chan_ident'"
! Set description in signal
! Set description in signal
sprintf( rnam, "Reserv_%s%s", cname, chnr_str);
sprintf( rnam, "Reserv_%s%s", cname, chnr_str);
set attr/noco/name='resname'-'rnam'/attr=Description/value="'sig_descr'"
set attr/noco/name='resname'-'rnam'/attr=Description/value="'sig_descr'"
...
...
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