ni_measurementlink_service
releases/1.4
  • API Reference
ni_measurementlink_service
  • ni_measurementlink_service._configuration
  • Edit on GitHub

ni_measurementlink_service._configuration

MeasurementLink configuration options.

Module Contents

Classes

MIDriverOptions

Modular instrument driver options.

NISwitchOptions

NI-SWITCH driver options.

Attributes

NIDCPOWER_OPTIONS

NIDIGITAL_OPTIONS

NIDMM_OPTIONS

NIFGEN_OPTIONS

NISCOPE_OPTIONS

NISWITCH_OPTIONS

NISWITCH_MULTIPLEXER_OPTIONS

USE_GRPC_DEVICE_SERVER

GRPC_DEVICE_SERVER_ADDRESS

class ni_measurementlink_service._configuration.MIDriverOptions[source]

Bases: NamedTuple

Modular instrument driver options.

driver_name: str

The driver name.

simulate: bool = False

Specifies whether to simulate session operations.

board_type: str = ''

The simulated board type (bus).

model: str = ''

The simulated instrument model.

update_from_config()[source]

Read options from the configuration file and return a new options object.

Return type:

Self

to_dict()[source]

Convert options to a dict to pass to nimi-python.

Return type:

Dict[str, Any]

class ni_measurementlink_service._configuration.NISwitchOptions[source]

Bases: NamedTuple

NI-SWITCH driver options.

driver_name: str

The driver name.

simulate: bool = False

Specifies whether to simulate session operations.

topology: str = 'Configured Topology'

The default topology.

update_from_config()[source]

Read options from the configuration file and return a new options object.

Return type:

Self

ni_measurementlink_service._configuration.NIDCPOWER_OPTIONS
ni_measurementlink_service._configuration.NIDIGITAL_OPTIONS
ni_measurementlink_service._configuration.NIDMM_OPTIONS
ni_measurementlink_service._configuration.NIFGEN_OPTIONS
ni_measurementlink_service._configuration.NISCOPE_OPTIONS
ni_measurementlink_service._configuration.NISWITCH_OPTIONS
ni_measurementlink_service._configuration.NISWITCH_MULTIPLEXER_OPTIONS
ni_measurementlink_service._configuration.USE_GRPC_DEVICE_SERVER: bool
ni_measurementlink_service._configuration.GRPC_DEVICE_SERVER_ADDRESS: str

© Copyright 2024, National Instruments. Revision 2ba12c60.

Built with Sphinx using a theme provided by Read the Docs.