Solution
This issue is expected as the NI-Serial 9870 and 9871 Scan Engine Support version 21.5 is not up to date to the 2022 Q4 and 2023 Q1 Base System Image. This creates a compatibility issue with the driver and the Base System Image.
To resolve it, you can either downgrade to the 2022 Q3 Base System Image or update the driver to the 2023 Q2 version or the latest version of the Base System Image.