Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def niScope_FetchBinary32(self, vi, channel_list, timeout, num_samples, waveform, wfm_info): # noqa: N802
with self._func_lock:
if self.niScope_FetchBinary32_cfunc is None:
self.niScope_FetchBinary32_cfunc = self._library.niScope_FetchBinary32
self.niScope_FetchBinary32_cfunc.argtypes = [ViSession, ctypes.POINTER(ViChar), ViReal64, ViInt32, ctypes.POINTER(ViInt32), ctypes.POINTER(waveform_info.struct_niScope_wfmInfo)] # noqa: F405
self.niScope_FetchBinary32_cfunc.restype = ViStatus # noqa: F405
return self.niScope_FetchBinary32_cfunc(vi, channel_list, timeout, num_samples, waveform, wfm_info)