Error 403001 from BTI1553LV.lvlib

Updated Feb 27, 2025

Reported In

Hardware

  • Ballard MIL STD-1553

Issue Details

Currently, we are creating a switch on the LabVIEW GUI. By turning the switch ON, we execute ConfigureChannelFromXML followed by StartBC, and by turning the switch OFF, we execute StopBC. We are verifying the operation of this VI. When we repeat turning this switch ON and OFF 110 to 120 times, the following error occurs in ConfigureChannelFromXML, and the process stops. Could you please provide the cause of the error and the countermeasures?

BTI1553LV.lvlib:Error Converter (ErrCode or Status).vi<ERR>
403001: Failed to create the 1553 bus controller message list (When calling BTIDriver API function BTI1553_BCCreateList, encountered internal error -31=ERR_BADMSG The specified command block is not a message block (BTICard))

 

Solution

It is possible that there is a memory leak or session corruption occurring due to the repeated start/stop cycles of the program.

When we execute the sequence Reset → Configure Channel → Start BC → Stop BC for 200 cycles, we do not encounter any issues. Please including a reset.vi before each cycle can solve the error.

Additional Information

You can find the sample program at following path.

C:\Program Files\NI\LVAddons\ballardinstr64\1.6.0.3\examples\Astronics Ballard Technology\BTI1553Lib
C:\Program Files\National Instruments\LabVIEW 2020\examples\Astronics Ballard Technology\BTI1553Lib