original_docstring: 
      Toggle a setting on the device: If it's enabled, disable the setting, and
      vice versa.
      
docstring: Toggle a setting on the device: If it's enabled, disable the setting, and
  vice versa.
docstring_tokens: Toggle a setting on the device : If it ' s enabled disable the setting and vice versa .
code: def toggle_device_setting(daq, device):
      """
      Toggle a setting on the device: If it's enabled, disable the setting, and
      vice versa.
      """
      path = "/%s/sigouts/0/on" % device
      is_enabled = daq.getInt(path)
      print(f"Toggling setting '{path}'.")
      daq.setInt(path, not is_enabled)
      daq.sync()
code_tokens: def toggle_device_setting ( daq , device ) : path = "/%s/sigouts/0/on" % device is_enabled = daq . getInt ( path ) print ( f"Toggling setting '{path}'." ) daq . setInt ( path , not is_enabled ) daq . sync ( )
short_docstring: Toggle a setting on the device: If it's enabled, disable the setting, and
  vice versa.
short_docstring_tokens: Toggle a setting on the device : If it ' s enabled disable the setting and vice versa .
comment: """
      Toggle a setting on the device: If it's enabled, disable the setting, and
      vice versa.
      """