EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdscopecalibrate

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
404
Chapter 9 Bus Monitor Functions
9.1.40 ApiCmdScopeCalibrate
Prototype:
AiInt16 ApiCmdScopeCalibrate( AiUInt32 ulModuleHandle,
AiUInt8 ucMode, TY_API_SCOPE_CALIBRATION_INFO *
pxInfo );
Driver Command:
TG_API_SCOPE_CALIBRATE (0xF9)
Purpose:
This function is used to calibrate a MIL-Scope.
Note: This function is only usable with AIMs MIL-Scope module.
Note: The hardware needs to be set into a defined state before calibrating the MIL-
Scope. The coupling of channel A and B must be set to internal. It is not
allowed to have any BC or RT simulation running during the calibration
process. The AIM board must be physically disconnected from the external
bus.
I
I
n
n
p
p
u
u
t
t
u
u
c
c
M
M
o
o
d
d
e
e
Calibration mode
Value
Constant
Description
0
Reset calibration offset
1
Calibrate MIL-Scope
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
_
_
C
C
A
A
L
L
I
I
B
B
R
R
A
A
T
T
I
I
O
O
N
N
_
_
I
I
N
N
F
F
O
O
*
*
p
p
x
x
I
I
n
n
f
f
o
o
Pointer to the list of TY_API_CALIBRATION_INFO structure elements
Note: These values are only valid on APX/ACX cards. Don’t use them with APE cards
at this time.
typedef struct ty_api_calibration_info
{
AiUInt32 lOffsetA;
AiUInt32 lOffsetB;
AiUInt32 lOffsetA100;
AiUInt32 lOffsetB100;
AiUInt32 lOffsetA100Sec;
AiUInt32 lOffsetB100Sec;
} TY_API_SCOPE_CALIBRATION_INFO;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
p
p
x
x
I
I
n
n
f
f
o
o
-
-
>
>
u
u
l
l
O
O
f
f
f
f
s
s
e
e
t
t
A
A
The offset which will be added to all channel A values.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
p
p
x
x
I
I
n
n
f
f
o
o
-
-
>
>
u
u
l
l
O
O
f
f
f
f
s
s
e
e
t
t
B
B
The offset which will be added to all channel B values.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
p
p
x
x
I
I
n
n
f
f
o
o
-
-
>
>
u
u
l
l
O
O
f
f
f
f
s
s
e
e
t
t
A
A
1
1
0
0
0
0
The offset which will be added to all channel A values if 100 MHz sampling mode is used on
primary channel.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
p
p
x
x
I
I
n
n
f
f
o
o
-
-
>
>
u
u
l
l
O
O
f
f
f
f
s
s
e
e
t
t
B
B
1
1
0
0
0
0

Table of Contents

Other manuals for Aim MIL-STD-1553