Test and Measurement Forum

PT-104

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

PT-104

Postby Boaz » Mon Jul 11, 2005 3:27 pm

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.
Code: Select all
Code: Select all
Boaz
 

Postby Sarah » Wed Jul 13, 2005 12:48 pm

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
Sarah
 


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 1 guest