XML Error When Opening VeriStand with ActionVI-Enabled Custom Devices

Updated May 3, 2018

Reported In

Software

  • VeriStand 2015 SP1
  • VeriStand 2016

Other

Any VeriStand Custom Device with ActionVI functionality

Issue Details

I am adding ActionVI functionality to a Custom Device XML. When opening VeriStand after adding the Custom Device to VeriStand's directory, I get the error below.

Error -307526 occurred at NI VeriStand Gateway.lvlib:VeriStand Server Wrapper.vi >> NI VeriStand Server.lvlib:NI VeriStand Server.vi >> System Definition Deployment.lvlib:Action VI Lookup FG.vi

Possible reason(s):

NI VeriStand: The XML file provided is invalid.
=========================
NI VeriStand: C:\Users\Public\Documents\National Instruments\NI VeriStand 20XX\Custom Devices\Dummy\Custom Device Dummy.xml There is an error in XML document (Row, Col).The element 'Page' has invalid child element 'ActionVI...'. List of possible elements expected: 'Help, AdditionalInformation'.

How do I set up the Custom Device XML for VeriStand to correctly identify the Custom Device?

Solution

  1. Make sure each of the eight Custom Device ActionVIs are only called once per XML page.
  2. Make sure ActionVIs are called in the following order.
    • <ActionVIOnDelete>
    • <ActionVIOnLoad>
    • <ActionVIOnSystemShutdown>
    • <ActionVIOnSave>
    • <ActionVIOnDownload>
    • <ActionVIOnPaste>
    • <ActionVIOnDeleteRequest>
    • <ActionVIOnCompile>

Additional Information

This error occurs when VeriStand is enumerating Custom Devices from the <VeriStand 20XX> directory. If you see this error and did not make the Custom Device that is throwing the error (seen in the error message, here Custom Device Dummy), follow up with the Custom Device provider.

WAS THIS ARTICLE HELPFUL?

Not Helpful