DAQmx Save Global Channel
Saves the specified local or global channel to MAX as a global channel. You must specify both the local or global channel to save and a task that contains that channel.
Programmatically saved global channels cannot be viewed in NI-DAQ 7.3 or earlier. To view a programmatically saved global channel in an earlier version of NI-DAQ, first use MAX to open the global channel in NI-DAQ 7.4 or later and resave it.
Refer to the DAQmx Professional Developer Tools Web site for more information and examples of programmatically saving global channels.
Place on the block diagram. | Find on the Functions palette. |
task/channels in is the task that contains the local or global channel you want to save. If you use a DAQmx global channel constant or control to select a global channel to modify and save, wire that constant or control to both this input and the channel name input. | |||||||
channel name is the local or global channel you want to save. The channel must be inside the task specified with the task/channels in input. If you use a DAQmx global channel constant or control to select a global channel to modify and save, wire that constant or control to both this input and the task/channels in input. | |||||||
save as is the name to save the task, global channel, or custom scale as. If you do not wire a value to this input, NI-DAQmx uses the name currently assigned to the task, global channel, or custom scale. | |||||||
author is a name to store with the task, global channel, or custom scale. | |||||||
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, the VI or function runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
|
|||||||
allow interactive editing? specifies whether to allow the task, global channel, or custom scale to be edited in the DAQ Assistant. If allow interactive editing? is TRUE, the DAQ Assistant must support all task or global channel settings. | |||||||
allow interactive deletion? specifies whether to allow the task, global channel, or custom scale to be deleted through MAX. | |||||||
overwrite existing channel? specifies whether to overwrite a global channel of the same name if one is already saved in MAX. If this input is FALSE and a global channel of the same name is already saved in MAX, this VI returns an error. | |||||||
task out is the same task or global channels you wired to the task/channels in input. This output is not the saved task or global channels. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, error out describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
|