NI-DAQmx .NET Framework 4.0 API Reference

DaqSystem.SaveScale Method (Scale)

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.SaveScale Method (Scale)
Saves the specified custom scale to Measurement Automation Explorer (MAX) under the 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 SaveScale(
	Scale scale
)
Public Sub SaveScale ( 
	scale As Scale
)

Parameters

scale
Type: NationalInstruments.DAQmxScale
The scale instance to save.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

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

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

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

See Also

Log in to get a better experience