I found some strange informations in your datasheet.
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
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 ?
You should make a sub-vi with 1 input : enum(B, E, J, K, N, R, S, T, Voltage, Disable) and 1 ouput : tc_type value.
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.
- (12.46 KiB) Downloaded 212 times