EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdscopesetup; Using Scope Functionality on APX;ACX Cards

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
389
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 AIMs 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:
Rel.
Addr
Offset
Bit31
Bit 0
0000h
Reserved (0)
0004h
Reserved (0)
0008h
Reserved (0)
000Ch
Reserved (0)
0010h
Reserved (0)
0014h
Reserved (0)
Reserved (0)
03FFh
Reserved (0)
0400h
Sampling Data Channel A
0404h
Sampling Data Channel B
0408h
Sampling Data Channel A
040Ch
Sampling Data Channel B
13F8h
Sampling Data Channel A
13FCh
Sampling Data Channel B
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)

Table of Contents

Other manuals for Aim MIL-STD-1553