default_output_mixer_channel#

default_output_mixer_channel(discovery_props: Dict, output_channel: int = 0) int[source]#

Return an instrument’s default output mixer channel.

Based on the specified devicetype and options discovery properties and the hardware output channel.

This utility function is used by the ziPython examples and returns a node available under the /devX/sigouts/0/{amplitudes,enables}/ branches.

Parameters:
  • discovery_props (Dict) – A device’s discovery properties as returned by ziDiscovery’s get() method.

  • output_channel (int) – The zero-based index of the hardware output channel for which to return an output mixer channel.

Returns:

The zero-based index of an available signal output mixer channel.

Raises:

Exception – If an invalid signal input index was provided.

Return type:

int