05-22-2017 01:57 PM
Can somebody please point me to an example (C#) of detecting the TC-01 USB being plugged into the computer. I have a program that monitors the temperature and reports it with the test data for each test. If the thermocouple throws an exception when it is instantiated I try to get out gracefully. But if the user then finds the usb and plugs it in, how can I detect that? I would think I have to subscribe to windows events then check for a thermocouple.
I do not use LabView. Its just straight C#.
Thank you,
05-24-2017 04:51 AM
i think these examples will help u to check if your device connected to the PC
https://stackoverflow.com/questions/3331043/get-list-of-connected-usb-devices