I'm using (trying to use ) the PT104 data logger to get temperatures from 3 PT100 probes. My program is in VB.NET and I'm using the provided dll.
When I use the pt104_open_unit function, I always get something returned, even when testing another com port. The driver information says that 'TRUE' is return when the driver successfully opens the PT-104. I'm using the following declaration :
- Code: Select all
Declare Function pt104_open_unit Lib "pt10432.DLL" (ByVal Port As Integer) As Integer
(I get the same result when I try to return a Boolean).
I've got the same problem when I'm setting up the channels with pt104_set_channels : I always got 1 (or TRUE) returned.
I know that the PT-104 is working since I got a temperature reading, but I need to check whether the logger is connected, as well as the probes.