GetModeList Method

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

SignalBasedFrame Class See Also


Gets an array that contains the Mode elements from the current SignalBasedFrame.

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 Function GetModeList As Mode()

C#
public Mode[] GetModeList()

Visual C++
public:
array<Mode^>^ GetModeList()

Return Value

An array that contains the Mode elements from the current SignalBasedFrame.

Remarks

This method is only valid for CAN frames. In NI VeriStand, Mode nodes simply organize dynamic (multiplexed) signals according to their mode values. You can use the CreateMode method to create a mode section.
Note:Modifications you make to the contents of this list apply to the system definition. However, modifications you make to the array container, such as by calling Array.SetValue() or Array.Clear(), have no effect on the system definition.

See Also

Reference

SignalBasedFrame Class

NationalInstruments.VeriStand.SystemDefinitionAPI Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful