Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing nidcpower.session into output voltage measurement #399

Merged
merged 3 commits into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/output_voltage_measurement/measurement.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import grpc
import hightime
import nidcpower
import nidcpower.session
import pyvisa
from _constants import USE_SIMULATION
from _helpers import (
Expand Down Expand Up @@ -182,7 +183,7 @@ def _get_session_info_for_pin(

def _wait_for_source_complete_event(
measurement_service: nims.MeasurementService,
channels: nidcpower._SessionBase,
channels: nidcpower.session._SessionBase,
cancellation_event: threading.Event,
) -> None:
deadline = time.time() + measurement_service.context.time_remaining
Expand Down