drdaq_apply_fix

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





PostPosted: Thu Feb 03, 2005 11:59 pm    Post subject: drdaq_apply_fix Reply with quote

Hello,

I'm trying to set the temperature units to Fahrenheit on my drdaq, code is in .NET so I have an import as follows:

[DllImport("drdaq32.dll")]
private static extern void drdaq_apply_fix (short fix_no, short val);

I'm passing in 1 for the fix_no, and 1 for the val as documented in the help file so I'm basically calling function drdaq_apply_fix(1,1), but units are still Celcius. What could I be doing wrong?

Thank you,

Deniz
Back to top
Sarah
Guest





PostPosted: Mon Feb 07, 2005 10:38 am    Post subject: Reply with quote

Hi

Thank you for your post.

Having checked the DrDAQ driver we have established that the documentation is incorrect. It should be fix no 0 for temperature and fix values 2 for Fahrenhiet.

Hope this helps

Best Regards
Back to top
Guest






PostPosted: Tue Feb 08, 2005 3:57 pm    Post subject: Reply with quote

Sarah wrote:
Hi

Thank you for your post.

Having checked the DrDAQ driver we have established that the documentation is incorrect. It should be fix no 0 for temperature and fix values 2 for Fahrenhiet.

Hope this helps

Best Regards


Thanks for the response,
fix_no = 0 worked great..
But it seems like value should be 0 for C, 1 for F, 2 for K as in the manual.

Regards

deniz
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