ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

VeriStand .NET API

Solved!
Go to solution

Hello otoro,I'm new to .NET and veristand .My English is poor.I followed your methods  install AddNationalInstrumentsVeriStandClientAPIRegKey.reg.But I still can't find NationalInstruments.VeriStand.ClientAPI in AddReference dialog.Do you know why? I use .NET2003.I still new to GAC and MSIL.

0 Kudos
Message 11 of 17
(6,448 Views)

Hello,enTelet.Can I see your application about how to use .NET API. I'm new to this and I don't know how to use the functions.  

0 Kudos
Message 12 of 17
(6,429 Views)

Hello Jarrod S.,I'm new to veristand and .NET.Can you give me a application about how to use .net API to control veristand.I even don't know how to use the functions such as GetEngineState ,I need help. 

0 Kudos
Message 13 of 17
(6,426 Views)

Hi bbo023,

I stopped with development of for what I needed VeriStand API. The code was meant to be a part of larger application. No point of sending you whole project.

What I did was enumeration of VS's nodes and the code was something like this:

 

 

  gcroot<Factory ^>  m_refVSFactory;
  m_refVSFactory = gcnew Factory();

  gcroot<IWorkspace ^>  m_refVSWorkspace;
  m_refVSWorkspace = m_refVSFactory->GetIWorkspace();

  array<NodeInfo^> ^arrChanels;

  m_refVSWorkspace->GetSystemNodeChannelList("", arrChanels);

  for ( int i = 0; i < arrChanels->Length; i++ )
  {
    NodeInfo ^refNode = arrChanels[i];
    if ( !refNode->IsChannel )
      continue;
    if ( !refNode->IsReadable )
      continue;
    if ( !AddNode(refNode) )
      return FALSE;
  }

 

 

Additionally I had read/write access to the nodes like:

 

 

  array<Double> ^ arrValues;

  m_refVSWorkspace->GetMultipleChannelValues(strPaths, arrValues);

  m_refVSWorkspace->SetMultipleChannelValues(strPaths, arrValues);
  

 

 

 

 

 

0 Kudos
Message 14 of 17
(6,405 Views)

Thanks for your help,enTelet.May I know  your  Email address ? This is a  school assignment for me.If I get  questions I can email you.This is my Email .

houxiaoboweiyi@163.com

0 Kudos
Message 15 of 17
(6,391 Views)

Hello sir, I haven't downloaded VeriStand software on my computer, but I would like to implement some functions of VeriStand in Winform. Can I directly add the VeriStand. NET API in Visual Studio to use it? If possible, could you provide the files for the VeriStand. NET API? I can't find them online. Thank you very much

0 Kudos
Message 16 of 17
(2,790 Views)

Hello sir, I haven't downloaded VeriStand software on my computer, but I would like to implement some functions of VeriStand in Winform. Can I directly add the VeriStand. NET API in Visual Studio to use it? If possible, could you provide the files for the VeriStand. NET API? I can't find them online. Thank you very much

0 Kudos
Message 17 of 17
(2,787 Views)