-------------------------------------------------------------------------
ArgumentError Traceback (most recent call last)
<ipython-input-5-0626f0ea1e5b> in <module>()
72
73 daqmx.RegisterEveryNSamplesEvent(AItaskHandle,daqmx.Val_Acquired_Into_Buffer,
---> 74 buffsize, 0, EveryNCallback, id_data)
75
76
C:\Anaconda3\lib\site-packages\daqmx\core.py in RegisterEveryNSamplesEvent(taskHandle, everyNsamplesEventType, nSamples, options, callbackFunction, callbackData)
406 rv = dmx.DAQmxRegisterEveryNSamplesEvent(taskHandle,
407 int32(everyNsamplesEventType), uInt32(nSamples), uInt32(options),
--> 408 callbackFunction, callbackData)
409 ErrorHandling(rv)
410
ArgumentError: argument 6: <class 'OverflowError'>: int too long to convert
after fixing the statements i get the following error: