VeriStand .NET API Reference

Block Class

Represents a Block primitive, which contains a list of functional statements to execute. You can use blocks to organize sequence code. Also, because a block itself is a single statement, you can use blocks to easily duplicate or move related statements that are grouped under a block. Certain pre-defined sections of sequence code, such as Setup, Main, and CleanUp, use code blocks for the Body of their code.

Namespace: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi
Assembly: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi (in NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Class Block _
	Inherits Statement _
	Implements IEquatable(Of Block)
C#
public class Block : Statement, IEquatable<Block>
Visual C++
public ref class Block : public Statement, 
	IEquatable<Block^>

Remarks

Use the members of this class to configure a code block. For example, you can add or remove the Statement objects that belong to the block.

Accessing this Class:

Inheritance Hierarchy

System.Object
    NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.BaseNode
        NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.Statement
            NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.Block

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

Log in to get a better experience