EasyManua.ls Logo

Aim MIL-STD-1553 - Page 427

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
413
Chapter 9 Bus Monitor Functions
v
v
o
o
i
i
d
d
*
*
p
p
v
v
B
B
u
u
f
f
f
f
e
e
r
r
Pointer to the actual buffer. This buffer is allocated with ApiCreateScopeBuffer and freed with
ApiFreeScopeBuffer.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
B
B
u
u
f
f
f
f
e
e
r
r
S
S
i
i
z
z
e
e
Size of the buffer in bytes. On APE cards, this value has to be 64K in single-channel mode and
32K in dual-channel mode. On AyX cards, this value has to be 6K in single shot mode and 96K in
continuous mode.
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
S
S
C
C
O
O
P
P
E
E
_
_
B
B
U
U
F
F
F
F
E
E
R
R
_
_
F
F
L
L
A
A
G
G
S
S
u
u
l
l
F
F
l
l
a
a
g
g
s
s
Specific flags for the buffer.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
D
D
a
a
t
t
a
a
S
S
i
i
z
z
e
e
Size of the available MIL-Scope data in bytes. Only valid if SCOPE_BUFFER_FLAG_FILLED flag
is set for the buffer.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
T
T
r
r
i
i
g
g
g
g
e
e
r
r
I
I
d
d
ID of the trigger sample in the buffer starting from 0. This value is only valid if
SCOPE_BUFFER_FLAG_TRIGGER flag is set for the buffer.
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
S
S
C
C
O
O
P
P
E
E
_
_
B
B
U
U
F
F
F
F
E
E
R
R
_
_
H
H
A
A
N
N
D
D
L
L
E
E
R
R
p
p
B
B
u
u
f
f
f
f
e
e
r
r
H
H
a
a
n
n
d
d
l
l
e
e
r
r
Handler function, which is called when the buffer is full. Parameters are the module handle of the
board and a pointer to the buffer that is ready.
Typedef void (_stdcall *TY_API_SCOPE_BUFFER_HANDLER)(
AiUInt32 ulModuleHandle,
TY_API_SCOPE_BUFFER* pBuffer );
v
v
o
o
i
i
d
d
*
*
p
p
v
v
U
U
s
s
e
e
r
r
D
D
a
a
t
t
a
a
Pointer to user definable data which is attached to the buffer. This data can be accessed in the
scope buffer handler when buffer is completed or canceled.
O
O
u
u
t
t
p
p
u
u
t
t
N
N
o
o
n
n
e
e
Return Value
A
A
i
i
I
I
n
n
t
t
1
1
6
6
All API functions return API_OK if no error occurred. If the return value is not equal to API_OK the function
ApiGetErrorDescription can be used to obtain an error description..
Flag
Description
SCOPE_BUFFER_FLAG_FILLED
Buffer is filled with data
SCOPE_BUFFER_FLAG_CANCELED
Receiving of Scope Data for this
buffer was canceled.
SCOPE_BUFFER_FLAG_TRIGGER
The buffer contains the trigger sample

Table of Contents

Other manuals for Aim MIL-STD-1553