Skip to content

Simplify nidcpower, nifgen event configuration #859

@marcoskirsch

Description

@marcoskirsch

Zen of Python:

Simple is better than complex.

NI-FGEN (and to a lesser degree NI-DCPower) provides a lot of configurability for triggers and events. You can change polarity, play with pulse width, set them as level instead of pulses... It's extremely rare to configure these and it's also not supported by the "latest and greatest" NI-FGEN device family 54x3.

For those reasons, we should remove the properties for all events:

  • event_level_active_level
  • event_output_behavior
  • event_pulse_polarity
  • event_pulse_width
  • event_pulse_width_units
  • event_toggle_initial_state
  • event_live_status
  • event_latched_status
  • event_delay
  • event_delay_units

Keep:

  • event_output_terminal

For debate:

  • nidcpower.Session.measure_complete_event_delay: Is there still a reason to keep this around?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions