Set Board ID for NI-Motion Hardware

Updated Apr 29, 2021

Reported In

Hardware

  • PXI-7340
  • PXI-7330
  • PXI-7350
  • PCI-7330
  • PCI-7342
  • PCI-7352

Software

  • LabVIEW

Driver

  • NI-Motion

Operating System

  • Windows

Issue Details

  • I need to know the board ID for my NI-Motion controller hardware, or need to change/reset the current board ID. How can I do this?
  • I am encountering the below error when I run my NI-Motion code: 
-70012 (NIMC_badBoardIDError): Illegal Board ID
how can I resolve this error?

Solution

You can set the board ID for your NI-Motion controller in NI MAX by finding your device's entry in NI MAX, right-clicking on the entry, and selecting the Change Board ID... option from the right-click menu. This will allow you to change the board ID for your hardware so that you can use it to match the configured ID in your code, or reset it to a known value.

Note that you cannot set this value programmatically in LabVIEW - you'll need to manually configure the board ID when installing your hardware to match the board ID expected by your code. 

If you're encountering error -70012 when running your NI-Motion code, it's likely that either your board ID got reset, or that your board is not currently being detected by NI MAX/your computer.
  1. If you can see your motion controller in MAX, use the procedure above to reset the board ID to the value that your code is expecting.
  2. If you cannot see your board in MAX, check to see if it is detected in Windows Device Manager. If it is, try manually associating the NI-Motion driver with your board.
  3. Ensure that you have NI-Motion correctly installed on your machine, as well as any other necessary software - for example, if your motion controller is connected to a real-time PXI, you'll need to have the LabVIEW Real-Time Module installed as well to properly detect the chassis the motion controller is seated in.
  4. Completely power down your computer and other necessary, hardware, re-seat the motion controller in its slot, restart the computer/hardware, and see if the hardware appears correctly in NI-MAX on your device.