I'm looking at your USB TC-08 sample for LabVIEW.
I would like to know if you are planning to make a sample
using much more encapsulated VIs and if you plan to make real instrument driver (not just a sample that call a DLL)

on your usbtc08.vi sometimes (several times) I get the following error message "TC-08 Not Opened"

Even if I unplug, connect the TC-08 it always fails...
The only way to get the labview sample running again is to open PicoLog recorder (which doesn't found the unit), enumerate device, found the device and to close PicoLog.
After doing this, your labview sample works again.

If I stop using the Labview stop button (instead of the front panel stop button) I know that I won't be able to reconnect to TC-08... This is (in my mind) a problem. The only way to solve it is to use Pico software (which is not a good idea in my case... even deconnecting/reconnecting the device doesn't solve the problem)
Of course, "clean" stopping the device is better.
But clean starting it (in the TC-08 firmware or in the Labview code) could solve this problem

tc_type Specifies what type of thermocouple is connected to this
channel. Set to one of the following characters: 'B', 'E', 'J',
'K', 'N', 'R', 'S', 'T.' Use a space in quotes to disable the
channel. Voltage readings can be obtained by passing 'X' as
the character.

If I have a look at the ASCII table 'K'=75 but 'k'=107 (in decimal)
But in your sample there is 107 not 75.

Can you confirm me that is doesn't mind about using lower case or upper case ?

I would like to know if you plan to make the "encapsulated" vi I'm looking for because we will consider buying other TC-08 (at least 2 others) if you do it. If you don't we will have a look at something else. But I really think that working hard on it will be the first step to improve all your LabVIEW drivers.

Using your samples can't be done really in production... the only way to do it will be to use a global variable inside your loop and to read the global variable inside our calculate loop.

The user should avoid using the abort button because the device will not be closed. The following is from the LabVIEW documentation:

"The Abort Execution button stops the VI immediately, before the VI finishes the current iteration. Aborting a VI that uses external resources, such as external hardware, might leave the resources in an unknown state by not resetting or releasing them properly. Design VIs with a stop button to avoid this problem"

To use more than one TC-08, all you need to do is call the open function twice. Each call will return a handle to one of the units.

This VI was created by a customer. I haven't looked at it as it was created in LV 8.5. It might be useful though.

you say me to use open function twice... but is there a way to identify the unit because I have to measure 10 temperatures
The 5 first one are measured using the first unit
The 5 others will be measured using the second one.

If you make an other VI sample you should hide the STOP/Abord general LabVIEW button using this
http://zone.ni.com/reference/en-XX/help ... arance_db/So user can only use your STOP button that close connection with the hardware.
The customer sample you provide me before use such a trick.

I'm sorry but I'm trying to get info using one of the following function
- usb_get_unit_info
I made a LabVIEW cluster (sort of struct) that could contain a USBTC08_INFO struct.
I call the dll but my cluster still have "0" values

- usb_get_formatted_info
I thought that using this function could easier.
but I get the same result !