I have checked and we currently don't have C# for the PT104, and as yet I haven't put together a sample for anyone. However we do have code for the CM3 which uses the same driver model so check out the sdk for that device and you may find some useful code.
We have developed a full software for reading the four channels of PT-104.
Ch1 and 2 will be used for Temperature logging. We have inserted a lookup table of the PRTs for temperature lookup from resistance. This is working absolutely fine.
Ch3 and 4 will be used for pressure logging. This is giving problem.
Please see the attached file, highlighted reading of Ch4 (Discharge Pressure). Every few seconds, it is giving faulty readings. Similarly, Ch3 is also giving faulty reading.
The maximum voltage which PT104 can sense is 2.5V, but it is returning a value of 42.5xxxxxx Volts, because of which, the pressure is getting calculated wrongly.
I am using pressure transmitter which has linear relationship between pressure (bar) and Voltage. (P = m * V + C)
Is there any problem in the SDK for voltage reading? Your help would be appreciated.
It is to be noted that I am not getting faulty voltages in any channel in Picolog Recorder. I am only getting faulty readings when using my own software.
When you get the strange readings can you check what the return code is from the UsbPt104GetValue function call as this may give an indication of the problem.