NI VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Device XML Version Tag: Does it work?

Solved!
Go to solution

It's (supposed to be) pretty simple...

 

My Custom Device XML contains

<Version>1.1.10</Version>

 

my ActionVIOnLoad reads the Version and (for debugging purposes) feeds it to a dialog box.

The dialog box reads "1.0.0"

 

I have...

  • Deleted the custom device, rebuilt it, manually confirmed that the XML file is in the correct location with the correct content
  • Verified that the new version of the custom device is being called (by changing the BG color of my pages)
  • Deleted the instance of the custom device from my test project and re-added it
  • Verified that I am not calling the Set Version anywhere in my code

I am stumped. This is not supposed to be hard.

Suggestions? Can someone prove to me that this XML tag actually works?

 

Thanks in advance, Rob

NOTE: Version 15 SP1

0 Kudos
Message 1 of 4
(132 Views)
Highlighted

Have you restarted NI VeriStand between your attempts? The Custom Device XML is loaded only once during the NIVS load

0 Kudos
Message 2 of 4
(83 Views)
Solution
Accepted by 10Things_Rob

OK, so I figured it out...

During my build process, I have a VI that updates the Version Number in the XML file. That VI was not closing the file. Once I put the close file in, then things started working.

 

-- Rob

0 Kudos
Message 3 of 4
(52 Views)

Good suggestion, yes I was doing that too.

0 Kudos
Message 4 of 4
(47 Views)