Skip to content

Commit

Permalink
example: reset source channel in nidcpower with mux measurement (#696)
Browse files Browse the repository at this point in the history
* example: reset source channel in nidcpower with multiplexer measurement (#696)
---------

Signed-off-by: Jayaseelan-James <jayaseelan.james@ni.com>
  • Loading branch information
jayaseelan-james authored Apr 17, 2024
1 parent 1a61335 commit 31040cf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ def measure(

measurement: _Measurement = source_channel.measure_multiple()[0]

# Reset the channel to a known state
source_channel.reset()

# Disconnect the connected route.
connection.multiplexer_session.disconnect_multiple(connection.multiplexer_route)
connection.multiplexer_session.wait_for_debounce()
Expand Down

0 comments on commit 31040cf

Please sign in to comment.