MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
Offset compensation mode
API_SCOPE_OFFSET_COMP_RESET
Reset compensation offsets to a value of 0
API_SCOPE_OFFSET_COMP_MEASURE
Measure zero line offsets, set the values for further scope
recordings and return the ascertained offset values
API_SCOPE_OFFSET_COMP_GET
Just returns the active offsets without performing any
measurements
O
O
u
u
t
t
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
S
S
C
C
O
O
P
P
E
E
_
_
O
O
F
F
F
F
S
S
E
E
T
T
S
S
*
*
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
Optional pointer to TY_API_SCOPE_OFFSETS structure where the active zero
line offset values will be stored to. Set this pointer to NULL, if you don’t need the
values.
typedef struct api_offsets
{
AiInt32 lOffsetA_3V_stub;
AiInt32 lOffsetB_3V_stub;
AiInt32 lOffsetA_30V_stub;
AiInt32 lOffsetB_30V_stub;
AiInt32 lOffsetA_3V_ext;
AiInt32 lOffsetB_3V_ext;
AiInt32 lOffsetA_30V_ext;
AiInt32 lOffsetB_30V_ext;
} TY_API_SCOPE_OFFSETS;
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
A
A
_
_
3
3
V
V
_
_
s
s
t
t
u
u
b
b
The offset which will be added to all channel A values when scope is used in mode
API_SCOPE_COUPLING_STUB and 3V measurement range.
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
B
B
_
_
3
3
V
V
_
_
s
s
t
t
u
u
b
b
The offset which will be added to all channel B values when scope is used in mode
API_SCOPE_COUPLING_STUB and 3V measurement range.
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
A
A
_
_
3
3
0
0
V
V
_
_
s
s
t
t
u
u
b
b
The offset which will be added to all channel A values when scope is used in mode
API_SCOPE_COUPLING_STUB and 30V measurement range.
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
B
B
_
_
3
3
0
0
V
V
_
_
s
s
t
t
u
u
b
b
The offset which will be added to all channel B values when scope is used in mode
API_SCOPE_COUPLING_STUB and 30V measurement range.
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
A
A
_
_
3
3
V
V
_
_
e
e
x
x
t
t
The offset which will be added to all channel A values when scope is used in mode
API_SCOPE_COUPLING_EXTERN and 3V measurement range.
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
B
B
_
_
3
3
V
V
_
_
e
e
x
x
t
t
The offset which will be added to all channel B values when scope is used in mode
API_SCOPE_COUPLING_EXTERN and 3V measurement range.
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
A
A
_
_
3
3
0
0
V
V
_
_
e
e
x
x
t
t
The offset which will be added to all channel A values when scope is used in mode
API_SCOPE_COUPLING_EXTERN and 30V measurement range.
A
A
i
i
I
I
n
n
t
t
3
3
2
2
p
p
x
x
O
O
f
f
f
f
s
s
e
e
t
t
s
s
-
-
>
>
l
l
O
O
f
f
f
f
s
s
e
e
t
t
B
B
_
_
3
3
0
0
V
V
_
_
e
e
x
x
t
t
The offset which will be added to all channel B values when scope is used in mode
API_SCOPE_COUPLING_EXTERN and 30V measurement range.