Error -307603 When Adding a Custom Device on Veristand

Updated Oct 13, 2021

Reported In

Software

  • VeriStand
  • VeriStand Custom Devices

Issue Details

When I try to add a custom device to NI Veristand I receive the following error: 

"Error -307603 occurred at Custom Devices Storage.lvlib:Initialize New Custom Device.vi >> Custom Devices Storage.lvlib:Get Main Page Data.vi.

Solution

In order to resolve this issue you will require to avoid building custom devices in the same directory where VeriStand looks for them.

  1.  Create a directory for building custom devices (Avoid Custom Devices default location C:\Users\Public\Documents\National Instruments\NI VeriStand XXXX\Custom Devices).
  2.  Inside that directory, create the custom device and create a folder with the exact same name as your custom device.
  3.  In the project build specifications of your Custom Device change the destination folder to the folder you just created. 
  4. Build the custom device llbs 
  5.  Copy the folder (containing only the build spec libraries, and the .xml file) to the "C:\Users\Public\Documents\National Instruments\NI VeriStand XXXX\Custom Devices" directory.