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
d9245c13
Commit
d9245c13
authored
Apr 05, 2016
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OtherIO OneWire Family attribute changed to hex
parent
db107ed1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
otherio/lib/rt/src/os_linux/rt_io_m_maxim_ds18b20.c
otherio/lib/rt/src/os_linux/rt_io_m_maxim_ds18b20.c
+1
-1
otherio/lib/rt/src/os_linux/rt_io_m_onewire_aodevice.c
otherio/lib/rt/src/os_linux/rt_io_m_onewire_aodevice.c
+1
-1
otherio/wbl/mcomp/src/otherio.wb_load
otherio/wbl/mcomp/src/otherio.wb_load
+19
-1
No files found.
otherio/lib/rt/src/os_linux/rt_io_m_maxim_ds18b20.c
View file @
d9245c13
...
...
@@ -62,7 +62,7 @@ static pwr_tStatus IoCardInit( io_tCtx ctx,
local
=
(
io_sLocalDS18B20
*
)
calloc
(
1
,
sizeof
(
io_sLocalDS18B20
));
cp
->
Local
=
local
;
sprintf
(
name
,
"%
d
-%012x"
,
op
->
Family
,
op
->
Super
.
Address
);
sprintf
(
name
,
"%
x
-%012x"
,
op
->
Family
,
op
->
Super
.
Address
);
sprintf
(
fname
,
"/sys/bus/w1/devices/w1 bus master/%s/w1_slave"
,
name
);
local
->
value_fp
=
fopen
(
fname
,
"r"
);
if
(
!
local
->
value_fp
)
{
...
...
otherio/lib/rt/src/os_linux/rt_io_m_onewire_aodevice.c
View file @
d9245c13
...
...
@@ -68,7 +68,7 @@ static pwr_tStatus IoCardInit( io_tCtx ctx,
local
=
(
io_sLocalAoDevice
*
)
calloc
(
1
,
sizeof
(
io_sLocalAoDevice
));
cp
->
Local
=
local
;
sprintf
(
name
,
"%
d
-%012x"
,
op
->
Family
,
op
->
Super
.
Address
);
sprintf
(
name
,
"%
x
-%012x"
,
op
->
Family
,
op
->
Super
.
Address
);
name_len
=
strlen
(
name
);
strncpy
(
fname
,
op
->
DataFile
,
sizeof
(
fname
));
...
...
otherio/wbl/mcomp/src/otherio.wb_load
View file @
d9245c13
...
...
@@ -4821,6 +4821,12 @@ Volume OtherIO $ClassVolume 0.0.250.10
Attr TypeRef = "pwrs:Type-$Status"
EndBody
EndObject
!/**
! Family code.
!
! Note! The family code is usually presented with a hexadecimal value
! but should here be entered as a decimal value.
!*/
Object Family $Attribute 22 06-JUN-2010 13:56:28.16
Body SysBody 06-JUN-2010 13:56:08.04
Attr PgmName = "Family"
...
...
@@ -4880,7 +4886,7 @@ Volume OtherIO $ClassVolume 0.0.250.10
Attr Super.ErrorSoftLimit = 50
Attr Super.ErrorHardLimit = 100
Attr Super.MaxNoOfChannels = 1
Attr Family =
28
Attr Family =
40
Attr Resolution = 12
Attr ChAi.ConversionOn = 1
Attr ChAi.ScanInterval = 1
...
...
@@ -4923,6 +4929,12 @@ Volume OtherIO $ClassVolume 0.0.250.10
Attr TypeRef = "pwrs:Type-$Status"
EndBody
EndObject
!/**
! Family code.
!
! Note! The family code is usually presented with a hexadecimal value
! but should here be entered as a decimal value.
!*/
Object Family $Attribute 26 08-JUN-2011 14:01:02.86
Body SysBody 08-JUN-2011 14:01:02.86
Attr PgmName = "Family"
...
...
@@ -5045,6 +5057,12 @@ Volume OtherIO $ClassVolume 0.0.250.10
Attr TypeRef = "pwrs:Type-$Status"
EndBody
EndObject
!/**
! Family code.
!
! Note! The family code is usually presented with a hexadecimal value
! but should here be entered as a decimal value.
!*/
Object Family $Attribute 35 01-NOV-2011 13:31:33.55
Body SysBody 01-NOV-2011 13:31:33.55
Attr PgmName = "Family"
...
...
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