NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get signal value through VeriStand API

hello guys

    I want to get the engine speed in the Veristand through C# programming. and I know how to get and set parameter value with IManager2 Interface by VeriStand API. Now I need to use which interface or methord in the API to get the signal value not parameter, hope somebody give answer,thx!

0 Kudos
Message 1 of 2
(3,576 Views)

Hello chenjy,

In the future, it is recommended that you post your questions to the NI VeriStand Discussion Forum instead of this location. The NI VeriStand Discussion Forum serves as a platform for support from VeriStand users. In addition, the NI VeriStand Add Ons each have their own individual discussion pages that are specific to the add on itself so this forum that you have posted to is not used.

To answer your question, you can treat the signal like a channel and use the IWorkspace2 GetSingleChannelValue method with the correct signal path to view the current value of that signal.

Thank you,

Lynn

National Instruments
Senior Systems Engineer
0 Kudos
Message 2 of 2
(2,945 Views)