Session

class nidigital.Session(self, resource_name, id_query=False, reset_device=False, options={})

TBD

Parameters:
  • resource_name (str) –
  • id_query (bool) –
  • reset_device (bool) –
  • options (dict) –

    Specifies the initial value of certain properties for the session. The syntax for options is a dictionary of properties with an assigned value. For example:

    { ‘simulate’: False }

    You do not have to specify a value for all the properties. If you do not specify a value for a property, the default value is used.

    Advanced Example: { ‘simulate’: True, ‘driver_setup’: { ‘Model’: ‘<model number>’, ‘BoardType’: ‘<type>’ } }

    Property Default
    range_check True
    query_instrument_status False
    cache True
    simulate False
    record_value_coersions False
    driver_setup {}

Methods

abort

nidigital.Session.abort()

TBD

abort_keep_alive

nidigital.Session.abort_keep_alive()

TBD

apply_levels_and_timing

nidigital.Session.apply_levels_and_timing(site_list, levels_sheet, timing_sheet, initial_state_high_pins, initial_state_low_pins, initial_state_tristate_pins)

TBD

Parameters:
  • site_list (str) –
  • levels_sheet (str) –
  • timing_sheet (str) –
  • initial_state_high_pins (str) –
  • initial_state_low_pins (str) –
  • initial_state_tristate_pins (str) –

apply_tdr_offsets

nidigital.Session.apply_tdr_offsets(offsets)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].apply_tdr_offsets(offsets)
Parameters:offsets (list of float) –

burst_pattern

nidigital.Session.burst_pattern(site_list, start_label, select_digital_function, wait_until_done, timeout)

TBD

Parameters:
  • site_list (str) –
  • start_label (str) –
  • select_digital_function (bool) –
  • wait_until_done (bool) –
  • timeout (float) –

clear_error

nidigital.Session.clear_error()

TBD

clock_generator_abort

nidigital.Session.clock_generator_abort()

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].clock_generator_abort()

clock_generator_generate_clock

nidigital.Session.clock_generator_generate_clock(frequency, select_digital_function)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].clock_generator_generate_clock(frequency, select_digital_function)
Parameters:
  • frequency (float) –
  • select_digital_function (bool) –

clock_generator_initiate

nidigital.Session.clock_generator_initiate()

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].clock_generator_initiate()

close

nidigital.Session.close()

TBD

Note

This method is not needed when using the session context manager

commit

nidigital.Session.commit()

TBD

configure_active_load_levels

nidigital.Session.configure_active_load_levels(iol, ioh, vcom)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].configure_active_load_levels(iol, ioh, vcom)
Parameters:

configure_pattern_burst_sites

nidigital.Session.configure_pattern_burst_sites(site_list)

TBD

Parameters:site_list (str) –

configure_time_set_compare_edges_strobe

nidigital.Session.configure_time_set_compare_edges_strobe(time_set, strobe_edge)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].configure_time_set_compare_edges_strobe(time_set, strobe_edge)
Parameters:
  • time_set (str) –
  • strobe_edge (float) –

configure_time_set_compare_edges_strobe2x

nidigital.Session.configure_time_set_compare_edges_strobe2x(time_set, strobe_edge, strobe2_edge)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].configure_time_set_compare_edges_strobe2x(time_set, strobe_edge, strobe2_edge)
Parameters:
  • time_set (str) –
  • strobe_edge (float) –
  • strobe2_edge (float) –

configure_time_set_drive_edges

nidigital.Session.configure_time_set_drive_edges(time_set, format, drive_on_edge, drive_data_edge, drive_return_edge, drive_off_edge)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].configure_time_set_drive_edges(time_set, format, drive_on_edge, drive_data_edge, drive_return_edge, drive_off_edge)
Parameters:
  • time_set (str) –
  • format (int) –
  • drive_on_edge (float) –
  • drive_data_edge (float) –
  • drive_return_edge (float) –
  • drive_off_edge (float) –

configure_time_set_drive_edges2x

nidigital.Session.configure_time_set_drive_edges2x(time_set, format, drive_on_edge, drive_data_edge, drive_return_edge, drive_off_edge, drive_data2_edge, drive_return2_edge)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].configure_time_set_drive_edges2x(time_set, format, drive_on_edge, drive_data_edge, drive_return_edge, drive_off_edge, drive_data2_edge, drive_return2_edge)
Parameters:
  • time_set (str) –
  • format (int) –
  • drive_on_edge (float) –
  • drive_data_edge (float) –
  • drive_return_edge (float) –
  • drive_off_edge (float) –
  • drive_data2_edge (float) –
  • drive_return2_edge (float) –

configure_time_set_drive_format

nidigital.Session.configure_time_set_drive_format(time_set, drive_format)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].configure_time_set_drive_format(time_set, drive_format)
Parameters:
  • time_set (str) –
  • drive_format (int) –

configure_time_set_edge

nidigital.Session.configure_time_set_edge(time_set, edge, time)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].configure_time_set_edge(time_set, edge, time)
Parameters:

configure_time_set_edge_multiplier

nidigital.Session.configure_time_set_edge_multiplier(time_set, edge_multiplier)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].configure_time_set_edge_multiplier(time_set, edge_multiplier)
Parameters:
  • time_set (str) –
  • edge_multiplier (int) –

configure_time_set_period

nidigital.Session.configure_time_set_period(time_set, period)

TBD

Parameters:

configure_voltage_levels

nidigital.Session.configure_voltage_levels(vil, vih, vol, voh, vterm)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].configure_voltage_levels(vil, vih, vol, voh, vterm)
Parameters:

create_capture_waveform_from_file_digicapture

nidigital.Session.create_capture_waveform_from_file_digicapture(waveform_name, waveform_file_path)

TBD

Parameters:
  • waveform_name (str) –
  • waveform_file_path (str) –

create_capture_waveform_parallel

nidigital.Session.create_capture_waveform_parallel(waveform_name)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].create_capture_waveform_parallel(waveform_name)
Parameters:waveform_name (str) –

create_capture_waveform_serial

nidigital.Session.create_capture_waveform_serial(waveform_name, sample_width, bit_order)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].create_capture_waveform_serial(waveform_name, sample_width, bit_order)
Parameters:
  • waveform_name (str) –
  • sample_width (int) –
  • bit_order (int) –

create_source_waveform_from_file_tdms

nidigital.Session.create_source_waveform_from_file_tdms(waveform_name, waveform_file_path, write_waveform_data)

TBD

Parameters:
  • waveform_name (str) –
  • waveform_file_path (str) –
  • write_waveform_data (bool) –

create_source_waveform_parallel

nidigital.Session.create_source_waveform_parallel(waveform_name, data_mapping)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].create_source_waveform_parallel(waveform_name, data_mapping)
Parameters:
  • waveform_name (str) –
  • data_mapping (int) –

create_source_waveform_serial

nidigital.Session.create_source_waveform_serial(waveform_name, data_mapping, sample_width, bit_order)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].create_source_waveform_serial(waveform_name, data_mapping, sample_width, bit_order)
Parameters:
  • waveform_name (str) –
  • data_mapping (int) –
  • sample_width (int) –
  • bit_order (int) –

create_time_set

nidigital.Session.create_time_set(name)

TBD

Parameters:name (str) –

delete_all_time_sets

nidigital.Session.delete_all_time_sets()

TBD

disable_sites

nidigital.Session.disable_sites(site_list)

TBD

Parameters:site_list (str) –

enable_sites

nidigital.Session.enable_sites(site_list)

TBD

Parameters:site_list (str) –

fetch_capture_waveform

nidigital.Session.fetch_capture_waveform(site_list, waveform_name, samples_to_read, timeout)

Returns dictionary where each key is the site number and the value is array.array of unsigned int

Parameters:
Return type:

{ site: data, site: data, .. }

Returns:

Dictionary where each key is the site number and the value is array.array of unsigned int

fetch_history_ram_cycle_information

nidigital.Session.fetch_history_ram_cycle_information(site, position, samples_to_read)

Returns the pattern information acquired for the specified cycles.

If the pattern is using the edge multiplier feature, cycle numbers represent tester cycles, each of which may consist of multiple DUT cycles. When using pins with mixed edge multipliers, pins may return PIN_STATE_NOT_ACQUIRED for DUT cycles where those pins do not have edges defined.

If pins are not specified, pin list from the pattern containing the start label is used. Call nidigital.Session.get_pattern_pin_list() or nidigital.Session.get_pattern_pin_indexes() with the start label to retrieve the pins associated with the pattern burst.

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].fetch_history_ram_cycle_information(site, position, samples_to_read)
Parameters:
  • site (str) – Site on which to retrieve History RAM data. Specify site as a string in the form of siteN, where N is the site number. The VI returns an error if more than one site is specified.
  • position (int) – Sample index from which to start fetching pattern information.
  • samples_to_read (int) – Number of samples to fetch. A value of -1 specifies to fetch all available samples.
Return type:

list of HistoryRAMCycleInformation

Returns:

Returns a list of class instances with the following information about each pattern cycle:

  • pattern_name (str) Name of the pattern for the acquired cycle.
  • time_set_name (str) Time set for the acquired cycle.
  • vector_number (int) Vector number within the pattern for the acquired cycle. Vector numbers start at 0 from the beginning of the pattern.
  • cycle_number (int) Cycle number acquired by this History RAM sample. Cycle numbers start at 0 from the beginning of the pattern burst.
  • scan_cycle_number (int) Scan cycle number acquired by this History RAM sample. Scan cycle numbers start at 0 from the first cycle of the scan vector. Scan cycle numbers are -1 for cycles that do not have a scan opcode.
  • expected_pin_states (list of list of enums.DigitalState) Pin states as expected by the loaded pattern in the order specified in the pin list. Pins without defined edges in the specified DUT cycle will have a value of PIN_STATE_NOT_ACQUIRED. Length of the outer list will be equal to the value of edge multiplier for the given vector. Length of the inner list will be equal to the number of pins requested.
  • actual_pin_states (list of list of enums.DigitalState) Pin states acquired by History RAM in the order specified in the pin list. Pins without defined edges in the specified DUT cycle will have a value of PIN_STATE_NOT_ACQUIRED. Length of the outer list will be equal to the value of edge multiplier for the given vector. Length of the inner list will be equal to the number of pins requested.
  • per_pin_pass_fail (list of list of bool) Pass fail information for pins in the order specified in the pin list. Pins without defined edges in the specified DUT cycle will have a value of pass (True). Length of the outer list will be equal to the value of edge multiplier for the given vector. Length of the inner list will be equal to the number of pins requested.

frequency_counter_measure_frequency

nidigital.Session.frequency_counter_measure_frequency()

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].frequency_counter_measure_frequency()
Return type:list of float
Returns:

get_channel_name

nidigital.Session.get_channel_name(index)

TBD

Parameters:index (int) –
Return type:str
Returns:

get_channel_name_from_string

nidigital.Session.get_channel_name_from_string(index)

TBD

Parameters:index (str) –
Return type:str
Returns:

get_fail_count

nidigital.Session.get_fail_count()

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].get_fail_count()
Return type:list of int
Returns:

get_history_ram_sample_count

nidigital.Session.get_history_ram_sample_count(site)

TBD

Parameters:site (str) –
Return type:int
Returns:

get_pattern_name

nidigital.Session.get_pattern_name(pattern_index)

TBD

Parameters:pattern_index (int) –
Return type:str
Returns:

get_pattern_pin_indexes

nidigital.Session.get_pattern_pin_indexes(start_label)

TBD

Parameters:start_label (str) –
Return type:list of int
Returns:

get_pattern_pin_list

nidigital.Session.get_pattern_pin_list(start_label)

TBD

Parameters:start_label (str) –
Return type:str
Returns:

get_pin_name

nidigital.Session.get_pin_name(pin_index)

TBD

Parameters:pin_index (int) –
Return type:str
Returns:

get_pin_results_pin_information

nidigital.Session.get_pin_results_pin_information()

Returns a list of named tuples (PinInfo) that <FILL IN THE BLANK HERE>

Fields in PinInfo:

  • pin_name (str)
  • site_number (int)
  • channel_name (str)

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].get_pin_results_pin_information()
Return type:list of PinInfo
Returns:List of named tuples with fields:
  • pin_name (str)
  • site_number (int)
  • channel_name (str)

get_site_pass_fail

nidigital.Session.get_site_pass_fail(site_list)

TBD

Parameters:site_list (str) –
Return type:list of bool
Returns:

get_site_results_site_numbers

nidigital.Session.get_site_results_site_numbers(site_list, site_result_type)

TBD

Parameters:
Return type:

list of int

Returns:

get_time_set_drive_format

nidigital.Session.get_time_set_drive_format(time_set)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].get_time_set_drive_format(time_set)
Parameters:time_set (str) –
Return type:int
Returns:

get_time_set_edge

nidigital.Session.get_time_set_edge(time_set, edge)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].get_time_set_edge(time_set, edge)
Parameters:
  • time_set (str) –
  • edge (int) –
Return type:

float

Returns:

get_time_set_edge_multiplier

nidigital.Session.get_time_set_edge_multiplier(time_set)

TBD

Tip

This method requires repeated capabilities (pins). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.pins[0,1].get_time_set_edge_multiplier(time_set)
Parameters:time_set (str) –
Return type:int
Returns:

get_time_set_name

nidigital.Session.get_time_set_name(time_set_index)

TBD

Parameters:time_set_index (int) –
Return type:str
Returns:

get_time_set_period

nidigital.Session.get_time_set_period(time_set)

TBD

Parameters:time_set (str) –
Return type:float
Returns:

initiate

nidigital.Session.initiate()

TBD

Note

This method will return a Python context manager that will initiate on entering and abort on exit.

is_done

nidigital.Session.is_done()

TBD

Return type:bool
Returns:

is_site_enabled

nidigital.Session.is_site_enabled(site)

TBD

Parameters:site (str) –
Return type:bool
Returns:

load_levels

nidigital.Session.load_levels(levels_file_path)

TBD

Parameters:levels_file_path (str) –

load_pattern

nidigital.Session.load_pattern(file_path)

TBD

Parameters:file_path (str) –

load_pin_map

nidigital.Session.load_pin_map(pin_map_file_path)

TBD

Parameters:pin_map_file_path (str) –

load_specifications

nidigital.Session.load_specifications(specifications_file_path)

TBD

Parameters:specifications_file_path (str) –

load_timing

nidigital.Session.load_timing(timing_file_path)

TBD

Parameters:timing_file_path (str) –

lock

nidigital.Session.lock()

Obtains a multithread lock on the device session. Before doing so, the software waits until all other execution threads release their locks on the device session.

Other threads may have obtained a lock on this session for the following reasons:

You can safely make nested calls to the nidigital.Session.lock() method within the same thread. To completely unlock the session, you must balance each call to the nidigital.Session.lock() method with a call to the nidigital.Session.unlock() method.

One method for ensuring there are the same number of unlock method calls as there is lock calls is to use lock as a context manager

with nidigital.Session('dev1') as session:
    with session.lock():
        # Calls to session within a single lock context

The first with block ensures the session is closed regardless of any exceptions raised

The second with block ensures that unlock is called regardless of any exceptions raised

Return type:context manager
Returns:When used in a with statement, nidigital.Session.lock() acts as a context manager and unlock will be called when the with block is exited

ppmu_measure

nidigital.Session.ppmu_measure(measurement_type)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].ppmu_measure(measurement_type)
Parameters:measurement_type (int) –
Return type:list of float
Returns:

ppmu_source

nidigital.Session.ppmu_source()

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].ppmu_source()

read_sequencer_flag

nidigital.Session.read_sequencer_flag(flag)

TBD

Parameters:flag (str) –
Return type:bool
Returns:

read_sequencer_register

nidigital.Session.read_sequencer_register(reg)

TBD

Parameters:reg (str) –
Return type:int
Returns:

read_static

nidigital.Session.read_static()

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].read_static()
Return type:list of int
Returns:

reset

nidigital.Session.reset()

TBD

reset_attribute

nidigital.Session.reset_attribute(attribute_id)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].reset_attribute(attribute_id)
Parameters:attribute_id (int) –

reset_device

nidigital.Session.reset_device()

TBD

self_calibrate

nidigital.Session.self_calibrate()

TBD

self_test

nidigital.Session.self_test()

TBD

send_software_edge_trigger

nidigital.Session.send_software_edge_trigger(trigger, trigger_identifier)

TBD

Parameters:
  • trigger (int) –
  • trigger_identifier (str) –

tdr

nidigital.Session.tdr(apply_offsets)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].tdr(apply_offsets)
Parameters:apply_offsets (bool) –
Return type:list of float
Returns:

unload_all_patterns

nidigital.Session.unload_all_patterns(unload_keep_alive_pattern)

TBD

Parameters:unload_keep_alive_pattern (bool) –

unload_specifications

nidigital.Session.unload_specifications(specifications_file_path)

TBD

Parameters:specifications_file_path (str) –

unlock

nidigital.Session.unlock()

Releases a lock that you acquired on an device session using nidigital.Session.lock(). Refer to nidigital.Session.unlock() for additional information on session locks.

wait_until_done

nidigital.Session.wait_until_done(timeout)

TBD

Parameters:timeout (float) –

write_sequencer_flag

nidigital.Session.write_sequencer_flag(flag, value)

TBD

Parameters:

write_sequencer_register

nidigital.Session.write_sequencer_register(reg, value)

TBD

Parameters:
  • reg (str) –
  • value (int) –

write_source_waveform_broadcast

nidigital.Session.write_source_waveform_broadcast(waveform_name, waveform_data)

TBD

Parameters:
  • waveform_name (str) –
  • waveform_data (list of int) –

write_source_waveform_data_from_file_tdms

nidigital.Session.write_source_waveform_data_from_file_tdms(waveform_name, waveform_file_path)

TBD

Parameters:
  • waveform_name (str) –
  • waveform_file_path (str) –

write_source_waveform_site_unique

nidigital.Session.write_source_waveform_site_unique(waveform_name, waveform_data)

TBD

Parameters:
  • waveform_name (str) –
  • waveform_data ({ site: data, site: data, .. }) – Dictionary where each key is the site number and the value is array.array of unsigned int

write_static

nidigital.Session.write_static(state)

TBD

Tip

This method requires repeated capabilities (channels). If called directly on the nidigital.Session object, then the method will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling this method on the result.:

session.channels[0,1].write_static(state)
Parameters:state (int) –

Repeated Capabilities

Repeated capabilities attributes are used to set the channel_string parameter to the underlying driver function call. This can be the actual function based on the Session method being called, or it can be the appropriate Get/Set Attribute function, such as niDigital_SetAttributeViInt32().

Repeated capbilities attributes use the indexing operator [] to indicate the repeated capabilities. The parameter can be a string, list, tuple, or slice (range). Each element of those can be a string or an integer. If it is a string, you can indicate a range using the same format as the driver: ‘0-2’ or ‘0:2’

Some repeated capabilities use a prefix before the number and this is optional

channels

nidigital.Session.channels[]
session.channels['0-2'].channel_enabled = True

passes a string of ‘0, 1, 2’ to the set attribute function.

pins

nidigital.Session.pins[]
session.pins['0-2'].channel_enabled = True

passes a string of ‘0, 1, 2’ to the set attribute function.

devices

nidigital.Session.devices[]
session.devices['0-2'].channel_enabled = True

passes a string of ‘0, 1, 2’ to the set attribute function.

pattern_opcode_events

nidigital.Session.pattern_opcode_events[]

If no prefix is added to the items in the parameter, the correct prefix will be added when the driver function call is made.

session.pattern_opcode_events['0-2'].channel_enabled = True

passes a string of ‘patternOpcodeEvent0, patternOpcodeEvent1, patternOpcodeEvent2’ to the set attribute function.

If an invalid repeated capability is passed to the driver, the driver will return an error.

You can also explicitly use the prefix as part of the parameter, but it must be the correct prefix for the specific repeated capability.

session.pattern_opcode_events['patternOpcodeEvent0-patternOpcodeEvent2'].channel_enabled = True

passes a string of ‘patternOpcodeEvent0, patternOpcodeEvent1, patternOpcodeEvent2’ to the set attribute function.

conditional_jump_triggers

nidigital.Session.conditional_jump_triggers[]

If no prefix is added to the items in the parameter, the correct prefix will be added when the driver function call is made.

session.conditional_jump_triggers['0-2'].channel_enabled = True

passes a string of ‘conditionalJumpTrigger0, conditionalJumpTrigger1, conditionalJumpTrigger2’ to the set attribute function.

If an invalid repeated capability is passed to the driver, the driver will return an error.

You can also explicitly use the prefix as part of the parameter, but it must be the correct prefix for the specific repeated capability.

session.conditional_jump_triggers['conditionalJumpTrigger0-conditionalJumpTrigger2'].channel_enabled = True

passes a string of ‘conditionalJumpTrigger0, conditionalJumpTrigger1, conditionalJumpTrigger2’ to the set attribute function.

Properties

active_load_ioh

nidigital.Session.active_load_ioh

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].active_load_ioh = var
var = session.channels[0,1].active_load_ioh

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_ACTIVE_LOAD_IOH

active_load_iol

nidigital.Session.active_load_iol

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].active_load_iol = var
var = session.channels[0,1].active_load_iol

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_ACTIVE_LOAD_IOL

active_load_vcom

nidigital.Session.active_load_vcom

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].active_load_vcom = var
var = session.channels[0,1].active_load_vcom

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_ACTIVE_LOAD_VCOM

cache

nidigital.Session.cache

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_CACHE

channel_count

nidigital.Session.channel_count

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_CHANNEL_COUNT

clock_generator_frequency

nidigital.Session.clock_generator_frequency

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].clock_generator_frequency = var
var = session.channels[0,1].clock_generator_frequency

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_CLOCK_GENERATOR_FREQUENCY

clock_generator_is_running

nidigital.Session.clock_generator_is_running

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

var = session.channels[0,1].clock_generator_is_running

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read only
Channel Based Yes
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_CLOCK_GENERATOR_IS_RUNNING

conditional_jump_trigger_terminal_name

nidigital.Session.conditional_jump_trigger_terminal_name

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

var = session.channels[0,1].conditional_jump_trigger_terminal_name

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based Yes
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_CONDITIONAL_JUMP_TRIGGER_TERMINAL_NAME

conditional_jump_trigger_type

nidigital.Session.conditional_jump_trigger_type

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].conditional_jump_trigger_type = var
var = session.channels[0,1].conditional_jump_trigger_type

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_CONDITIONAL_JUMP_TRIGGER_TYPE

cycle_number_history_ram_trigger_cycle_number

nidigital.Session.cycle_number_history_ram_trigger_cycle_number

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_CYCLE_NUMBER_HISTORY_RAM_TRIGGER_CYCLE_NUMBER

digital_edge_conditional_jump_trigger_edge

nidigital.Session.digital_edge_conditional_jump_trigger_edge

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].digital_edge_conditional_jump_trigger_edge = var
var = session.channels[0,1].digital_edge_conditional_jump_trigger_edge

The following table lists the characteristics of this property.

Characteristic Value
Datatype enums.DigitalEdge
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_DIGITAL_EDGE_CONDITIONAL_JUMP_TRIGGER_EDGE

digital_edge_conditional_jump_trigger_source

nidigital.Session.digital_edge_conditional_jump_trigger_source

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].digital_edge_conditional_jump_trigger_source = var
var = session.channels[0,1].digital_edge_conditional_jump_trigger_source

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_DIGITAL_EDGE_CONDITIONAL_JUMP_TRIGGER_SOURCE

digital_edge_start_trigger_edge

nidigital.Session.digital_edge_start_trigger_edge

The following table lists the characteristics of this property.

Characteristic Value
Datatype enums.DigitalEdge
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_DIGITAL_EDGE_START_TRIGGER_EDGE

digital_edge_start_trigger_source

nidigital.Session.digital_edge_start_trigger_source

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_DIGITAL_EDGE_START_TRIGGER_SOURCE

driver_setup

nidigital.Session.driver_setup

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_DRIVER_SETUP

exported_conditional_jump_trigger_output_terminal

nidigital.Session.exported_conditional_jump_trigger_output_terminal

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].exported_conditional_jump_trigger_output_terminal = var
var = session.channels[0,1].exported_conditional_jump_trigger_output_terminal

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_EXPORTED_CONDITIONAL_JUMP_TRIGGER_OUTPUT_TERMINAL

exported_pattern_opcode_event_output_terminal

nidigital.Session.exported_pattern_opcode_event_output_terminal

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].exported_pattern_opcode_event_output_terminal = var
var = session.channels[0,1].exported_pattern_opcode_event_output_terminal

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_EXPORTED_PATTERN_OPCODE_EVENT_OUTPUT_TERMINAL

exported_start_trigger_output_terminal

nidigital.Session.exported_start_trigger_output_terminal

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_EXPORTED_START_TRIGGER_OUTPUT_TERMINAL

frequency_counter_measurement_time

nidigital.Session.frequency_counter_measurement_time

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].frequency_counter_measurement_time = var
var = session.channels[0,1].frequency_counter_measurement_time

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_FREQUENCY_COUNTER_MEASUREMENT_TIME

group_capabilities

nidigital.Session.group_capabilities

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_GROUP_CAPABILITIES

halt_on_keep_alive_opcode

nidigital.Session.halt_on_keep_alive_opcode

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_HALT_ON_KEEP_ALIVE_OPCODE

history_ram_buffer_size_per_site

nidigital.Session.history_ram_buffer_size_per_site

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_HISTORY_RAM_BUFFER_SIZE_PER_SITE

history_ram_cycles_to_acquire

nidigital.Session.history_ram_cycles_to_acquire

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_HISTORY_RAM_CYCLES_TO_ACQUIRE

history_ram_max_samples_to_acquire_per_site

nidigital.Session.history_ram_max_samples_to_acquire_per_site

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_HISTORY_RAM_MAX_SAMPLES_TO_ACQUIRE_PER_SITE

history_ram_number_of_samples_is_finite

nidigital.Session.history_ram_number_of_samples_is_finite

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_HISTORY_RAM_NUMBER_OF_SAMPLES_IS_FINITE

history_ram_pretrigger_samples

nidigital.Session.history_ram_pretrigger_samples

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_HISTORY_RAM_PRETRIGGER_SAMPLES

history_ram_trigger_type

nidigital.Session.history_ram_trigger_type

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_HISTORY_RAM_TRIGGER_TYPE

instrument_firmware_revision

nidigital.Session.instrument_firmware_revision

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

var = session.channels[0,1].instrument_firmware_revision

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based Yes
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_INSTRUMENT_FIRMWARE_REVISION

instrument_manufacturer

nidigital.Session.instrument_manufacturer

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_INSTRUMENT_MANUFACTURER

instrument_model

nidigital.Session.instrument_model

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_INSTRUMENT_MODEL

interchange_check

nidigital.Session.interchange_check

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_INTERCHANGE_CHECK

io_resource_descriptor

nidigital.Session.io_resource_descriptor

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_IO_RESOURCE_DESCRIPTOR

is_keep_alive_active

nidigital.Session.is_keep_alive_active

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_IS_KEEP_ALIVE_ACTIVE

logical_name

nidigital.Session.logical_name

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_LOGICAL_NAME

mask_compare

nidigital.Session.mask_compare

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].mask_compare = var
var = session.channels[0,1].mask_compare

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_MASK_COMPARE

pattern_label_history_ram_trigger_cycle_offset

nidigital.Session.pattern_label_history_ram_trigger_cycle_offset

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PATTERN_LABEL_HISTORY_RAM_TRIGGER_CYCLE_OFFSET

pattern_label_history_ram_trigger_label

nidigital.Session.pattern_label_history_ram_trigger_label

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PATTERN_LABEL_HISTORY_RAM_TRIGGER_LABEL

pattern_label_history_ram_trigger_vector_offset

nidigital.Session.pattern_label_history_ram_trigger_vector_offset

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PATTERN_LABEL_HISTORY_RAM_TRIGGER_VECTOR_OFFSET

pattern_opcode_event_terminal_name

nidigital.Session.pattern_opcode_event_terminal_name

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

var = session.channels[0,1].pattern_opcode_event_terminal_name

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based Yes
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PATTERN_OPCODE_EVENT_TERMINAL_NAME

ppmu_allow_extended_voltage_range

nidigital.Session.ppmu_allow_extended_voltage_range

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_allow_extended_voltage_range = var
var = session.channels[0,1].ppmu_allow_extended_voltage_range

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_ALLOW_EXTENDED_VOLTAGE_RANGE

ppmu_aperture_time

nidigital.Session.ppmu_aperture_time

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_aperture_time = var
var = session.channels[0,1].ppmu_aperture_time

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_APERTURE_TIME

ppmu_aperture_time_units

nidigital.Session.ppmu_aperture_time_units

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_aperture_time_units = var
var = session.channels[0,1].ppmu_aperture_time_units

The following table lists the characteristics of this property.

Characteristic Value
Datatype enums.ApertureTimeUnits
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_APERTURE_TIME_UNITS

ppmu_current_level

nidigital.Session.ppmu_current_level

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_current_level = var
var = session.channels[0,1].ppmu_current_level

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_CURRENT_LEVEL

ppmu_current_level_range

nidigital.Session.ppmu_current_level_range

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_current_level_range = var
var = session.channels[0,1].ppmu_current_level_range

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_CURRENT_LEVEL_RANGE

ppmu_current_limit

nidigital.Session.ppmu_current_limit

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_current_limit = var
var = session.channels[0,1].ppmu_current_limit

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_CURRENT_LIMIT

ppmu_current_limit_behavior

nidigital.Session.ppmu_current_limit_behavior

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_current_limit_behavior = var
var = session.channels[0,1].ppmu_current_limit_behavior

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_CURRENT_LIMIT_BEHAVIOR

ppmu_current_limit_range

nidigital.Session.ppmu_current_limit_range

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_current_limit_range = var
var = session.channels[0,1].ppmu_current_limit_range

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_CURRENT_LIMIT_RANGE

ppmu_current_limit_supported

nidigital.Session.ppmu_current_limit_supported

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

var = session.channels[0,1].ppmu_current_limit_supported

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read only
Channel Based Yes
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_CURRENT_LIMIT_SUPPORTED

ppmu_output_function

nidigital.Session.ppmu_output_function

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_output_function = var
var = session.channels[0,1].ppmu_output_function

The following table lists the characteristics of this property.

Characteristic Value
Datatype enums.PPMUOutputFunction
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_OUTPUT_FUNCTION

ppmu_voltage_level

nidigital.Session.ppmu_voltage_level

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_voltage_level = var
var = session.channels[0,1].ppmu_voltage_level

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_VOLTAGE_LEVEL

ppmu_voltage_limit_high

nidigital.Session.ppmu_voltage_limit_high

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_voltage_limit_high = var
var = session.channels[0,1].ppmu_voltage_limit_high

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_VOLTAGE_LIMIT_HIGH

ppmu_voltage_limit_low

nidigital.Session.ppmu_voltage_limit_low

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].ppmu_voltage_limit_low = var
var = session.channels[0,1].ppmu_voltage_limit_low

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_PPMU_VOLTAGE_LIMIT_LOW

query_instrument_status

nidigital.Session.query_instrument_status

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_QUERY_INSTRUMENT_STATUS

range_check

nidigital.Session.range_check

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_RANGE_CHECK

record_coercions

nidigital.Session.record_coercions

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_RECORD_COERCIONS

selected_function

nidigital.Session.selected_function

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].selected_function = var
var = session.channels[0,1].selected_function

The following table lists the characteristics of this property.

Characteristic Value
Datatype enums.SelectedFunction
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SELECTED_FUNCTION

sequencer_flag_terminal_name

nidigital.Session.sequencer_flag_terminal_name

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SEQUENCER_FLAG_TERMINAL_NAME

serial_number

nidigital.Session.serial_number

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SERIAL_NUMBER

simulate

nidigital.Session.simulate

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SIMULATE

specific_driver_class_spec_major_version

nidigital.Session.specific_driver_class_spec_major_version

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION

specific_driver_class_spec_minor_version

nidigital.Session.specific_driver_class_spec_minor_version

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION

specific_driver_description

nidigital.Session.specific_driver_description

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SPECIFIC_DRIVER_DESCRIPTION

specific_driver_prefix

nidigital.Session.specific_driver_prefix

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SPECIFIC_DRIVER_PREFIX

specific_driver_revision

nidigital.Session.specific_driver_revision

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SPECIFIC_DRIVER_REVISION

specific_driver_vendor

nidigital.Session.specific_driver_vendor

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SPECIFIC_DRIVER_VENDOR

start_label

nidigital.Session.start_label

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_START_LABEL

start_trigger_terminal_name

nidigital.Session.start_trigger_terminal_name

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_START_TRIGGER_TERMINAL_NAME

start_trigger_type

nidigital.Session.start_trigger_type

The following table lists the characteristics of this property.

Characteristic Value
Datatype int
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_START_TRIGGER_TYPE

supported_instrument_models

nidigital.Session.supported_instrument_models

The following table lists the characteristics of this property.

Characteristic Value
Datatype str
Permissions read only
Channel Based No
Resettable No

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_SUPPORTED_INSTRUMENT_MODELS

tdr_endpoint_termination

nidigital.Session.tdr_endpoint_termination

The following table lists the characteristics of this property.

Characteristic Value
Datatype enums.TDREndpointTermination
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_TDR_ENDPOINT_TERMINATION

tdr_offset

nidigital.Session.tdr_offset

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].tdr_offset = var
var = session.channels[0,1].tdr_offset

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_TDR_OFFSET

termination_mode

nidigital.Session.termination_mode

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].termination_mode = var
var = session.channels[0,1].termination_mode

The following table lists the characteristics of this property.

Characteristic Value
Datatype enums.TerminationMode
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_TERMINATION_MODE

timing_absolute_delay

nidigital.Session.timing_absolute_delay

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_TIMING_ABSOLUTE_DELAY

timing_absolute_delay_enabled

nidigital.Session.timing_absolute_delay_enabled

The following table lists the characteristics of this property.

Characteristic Value
Datatype bool
Permissions read-write
Channel Based No
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_TIMING_ABSOLUTE_DELAY_ENABLED

vih

nidigital.Session.vih

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].vih = var
var = session.channels[0,1].vih

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_VIH

vil

nidigital.Session.vil

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].vil = var
var = session.channels[0,1].vil

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_VIL

voh

nidigital.Session.voh

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].voh = var
var = session.channels[0,1].voh

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_VOH

vol

nidigital.Session.vol

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].vol = var
var = session.channels[0,1].vol

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_VOL

vterm

nidigital.Session.vterm

Tip

This property can use repeated capabilities (channels). If set or get directly on the nidigital.Session object, then the set/get will use all repeated capabilities in the session. You can specify a subset of repeated capabilities using the Python index notation on an nidigital.Session repeated capabilities container, and calling set/get value on the result.:

session.channels[0,1].vterm = var
var = session.channels[0,1].vterm

The following table lists the characteristics of this property.

Characteristic Value
Datatype float
Permissions read-write
Channel Based Yes
Resettable Yes

Tip

This property corresponds to the following LabVIEW Property or C Attribute:

  • C Attribute: NIDIGITAL_ATTR_VTERM

NI-TClk Support

nidigital.Session.tclk

This is used to get and set NI-TClk attributes on the session.

See also

See nitclk.SessionReference for a complete list of attributes.

Session