nLabs-nScope / nScopeAPI

39 stars 9 forks source link

release request after read in the simple API #21

Open kwsp opened 2 years ago

kwsp commented 2 years ago

I came across https://github.com/nLabs-nScope/nScopeAPI/issues/16 in a project recently, and after digging through the C api found that you have to release the request after use, causing the API to hang after 256 calls of the read API. I suspect that many students will use the simple read API (readCh1, 'readCh2', ...) when first using the nScope, so it'll be nice to add this fix to that interface so their programs won't hang.