RH-02 & COM

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






PostPosted: Thu Oct 09, 2003 1:53 pm    Post subject: RH-02 & COM Reply with quote

Hi, I need a couple of tips:

I'm able to read the values from the sample Delphi program, but I'm having difficulties with my COM App.

rh02_open_unit returns TRUE, but rh02_get_value returns FALSE

How can I debug the rh02_get_value function?

Regards,
Ole Ivar Gundersen
Back to top
markspencer
Site Admin
Site Admin


Joined: 07 May 2003
Posts: 610

PostPosted: Fri Oct 10, 2003 7:17 am    Post subject: Reply with quote

Hi,

It is not possible to debug the function get_value, since the .dll is in compiled format.

When you first call the RH-02 you will get false returned for a couple of seconds until the first correct temperature reading is produced.

You could try using get cycle to find out if a new set of readings have been taken.

Try the RH-02 on with Picolog to check that the unit is connecting and giving values in this application.

Best regards,
Back to top
Guest






PostPosted: Fri Oct 10, 2003 8:20 am    Post subject: Reply with quote

Hi, Mark

Thanx.

I added a Sleep(500) after opening the RH-02 and now it seems to be working.

Ole I.
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