Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_nitclk_wait_until_done(multiple_niscope_sessions):
nitclk.configure_for_homogeneous_triggers(multiple_niscope_sessions)
nitclk.synchronize(multiple_niscope_sessions, .001)
nitclk.initiate(multiple_niscope_sessions)
nitclk.wait_until_done(multiple_niscope_sessions, .001)
def test_configure_for_homogeneous_triggers(self):
self.patched_library.niTClk_ConfigureForHomogeneousTriggers.side_effect = self.side_effects_helper.niTClk_ConfigureForHomogeneousTriggers
nitclk.configure_for_homogeneous_triggers(multiple_session_references)
self.patched_library.niTClk_ConfigureForHomogeneousTriggers.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions))
return
def test_nitclk_initiate(multiple_niscope_sessions):
nitclk.configure_for_homogeneous_triggers(multiple_niscope_sessions)
nitclk.synchronize(multiple_niscope_sessions, .001)
nitclk.initiate(multiple_niscope_sessions)
def test_nitclk_synchronize(multiple_niscope_sessions):
nitclk.configure_for_homogeneous_triggers(multiple_niscope_sessions)
nitclk.synchronize(multiple_niscope_sessions, .001)
def test_nitclk_sync_pulse_sender_synchronize(multiple_niscope_sessions):
nitclk.configure_for_homogeneous_triggers(multiple_niscope_sessions)
nitclk.setup_for_sync_pulse_sender_synchronize(multiple_niscope_sessions, .001)
nitclk.synchronize_to_sync_pulse_sender(multiple_niscope_sessions, .001)
nitclk.finish_sync_pulse_sender_synchronize(multiple_niscope_sessions, .001)
def test_nitclk_is_done(multiple_niscope_sessions):
nitclk.configure_for_homogeneous_triggers(multiple_niscope_sessions)
nitclk.synchronize(multiple_niscope_sessions, .001)
nitclk.initiate(multiple_niscope_sessions)
nitclk.is_done(multiple_niscope_sessions)
def test_nitclk_configure_for_homogeneous_triggers(multiple_niscope_sessions):
nitclk.configure_for_homogeneous_triggers(multiple_niscope_sessions)