Check if TC-08 is still connected ?

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

Check if TC-08 is still connected ?

Post by AbnViso » Wed Jul 03, 2019 2:38 pm

Hi Forum,

PicoLog, has the ability to check which device is still connected. BUT HOW ? :D

Let's say I have two TC-08 connected and have runned TC08OpenUnit() for both and have the handle for both.

If I then pull the USB on one of them, how do I check which one is still connected ?

Running TC08OpenUnit will return 0, because the unit that is still connected is already open.

Any suggestions ?

Posts: 99
Joined: Tue Jul 18, 2017 8:28 am

Re: Check if TC-08 is still connected ?

Post by NeilH » Mon Jul 08, 2019 7:00 am


You could call usb_tc08_get_unit_info which will return a 0 if there is an error (such as the device being disconnected) once you've pulled the USB out of the device if you try to call it on that device or you could call this function once you've connected to the TC-08 and get the serial number of each device by calling it once with each handle then you will know which handle is no longer available after disconnecting the USB without needing to call an extra function after the event.

Technical Support Engineer

Post Reply