|
|
| Author |
Message |
den Guest
|
Posted: Thu Feb 03, 2005 11:59 pm Post subject: drdaq_apply_fix |
|
|
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
|
Posted: Mon Feb 07, 2005 10:38 am Post subject: |
|
|
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
|
Posted: Tue Feb 08, 2005 3:57 pm Post subject: |
|
|
| 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 |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|