VeriStand Custom Device Configuration Errors

Updated Jun 13, 2018

Reported In

Software

  • VeriStand 2015
  • VeriStand 2017 PC
  • VeriStand 2014
  • VeriStand Full
  • VeriStand 2017 Full

Issue Details

  • Getting an error with VeriStand custom devices
  • Adding custom device in System Explorer results in error

Solution

  • When adding the custom device, the Initialization VIs and Page VIs execute and are generally the root cause.  Ensure that the VIs referenced in the Custom Device XML file are valid on the computer and are executable
  • Use common debugging techniques on above VIs
    • Logging errors to a file
    • One button dialog boxes
    • For Page VIs also include front panel indicators which are visible in System Explorer
  • If you're porting built custom device LLB files over to a deployment machine, make sure the software stack on both machines is identical.  If driver versions are different, for example, the custom device could fail to load correctly into a System Definition because underlying VIs are different

Additional Information

If you are seeing an error or unexpected behavior when you add a custom device to your project or configure your custom device in the system explorer, then you are encountering a configuration error. There are two VIs that could be causing this error: your Initialization VI and any Page VIs. The Initialization VI runs when your custom device is first added to the System Explorer, and the Page VIs are run while configuring your custom device.
 

Custom device creation can be challenging, but there are several resources that can provide assistance along the way:  If you are encountering an error during deployment, please see Troubleshooting Deployment Errors with NI VeriStand Custom Devices. If you encounter an error or unexpected behavior during run-time, please see Run-Time Errors or Unexpected Behavior with NI VeriStand Custom Devices

If you are still having problems with using the troubleshooting techniques mentioned above or understanding the custom device framework, please contact National Instruments support.

WAS THIS ARTICLE HELPFUL?

Not Helpful