How to use the nitclk.initiate function in nitclk

To help you get started, we’ve selected a few nitclk examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ni / nimi-python / src / nitclk / system_tests / tests_system_nitclk.py View on Github external
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)
github ni / nimi-python / generated / nitclk / nitclk / unit_tests / test_nitclk.py View on Github external
def test_initialize_one_session(self):
        self.patched_library.niTClk_Initiate.side_effect = self.side_effects_helper.niTClk_Initiate
        nitclk.initiate(single_session_reference)
        self.patched_library.niTClk_Initiate.assert_called_once_with(_matchers.ViUInt32Matcher(len(single_session)), _matchers.ViSessionBufferMatcher(single_session))
        return
github ni / nimi-python / src / nitclk / system_tests / tests_system_nitclk.py View on Github external
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)
github ni / nimi-python / src / nitclk / system_tests / tests_system_nitclk.py View on Github external
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)
github ni / nimi-python / generated / nitclk / nitclk / unit_tests / test_nitclk.py View on Github external
def test_initialize_multiple_sessions(self):
        self.patched_library.niTClk_Initiate.side_effect = self.side_effects_helper.niTClk_Initiate
        nitclk.initiate(multiple_session_references)
        self.patched_library.niTClk_Initiate.assert_called_once_with(_matchers.ViUInt32Matcher(len(multiple_sessions)), _matchers.ViSessionBufferMatcher(multiple_sessions))
        return