|
|
| Author |
Message |
Boaz Guest
|
Posted: Mon Jul 11, 2005 3:27 pm Post subject: PT-104 |
|
|
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. |
|
| Back to top |
|
 |
Sarah Guest
|
Posted: Wed Jul 13, 2005 12:48 pm Post subject: |
|
|
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 |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|