usb_tc08_close_unit and PinnedArray

Post your .Net discussions here
Post Reply
Posts: 0
Joined: Fri Jun 28, 2019 1:34 pm

usb_tc08_close_unit and PinnedArray

Post by AbnViso »

Hi Forum,

I have some coding running that can open a connection to a TC08 and then you can start logging using stream mode.
But when I stop streaming and close the device using usb_tc08_close_unit it returns 0 and if I try to call usb_tc08_get_last_error with handle 1 I get invalid handle.

But if I open a connection to a device and then close it again without starting a stream it closes just fine with a returned 1

Can someone please help?

Another question that may be related. In the Demo from GitHub they are using a class PinnedArray is this strictly needed?

Post Reply