DAQmxSaveScale
int32 DAQmxSaveScale (const char scaleName[], const char saveAs[], const char author[], uInt32 options);
Purpose
Saves the specified custom scale to MAX.
Visit the DAQmx Professional Developer Tools website for more information and examples of programmatically saving global channels.
Parameters
Input | ||||||||||||||
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
scaleName | const char [] | Name of the custom scale to save. | ||||||||||||
saveAs | const char [] | Name to save the custom scale as. If you pass an empty string ("") or NULL, the name currently assigned to the scale is used. | ||||||||||||
author | const char [] | Name to store with the custom scale. | ||||||||||||
options | uInt32 | Use this parameter to set certain options. You can combine options with the bitwise-OR operator ('|') to set multiple options. Pass a value of zero if no options need to be set.
|
Return Value
Name | Type | Description |
---|---|---|
status | int32 | The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error. |