MIL-STD-1553 Reference Manual
Chapter 3 – System Functions
3.1.23 ApiCmdSysPXICon
Prototype:
AiInt16 ApiCmdSysPXICon( AiUInt32 ul_ModuleHandle,
TY_API_PXI_CON *px_PXICon);
Driver Command:
TG_API_SYS_PXI_CON (0x22)
Purpose:
This function is used to combine PXI specific trigger lines with the trigger lines of AIM
boards. Any of the 8 PXI trigger lines can be set once to one trigger line of the AIM
board, thus a maximum number of 8 trigger line combinations are possible.
It also provides support to switch the IRIG TT source.
Note: this function is not supported for all boards. Please see Table B-III – Function
Support By Boards With ASP for details
I
I
n
n
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
P
P
X
X
I
I
_
_
C
C
O
O
N
N
*
*
p
p
x
x
_
_
P
P
X
X
I
I
C
C
o
o
n
n
typedef struct ty_api_pxi_con
{
AiUInt32 ul_Mode;
AiUInt32 ul_TrgSource;
AiUInt32 ul_TrgDest;
AiUInt32 ul_TTClear;
} TY_API_PXI_CON;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
o
o
d
d
e
e
Define a new Trigger combination using
trigger source and destination given in
parameters ‘ul_TrgSource’ and ‘ul_TrgDest’
Clear all previously defined trigger
combinations
API_PXI_SET_TTSRC_EXTERNAL
Switch the time tag source used on the PXI
back plane to an external 1KHz IRIG B signal.
This means that the AIM board internal
generated IRIG signal is used as the IRIG
source on the PXI back plane.
API_PXI_SET_TTSRC_INTERNAL
Switch the time tag source used on the PXI
back plane to the internal 1KHz signal derived
from the PXI System Reference Clock.
This means that the AIM board internal
generated IRIG signal is not used as the IRIG
source on the PXI back plane.