
#Saving a logmask in qxdm code#
If status is TRUE, code is a nonzero error code. Status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.Ĭode is the error or warning code. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error. Otherwise, error out describes the error status that this VI or function produces. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. This output is not the saved task or global channels.Įrror out contains error information. Task out is the same task or global channels you wired to the task/channels in input. If this input is FALSE and a global channel of the same name is already saved in MAX, this VI returns an error. Overwrite existing channel? specifies whether to overwrite a global channel of the same name if one is already saved in MAX. If allow interactive editing? is TRUE, the DAQ Assistant must support all task or global channel settings.Īllow interactive deletion? specifies whether to allow the task, global channel, or custom scale to be deleted through MAX.
#Saving a logmask in qxdm how to#
The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.Īllow interactive editing? specifies whether to allow the task, global channel, or custom scale to be edited in the DAQ Assistant. Source identifies where an error occurred.

If status is FALSE, code is 0 or a warning code. If status is TRUE, code is a negative error code. The default is FALSE.Ĭode is the error or warning code. Status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. 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.

Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. 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. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. 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.Īuthor is a name to store with the task, global channel, or custom scale.Įrror in describes error conditions that occur before this VI or function runs. Save as is the name to save the task, global channel, or custom scale as. 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. 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 channel name input.Ĭhannel name is the local or global channel you want to save.

Task/channels in is the task that contains the local or global channel you want to save.
