07-22-2010 02:14 AM
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.
07-23-2010 09:28 PM
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.
07-23-2010 09:35 PM
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.
07-26-2010 03:22 AM
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);
07-26-2010 08:05 PM
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 .
04-22-2023 09:10 AM
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
04-22-2023 09:12 AM
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