NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents
Product DocumentationNI-DAQmx .NET Framework 4.0 API ReferenceDaqSystem.SaveScale Method (Scale, String, SaveOptions)Current page
Table of Contents

DaqSystem.SaveScale Method (Scale, String, SaveOptions)

DaqSystem.SaveScale Method (Scale, String, SaveOptions)

DaqSystemSaveScale Method (Scale, String, SaveOptions)

Saves the specified custom scale to Measurement Automation Explorer (MAX) under the name it was given when it was created and with specified author and options values.

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

Syntax

public void SaveScale(
	Scale scale,
	string author,
	SaveOptions options
)
Public Sub SaveScale ( 
	scale As Scale,
	author As String,
	options As SaveOptions
)

Parameters

scale
Type: NationalInstruments.DAQmxScale
The scale instance to save.
author
Type: SystemString
A user-specified string that represents the name to store with the scale. For example, scales created with the DAQ Assistant have the string "DAQ Assistant" as their author. You may pass Empty.
options
Type: NationalInstruments.DAQmxSaveOptions
One or more flags indicating various save options.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

You may save a scale under a different name by calling SaveScaleAs(Scale, String).

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

See Also

Was this information helpful?