PT-104

 
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
Author Message
Boaz
Guest





PostPosted: Mon Jul 11, 2005 3:27 pm    Post subject: PT-104 Reply with quote

Hello,

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

Code:

             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:
Code:
Back to top
Sarah
Guest





PostPosted: Wed Jul 13, 2005 12:48 pm    Post subject: Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> General Software Discussions
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group