ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

取消
顯示結果 
搜尋替代 
您的意思是: 

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 積分
1 條訊息(共 11 條)
8,334 檢視

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 積分
2 條訊息(共 11 條)
8,334 檢視

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 積分
3 條訊息(共 11 條)
8,327 檢視

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 積分
4 條訊息(共 11 條)
8,319 檢視

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 積分
5 條訊息(共 11 條)
8,309 檢視

Hi Stephen,

 

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

 

Cheers

CHCastro
0 積分
6 條訊息(共 11 條)
8,256 檢視

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 積分
7 條訊息(共 11 條)
8,254 檢視

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 積分
8 條訊息(共 11 條)
8,251 檢視

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 積分
9 條訊息(共 11 條)
8,193 檢視
  • 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 積分
10 條訊息(共 11 條)
8,190 檢視