Execute internal loopback test. This may be useful for startup BIT to verify transceiver and other hardware capabilities. If this test is to be executed on a particular channel, this function should be called prior to naibrd_1553_Open().
- Parameters
-
cardIndex | : (Input) Logical Card Index assigned to connection with the NAI_BOARD (0 - NAI_MAX_CARDS-1). |
module | : (Input) Module Number of the module to access (1 - [max modules for board]). |
channel | : (Input) Channel Number of the channel to access (1 - [max channels for module]). |
p_outbusAPassed | : (Output) Bus A Loopback Test status: Pass = NAI_TRUE (1), Fail = NAI_FALSE (0). |
p_outbusBPassed | : (Output) Bus B Loopback Test status: Pass = NAI_TRUE (1), Fail = NAI_FALSE (0). |
- Returns
- NAI_SUCCESS
- NAI_ERROR_INVALID_CARD when invalid card parameter is specified.
- NAI_ERROR_INVALID_MODULE when invalid module parameter is specified.
- NAI_ERROR_INVALID_CHANNEL when invalid channel parameter is specified.
- NAI_ERROR_INVALID_VALUE when busAPassed or busBPassed are null.
- NAI_ERROR_NOT_SUPPORTED when this function is not supported.