ModelCommand Class

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

Members See Also


Represents a Model Command channel, which you can use to send commands to the model running on the target.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI

Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2017.0.0.0 (2017.0.0.128)

Syntax

Visual Basic (Declaration)
Public Class ModelCommand _
	Inherits Channel

C#
public class ModelCommand : Channel

Visual C++
public ref class ModelCommand : public Channel

Remarks

You can send the following commands to a model at run-time:
ValueCommand
0 Start
1 Pause
2 Reset to the initial model state
3 Save the model state to a file
4 Restore the model state from a file

Accessing this Class

Inheritance Hierarchy

System.Object
    NationalInstruments.VeriStand.SystemDefinitionAPI.BaseNode
        NationalInstruments.VeriStand.SystemDefinitionAPI.Channel
            NationalInstruments.VeriStand.SystemDefinitionAPI.ModelCommand

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ModelCommand Members

NationalInstruments.VeriStand.SystemDefinitionAPI Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful