MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.44 ApiFreeScopeBuffer
Prototype:
AiInt16 ApiFreeScopeBuffer(
AiUInt32 ulModuleHandle,
TY_API_SCOPE_BUFFER* px_Buffer);
Purpose:
This function frees a scope buffer which was allocated with ApiCreateScopeBuffer
or ApiCreateScopeBufferList. The corresponding buffer must not be accessed after
calling this function. In particular, it must not be provided for scope data reception
via ApiProvideScopeBuffers. Also, if the buffer has been provided before, it has to
be completed or canceled by calling ApiCmdScopeStop.
Note: This function is only usable with AIM’s APE MIL-Scope module.
I
I
n
n
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
_
_
B
B
U
U
F
F
F
F
E
E
R
R
*
*
p
p
x
x
B
B
u
u
f
f
f
f
e
e
r
r
A pointer to the scope buffer to free.
Return Value
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..