VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand 2010 .Net API

Hello,

 

I'm looking for documentation of the VeriStand 2010 .Net API and I can't seem to find it anywhere. Any help would be appreciated.

 

Thanks,

Kevin Key

0 Kudos
Message 1 of 11
(7,919 Views)

Hi Kevin,

 

The Execution API documetation is available here.

 

The System Definition API has a couple of examples at <LabVIEW>\examples\NI VeriStand\API, where <LabVIEW> is typically C:\Program Files\National Instruments\LabVIEW.

0 Kudos
Message 2 of 11
(7,919 Views)

That helps a little bit, but there is a ton more to the .Net API than in there.

 

If you Browse the GAC in TestStand there are a few different assemblies:

 

NationalInstruments.VeriStand.SystemDefinitionAPI(2010.0.0.0)

NationalInstruments.VeriStand.SystemStorage(2010.0.0.0)

NationalInstruments.VeriStand.ClientAPI(2010.0.0.0)

NationalInstruments.VeriStand.APIInterface(2010.0.0.0)

 

etc...

 

Just in hunting down things and looking through stuff I've almost got what I want, but I can't seem to find a way to get the System Definition File associated to a Project File. If anyone knows how let me know.

 

Thanks.

 

0 Kudos
Message 3 of 11
(7,912 Views)

I don't think that there's an API call to do that, but the .nivsproj file is xml, so you probably could just open and parse it and look for the .nivssdf file in the "System Definition File" section.

0 Kudos
Message 4 of 11
(7,904 Views)

Actually, there is a bit of a sneaky way to load the project file with NI VeriStand APIs and query data from it. Note this isn't supported or documented, and could change in the future. See the attachment.

Stephen B
0 Kudos
Message 5 of 11
(7,894 Views)

Hi Stephen,

 

API to handle project files would be a good idea for VS. 2011.

 

Cheers

CHCastro
0 Kudos
Message 6 of 11
(7,841 Views)

I agree.

 

The document control in that VI couldn't be found on my pc, but I think I found a solution for what I was trying to do that is acceptable.

 

Thanks,

Kevin

0 Kudos
Message 7 of 11
(7,839 Views)

Hi Kevin,

 

If you plan to handle the XML file, there is an LV lib in Source Forge that I used in a project to extract information from the file.

 

http://labxml.sourceforge.net/

 

It is old (2005) but I used it with LV2009 with few work. If you wish, I can post it here.

 

Cheers.

CHCastro
0 Kudos
Message 8 of 11
(7,836 Views)

Back to kind of the original question:

 

Is there documentation for any of these?

 

NationalInstruments.VeriStand.SystemDefinitionAPI(​2010.0.0.0)

NationalInstruments.VeriStand.SystemStorage(2010.0​.0.0)

NationalInstruments.VeriStand.ClientAPI(2010.0.0.0​)

NationalInstruments.VeriStand.APIInterface(2010.0.​0.0)

 

Thanks,

Kevin

0 Kudos
Message 9 of 11
(7,778 Views)
  • NationalInstruments.VeriStand.SystemDefinitionAPI(​2010.0.0.0) - Not yet. It is on its way.
  • NationalInstruments.VeriStand.SystemStorage(2010.0​.0.0) - Not happening. It is "internal API" .. but as I showed before.. it can be figured out and used if you've got the need and the time 🙂
  • NationalInstruments.VeriStand.APIInterface(2010.0.​0.0) - Not happening. It is "internal API"

Might I ask why you want documentation of the "internal" APIs?

Stephen B
0 Kudos
Message 10 of 11
(7,775 Views)