DAQmx Save Task
Saves the specified task and any local channels it contains to MAX. This VI does not save global channels. Use the DAQmx Save Global Channel VI to save global channels.
Programmatically saved tasks cannot be viewed in NI-DAQ 7.3 or earlier. To view a programmatically saved task in an earlier version of NI-DAQ, first use MAX to open the task 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 tasks.
Place on the block diagram. | Find on the Functions palette. |
task/channels in is the name of the task or a list of virtual channels to which the operation applies. If you provide a list of virtual channels, NI-DAQmx creates a task automatically. | |||||||
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 task? specifies whether to overwrite a task of the same name if one is already saved in MAX. If this input is FALSE and a task 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.
|