PT-104

Post general discussions on using our drivers to write your own software here
Post Reply
Boaz

PT-104

Post by Boaz »

Hello,

I've been trying to "get value" from the Pico:

Code: Select all

             Do
                 For tmp = 0 To 999999
                 Next
                            ok = pt104_get_value(Temp, pt104port, 1, False)
                If ok > 0 Then
                    txtTemp.Text = Str(Temp / 1000)
                Else
                    txtTemp.Text = "****"
                End If

                txtDate.Text() = Format(Now, "dd MMM yyyy")
                txtTime.Text() = Format(Now, "HH:mm:ss")
                System.Windows.Forms.Application.DoEvents()
            Loop While (btnStart.Enabled = False)
The problem is that the Temperature measurements are delayed by about a minute. How can I eliminate this issue and recieve updated measurements during sampling.
I think the source of the problem is that if the program doesn't call for "pt104_get_value" it sends unupdated values.
How can I address this problem?

Thanks in advance.

Sarah

Post by Sarah »

Hi

Thank you for your post.

Are you using our example? I would recommend looking at our example as this might help you in building your own. You can download it from:

http://www.picotech.com/software

Hope this helps

Best Regards

Post Reply