nidaqmx.system.persisted_scale

class nidaqmx.system.storage.persisted_scale.PersistedScale(name, *, grpc_options=None)[source]

Bases: object

Represents a saved DAQmx custom scale.

Use the DAQmx Persisted Scale properties to query information about programmatically saved custom scales.

__eq__(other)[source]

Return self==value.

__hash__()[source]

Return hash(self).

__init__(name, *, grpc_options=None)[source]
Parameters:
  • name (str) – Specifies the name of the saved scale.

  • grpc_options (Optional[GrpcSessionOptions]) – Specifies the gRPC session options.

__ne__(other)[source]

Return self!=value.

__repr__()[source]

Return repr(self).

property allow_interactive_deletion

Indicates whether the custom scale can be deleted through MAX.

Type:

bool

property allow_interactive_editing

Indicates whether the custom scale can be edited in the DAQ Assistant.

Type:

bool

property author

Indicates the author of the custom scale.

Type:

str

delete()[source]

Deletes this custom scale from MAX.

This function does not remove the custom scale from virtual channels that use it.

load()[source]

Loads this custom scale.

Returns:

Indicates the loaded Scale object.

Return type:

nidaqmx.scale.Scale

property name

Indicates the name of the custom scale.

Type:

str