MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.33 ApiCmdScopeSetup
Prototype:
ApiCmdScopeSetup( AiUInt32 ulModuleHandle, TY_API_SCOPE_SETUP
*px_ScopeSetup );
Driver Command:
TG_API_SCOPE_SETUP (0xF7)
Purpose:
Note: This function is only usable with AIM’s MIL-Scope module.
This function is used to setup and initialize the MIL-Scope. There are two ADC
channels available onboard. Both ADCs can be programmed separately.
After calling this function with a different coupling than before, the application has to
wait about 10 milli seconds for the Relais to settle before starting the scope.
9.1.33.1 Using Scope Functionality On APX/ACX Cards
The Milscope is started with the function ApiCmdDataQueueControl and the
parameter API_DATA_QUEUE_CTRL_MODE_START.
The stored data can be read with the command ApiCmdDataQueueRead(). The
following data format is used to store the scope data:
The first 1024 bytes contain additional information and are reserved. Each following
long word contains three sample values, a channel indicator and a trigger bit. If only
channel A is used all data words will be from channel A. If only channel B is used all
data words will be from channel B. If channel A and B are active at the same time
the data words will be alternating channel A and channel B.
Sampling Data (channel A or B)