NI-DAQmx .NET Framework 4.0 API Reference

DaqSystem.SaveGlobalChannel Method (Channel)

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.SaveGlobalChannel Method (Channel)
Saves the specified local or global channel to Measurement Automation Explorer (MAX) as a global channel, under the virtual name it was given when it was created.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public void SaveGlobalChannel(
	Channel channel
)
Public Sub SaveGlobalChannel ( 
	channel As Channel
)

Parameters

channel
Type: NationalInstruments.DAQmxChannel
The channel instance to save.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

You may save a channel under a different name by calling SaveGlobalChannelAs(Channel, String).

This method sets the Default option for the saved channel and uses an empty string for the channel Author. You can specify your own options and author value by using the SaveGlobalChannel(Channel, String, SaveOptions) overload.

You cannot view programmatically saved global channels in the DAQ Assistant for versions of NI-DAQ earlier than 7.4. To view a programmatically saved global channel in an earlier version of NI-DAQ, first use the DAQ Assistant in NI-DAQ 7.4 or later to save the global channel.

Visit the DAQmx Professional Developer Tools Web site for more information and examples of programmatically saving global channels.

See Also

Log in to get a better experience