VeriStand .NET API Reference

Root.AddChannelMappings Method

Adds new channel mappings to the system. The source channels map to the destination channels, but the destination channels store the mapping information. This method overwrites any pre-existing mapping information on a destination channel.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function AddChannelMappings ( _
	channelPathSources As String(), _
	channelPathDestinations As String() _
) As Boolean
C#
public bool AddChannelMappings(
	string[] channelPathSources,
	string[] channelPathDestinations
)
Visual C++
public:
bool AddChannelMappings(
	array<String^>^ channelPathSources, 
	array<String^>^ channelPathDestinations
)

Parameters

channelPathSources
Type: System.String
A list of source channel paths.
channelPathDestinations
Type: System.String
A list of destination channel paths.

Return Value

true (True in Visual Basic) if the channel mappings were added successfully.

Remarks

The channelPathSources and channelPathDestinations arrays are associated by index, such that the source channel at index n in channelPathSources maps to the destination channel at the same index n in channelPathDestinations.

See Also

Log in to get a better experience