ni/niveristand-aim-arinc429-custom-device

Get rid of this magic number for number of channels

dbendele opened this issue · 0 comments

Describe the bug
Number of channels is hardcoded at 16 which was sufficient for Ballard Hardware because maximum number of Rx channels on boards we resell is 16. NI plans to resell AIM boards with 32 Rx/Tx channels.

To Reproduce
Steps to reproduce the behavior:

  1. Inspect code as shown below.

Expected behavior
The code should not have artificial limitations. Get the number of channels from the input configuration.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Version: 10 Pro

Additional context
Add any other context about the problem here.